deployment
deployment-name
|
Specifies
the VM deployment name.
|
vm_group
vm-group-name
|
Specifies
the VM group name.
|
bootup_time value
|
Specifies
the VM bootup time. Bootup time can vary depending on the VM image that you
have selected. For example, bootup time is 600 seconds for a Cisco ISRv image.
If no monitoring is required for the VM, set the bootup time as -1.
Note
|
A
monitored VM must have a valid bootup time. The corresponding KPI fields are
mandatory for the monitored VM. For an unmonitored VM, the KPI fields are
optional.
|
|
image image-name
|
Specifies
the image name that was used for registering. The image must be in ACTIVE
state.
|
flavor flavor-name
|
Specifies
the flavor name. The flavor must be in ACTIVE state.
|
interfaces interface
nicid
|
Specifies
the virtual interface ID.
Note
|
At
least one NIC ID is required for monitored VMs. For unmonitored VMs, NIC ID is
optional.
|
|
network
network-name
|
Specifies
the name of the network attached to the NIC ID. All networks (such as LAN and
WAN), except the internal management network, require an IP address.
The vNIC
attachment to the internal management network is required only for VMs that
require monitoring. If this interface is used for monitoring, network must be
set to
int-mgmt-net .
|
model
model-name
|
Specifies
the model name. Possible values are: e1000, i82551, i82557b, i82559er,
ne2k_pci, pcnet, rtl8139, and virtio.
The
default value is virtio. This is an optional parameter.
|
ip_address
ip_address
|
Specifies
the IPv4 address. This is an optional parameter.
|
port_forwarding
|
Configures
port forwarding.
When port
forwarding is enabled, you must specify the values in the following fields:
port,
protocol,
vnf_port, and
external_port_range .
|
port
port-type
|
Specifies
the port type. Possible values are SSH, HTTPS, TCP, and Telnet.
|
protocol
protocol-name
|
Specifies
the protocol. Valid value is TCP.
|
vnf_port
port-num
|
Specifies
the port number corresponding to the specified protocol.
|
external_port_range
port-num-start
port-num-end
|
Specifies
the unique port number to specify the start and end range for ports.
|
scaling
|
Specifies how many instances of a particular type of VM need
to be instantiated, and whether elastic scale-in and scale-out are required.
|
min_active
min_active
|
Defines
the minimum number of VMs to be activated.
|
max_active
max_active
|
Defines
the maximum number of VMs to be activated.
|
placement
|
Configures
placement datastore. This is an optional parameter.
|
type zone_host
|
Specifies
the placement type. Value must be zone_host.
|
host
placement-host-name
|
Specifies
the name of the placement datastore. For NFS, valid value is nfs-storage. For
Cisco ENCS external datastore, allowed values are datastore2, datastore3. The
default value is datastore1.
|
rules
admin_rules
|
Configures
monitoring policy rule. These are the rules that an administrator specifies
when the service is registered.
This
parameter is mandatory if the VM is a monitored VM, that is, its bootup time is
non-zero.
|
rule
rule-name
|
Specifies
the name of the monitoring event rule.
|
action
actions
|
Specifies
the list of actions which this policy triggers.
-
ALWAYS log—Whether the event is pingable or not, the
details are always logged.
-
FALSE recover autohealing—The action identified by this
keyword is triggered, and the VM is recovered without the administrator's
intervention.
-
TRUE servicebooted.sh—The action identified by this
keyword in the dynamic mapping file is triggered when the VM moves from a
non-pingable to a pingable state.
You can specify actions in the following format:
action [ "ALWAYS log" "FALSE recover autohealing"
"TRUE servicebooted.sh" ] .
|
kpi_data
|
Specifies
the Key Performance Indicators (KPI) data.
|
kpi
rule-name
|
Specifies the KPI rule name.
|
metric_value
value
|
Specifies
the metric threshold value of the KPI.
|
metric_cond
value
|
Specifies
the direction of the metric value change for the KPI. Valid values are the
following:
-
GE and
GT : An alarm
is sent when the metric value increases from a lower position to equal or
exceed the specified value. 

-
LE and
LT : An alarm
is sent when the metric value decreases from a higher position to equal or go
down the specified value.
|
metric_type
type
|
Specifies
the metric type. Valid metric types are INT8, UINT8, INT16, UINT16, INT32,
UINT32, FLOAT, DOUBLE, and STRING.
|
metric_collector
|
Configures
the metrics that needs to be monitored and at what frequency should the
monitoring happen.
|
type
type
|
Specifies
the type to be monitored; for example, ICMPPing. If the image boot-up time is
provided, monitoring must be set to ICMPPing.
|
nicid
vnic-id
|
Specifies
the card ID of the interface through which this VM is monitored. It should be
the ID specified for one of interfaces in the payload.
|
poll_frequency
value
|
Specifies
the ICMP ping frequency value.
|
polling_unit
unit
|
Specifies
the ICMP ping frequency unit. Possible values are minutes and seconds.
|
continuous_alarm
value
|
Specifies
that the continuous events need to be generated. Valid values are true and
false.
|