nucontainer¶
-
nucontainer.NUContainer(bambou.nurest_object.NUMetaRESTObject,):
API that can retrieve the containers associated with a domain, zone or subnet for mediation created containers for REST created containers 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 : Nokia@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 container is connected tovrsid: Id of the VRS that this container is attached to.uuid(Mandatory): UUID of the containername(Mandatory): Name of the containerlast_updated_by: ID of the user who last updated the object.last_updated_date: Time stamp when this object was last updated.reason_type: Reason of the event associated with the container.delete_expiry: reflects the container Deletion expiry timer in secs , deleteMode needs to be non-null value for deleteExpiry to be taken in to effect. CMS created containers will always have deleteMode set to TIMERdelete_mode: reflects the mode of container Deletion - TIMER Possible values are TIMER, .resync_info: Information of the status of the resync operation of a containersite_identifier: This property specifies the site the container belongs to, for Geo-redundancy.image_id: Id of the container imageimage_name: Name of the container imageembedded_metadata: Metadata objects associated with this entity. This will contain a list of Metadata objects if the API request is made using the special flag to enable the embedded Metadata feature. Only a maximum of Metadata objects is returned based on the value set in the system configuration.interfaces: List of container interfaces associated with the containerenterprise_id: ID of the enterprise that this container belongs toenterprise_name: Name of the enterprise that this container belongs toentity_scope: Specify if scope of entity is Data center or Enterprise leveldomain_ids: Array of IDs of the domain that the container is connected tocompute_provisioned: Compute Provisionedzone_ids: Array of IDs of the zone that this container is attached toorchestration_id(Mandatory): Orchestration IDcreation_date: Time stamp when this object was created.vrs_raw_version: Release version of VRS, which is used to determine the feature capabilties of VRS.vrs_version: Interpreted version of VRS, which is used to determine the feature capabilities of VRS.user_id: ID of the user that created this containeruser_name: Username of the user that created this containerstatus: Status of the container.subnet_ids: Array of IDs of the subnets that the container is connected toowner: Identifies the user that has created this object.external_id: External object ID. Used for integration with third party systemshypervisor_ip: IP address of the hypervisor that this container is currently running in
Children¶
| class | fetcher |
| nupermission.NUPermission | permissions |
| numetadata.NUMetadata | metadatas |
| nualarm.NUAlarm | alarms |
| nuglobalmetadata.NUGlobalMetadata | global_metadatas |
| nucontainerinterface.NUContainerInterface | container_interfaces |
| nucontainerresync.NUContainerResync | container_resyncs |
| nuvrs.NUVRS | vrss |
| nueventlog.NUEventLog | event_logs |