ucsmsdk.mometa.nwctrl package¶
Submodules¶
This module contains the general information for NwctrlDefinition ManagedObject.
-
class
ucsmsdk.mometa.nwctrl.NwctrlDefinition.
NwctrlDefinition
(parent_mo_or_dn, name, **kwargs)[source]¶ Bases:
ucsmsdk.ucsmo.ManagedObject
This is NwctrlDefinition class.
-
consts
= <ucsmsdk.mometa.nwctrl.NwctrlDefinition.NwctrlDefinitionConsts instance>¶
-
mo_meta
= <ucsmsdk.ucscoremeta.MoMeta object>¶
-
naming_props
= set([u'name'])¶
-
prop_map
= {'dn': 'dn', 'macRegisterMode': 'mac_register_mode', 'propAcl': 'prop_acl', 'policyLevel': 'policy_level', 'name': 'name', 'descr': 'descr', 'sacl': 'sacl', 'policyOwner': 'policy_owner', 'lldpReceive': 'lldp_receive', 'status': 'status', 'cdp': 'cdp', 'uplinkFailAction': 'uplink_fail_action', 'lldpTransmit': 'lldp_transmit', 'intId': 'int_id', 'rn': 'rn', 'childAction': 'child_action'}¶
-
prop_meta
= {'dn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1241a6310>, 'status': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x11a4c9750>, 'lldp_transmit': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1241a6350>, 'lldp_receive': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1241a6450>, 'descr': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1241a6210>, 'sacl': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x11a4c9210>, 'prop_acl': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x11a4c9890>, 'mac_register_mode': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1241a6950>, 'name': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1241a6510>, 'policy_owner': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x11a4c90d0>, 'cdp': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1241a6cd0>, 'uplink_fail_action': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1257b3910>, 'policy_level': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x11a4c98d0>, 'rn': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x11a4c9250>, 'int_id': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1241a6c10>, 'child_action': <ucsmsdk.ucscoremeta.MoPropertyMeta object at 0x1241a6490>}¶
-
-
class
ucsmsdk.mometa.nwctrl.NwctrlDefinition.
NwctrlDefinitionConsts
[source]¶ -
CDP_DISABLED
= 'disabled'¶
-
CDP_ENABLED
= 'enabled'¶
-
INT_ID_NONE
= 'none'¶
-
LLDP_RECEIVE_DISABLED
= 'disabled'¶
-
LLDP_RECEIVE_ENABLED
= 'enabled'¶
-
LLDP_TRANSMIT_DISABLED
= 'disabled'¶
-
LLDP_TRANSMIT_ENABLED
= 'enabled'¶
-
MAC_REGISTER_MODE_ALL_HOST_VLANS
= 'all-host-vlans'¶
-
MAC_REGISTER_MODE_ONLY_NATIVE_VLAN
= 'only-native-vlan'¶
-
POLICY_OWNER_LOCAL
= 'local'¶
-
POLICY_OWNER_PENDING_POLICY
= 'pending-policy'¶
-
POLICY_OWNER_POLICY
= 'policy'¶
-
UPLINK_FAIL_ACTION_LINK_DOWN
= 'link-down'¶
-
UPLINK_FAIL_ACTION_WARNING
= 'warning'¶
-