nuvm¶
-
nuvm.NUVM(bambou.nurest_object.NUMetaRESTObject,):
API that can retrieve the VMs associated with a domain, zone or subnet for mediation created VM’s for REST created VM’s you need to set the additional proxy user header in http request : X-Nuage-ProxyUservalue of the header has to be either :1) enterpriseName@UserName (example : Alcatel Lucent@bob), or 2) external ID of user in VSD, typically is UUID generally decided by the CMS tool in questionUser needs to have CMS privileges to use proxy user header.
Attributes¶
l2_domain_ids: Array of IDs of the l2 domain that the VM is connected tovrsid: Id of the VRS that this VM is attached to.uuid(Mandatory): UUID of the VMname(Mandatory): Name of the VMlast_updated_by: ID of the user who last updated the object.reason_type: Reason of the event associated with the VM.delete_expiry: reflects the VM Deletion expiry timer in secs , deleteMode needs to be non-null value for deleteExpiry to be taken in to effect. CMS created VM’s will always have deleteMode set to TIMERdelete_mode: reflects the mode of VM Deletion - TIMER Possible values are TIMER, .resync_info: Information of the status of the resync operation of a VMsite_identifier: This property specifies the site the VM belongs to, for Geo-redundancy.interfaces: List of VM interfaces associated with the VMenterprise_id: ID of the enterprise that this VM belongs toenterprise_name: Name of the enterprise that this VM belongs toentity_scope: Specify if scope of entity is Data center or Enterprise leveldomain_ids: Array of IDs of the domain that the VM is connected tocompute_provisioned: computeProvisionedzone_ids: Array of IDs of the zone that this VM is attached toorchestration_id: Orchestration IDuser_id: ID of the user that created this VMuser_name: Username of the user that created this VMstatus: Status of the VM.subnet_ids: Array of IDs of the subnets that the VM is connected toexternal_id: External object ID. Used for integration with third party systemshypervisor_ip: IP address of the hypervisor that this VM is currently running in
Children¶
| class | fetcher |
| nuvmresync.NUVMResync | vm_resyncs |
| numetadata.NUMetadata | metadatas |
| nualarm.NUAlarm | alarms |
| nuglobalmetadata.NUGlobalMetadata | global_metadatas |
| nuvminterface.NUVMInterface | vm_interfaces |
| nuvrs.NUVRS | vrss |
| nueventlog.NUEventLog | event_logs |