Command Line Reference Guide

158 vFoglight
Command-Line Reference Guide
assign one or more topology objects that are specified either by their IDs or using a
topology query. Blacking out a topology object means that no rules analyze that object
for the duration of the blackout. This command can make use of topology queries to
retrieve one or more object instances which allows you to automate blackouts (for
example, cron-driven changes in blackout policies). For complete information on how
to write a topology query, see the Administration and Configuration Guide.
Scope
topology
Syntax
fglcmd connection_options -cmd topology:blackoutobject
{-object object_ID|-query query} {-schedule schedule_ID|
-schedulename schedule_name} [-remove]
Options and arguments
Example
C:\Vizioncore\vFoglight\bin>fglcmd -usr foglight -pwd foglight
Option Argument Description
object
object_ID Identifies the topology object.
query
query Contains the topology query that specifies a
topology object. Typically, a topology query
specifies topology types and object names as
parameters to retrieve one or more object
instances. For full syntax information, see the
Administration and Configuration Guide.
remove
None Indicates that the specified schedule should be
removed from one or more specified objects.
schedule
schedule_ID Identifies the blackout schedule. To find out
the ID for a schedule, use the list command.
For more information, see “list” on page 159.
schedulename
schedule_name Specifies the schedule name.