The vmware_nsx.nsxlib.v3.exceptions Module

exception vmware_nsx.nsxlib.v3.exceptions.ManagerError(**kwargs)

Bases: vmware_nsx.nsxlib.v3.exceptions.NsxLibException

message = u'Unexpected error from backend manager (%(manager)s) for %(operation)s %(details)s'
exception vmware_nsx.nsxlib.v3.exceptions.NSGroupIsFull(**kwargs)

Bases: vmware_nsx.nsxlib.v3.exceptions.ManagerError

message = u'NSGroup %(nsgroup_id)s contains has reached its maximum capacity, unable to add additional members.'
exception vmware_nsx.nsxlib.v3.exceptions.NSGroupMemberNotFound(**kwargs)

Bases: vmware_nsx.nsxlib.v3.exceptions.ManagerError

message = u'Could not find NSGroup %(nsgroup_id)s member %(member_id)s for removal.'
exception vmware_nsx.nsxlib.v3.exceptions.NsxLibException(**kwargs)

Bases: exceptions.Exception

Base NsxLib Exception.

To correctly use this class, inherit from it and define a ‘message’ property. That message will get printf’d with the keyword arguments provided to the constructor.

message = u'An unknown exception occurred.'
use_fatal_exceptions()
exception vmware_nsx.nsxlib.v3.exceptions.NumberOfNsgroupCriteriaTagsReached(**kwargs)

Bases: vmware_nsx.nsxlib.v3.exceptions.ManagerError

message = u'Port can be associated with at most %(max_num)s security-groups.'
exception vmware_nsx.nsxlib.v3.exceptions.ResourceNotFound(**kwargs)

Bases: vmware_nsx.nsxlib.v3.exceptions.ManagerError

message = u'Resource could not be found on backend (%(manager)s) for %(operation)s'
exception vmware_nsx.nsxlib.v3.exceptions.SecurityGroupMaximumCapacityReached(**kwargs)

Bases: vmware_nsx.nsxlib.v3.exceptions.ManagerError

message = u'Security Group %(sg_id)s has reached its maximum capacity, no more ports can be associated with this security-group.'
exception vmware_nsx.nsxlib.v3.exceptions.ServiceClusterUnavailable(**kwargs)

Bases: vmware_nsx.nsxlib.v3.exceptions.ManagerError

message = u"Service cluster: '%(cluster_id)s' is unavailable. Please, check NSX setup and/or configuration"
exception vmware_nsx.nsxlib.v3.exceptions.StaleRevision(**kwargs)

Bases: vmware_nsx.nsxlib.v3.exceptions.ManagerError

Previous topic

The vmware_nsx.nsxlib.v3.dfw_api Module

Next topic

The vmware_nsx.nsxlib.v3.native_dhcp Module

This Page