def _set_enumList(self, v, load=False):
    """
    Setter method for enumList, mapped from YANG variable /rule/command/enumList (enumeration)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_enumList is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_enumList() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'debug1': {}, u'system-monitor': {}, u'qos': {}, u'ag': {}, u'ip': {'value': 48}, u'mac-rebalance': {}, u'switch-attributes': {'value': 55}, u'python': {}, u'lacp': {}, u'unlock': {}, u'service': {}, u'port-profile': {}, u'tacacs-server': {}, u'mac-address-table': {}, u'vCenter': {}, u'terminal': {}, u'management': {}, u'monitor': {}, u'lccli': {}, u'snmp-server': {}, u'diag': {}, u'support': {}, u'firmware': {}, u'ldap-server': {}, u'radius-server': {}, u'prompt1': {}, u'nas': {}, u'prompt2': {}, u'role': {}, u'alias-config': {}, u'protocol': {}, u'fcsp': {}, u'nsx-controller-client': {}, u'fastboot': {}, u'password-attributes': {}, u'username': {}, u'cee-map': {}, u'configure': {}, u'df': {}, u'ntp': {}, u'vlan': {}, u'telnet': {}, u'debug': {}, u'mac': {}, u'oscmd': {}, u'ssh': {}, u'rmon': {}, u'logging': {}, u'no-operation': {}, u'banner': {}, u'fabric': {}, u'cidrecov': {}, u'vrf': {}, u'aaa': {}, u'license': {}, u'sflow': {}, u'reload': {}, u'vcs': {}, u'bp-rate-limit': {}, u'clock': {}, u'secpolicy': {}, u'rule': {}, u'dot1x': {}, u'ipv6': {}, u'rename': {}, u'filter-change-update-delay': {}, u'fcoe': {}, u'usb': {}, u'tnl': {}, u'vnetwork': {}, u'nsx-controller': {}, u'dir': {}, u'delete': {}},), is_leaf=True, yang_name="enumList", rest_name="enumList", parent=self, choice=(u'cmdlist', u'container-cmds'), path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'cli-drop-node-name': None}}, namespace='urn:brocade.com:mgmt:brocade-aaa', defining_module='brocade-aaa', yang_type='enumeration', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """enumList must be of a type compatible with enumeration""",
          'defined-type': "brocade-aaa:enumeration",
          'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'debug1': {}, u'system-monitor': {}, u'qos': {}, u'ag': {}, u'ip': {'value': 48}, u'mac-rebalance': {}, u'switch-attributes': {'value': 55}, u'python': {}, u'lacp': {}, u'unlock': {}, u'service': {}, u'port-profile': {}, u'tacacs-server': {}, u'mac-address-table': {}, u'vCenter': {}, u'terminal': {}, u'management': {}, u'monitor': {}, u'lccli': {}, u'snmp-server': {}, u'diag': {}, u'support': {}, u'firmware': {}, u'ldap-server': {}, u'radius-server': {}, u'prompt1': {}, u'nas': {}, u'prompt2': {}, u'role': {}, u'alias-config': {}, u'protocol': {}, u'fcsp': {}, u'nsx-controller-client': {}, u'fastboot': {}, u'password-attributes': {}, u'username': {}, u'cee-map': {}, u'configure': {}, u'df': {}, u'ntp': {}, u'vlan': {}, u'telnet': {}, u'debug': {}, u'mac': {}, u'oscmd': {}, u'ssh': {}, u'rmon': {}, u'logging': {}, u'no-operation': {}, u'banner': {}, u'fabric': {}, u'cidrecov': {}, u'vrf': {}, u'aaa': {}, u'license': {}, u'sflow': {}, u'reload': {}, u'vcs': {}, u'bp-rate-limit': {}, u'clock': {}, u'secpolicy': {}, u'rule': {}, u'dot1x': {}, u'ipv6': {}, u'rename': {}, u'filter-change-update-delay': {}, u'fcoe': {}, u'usb': {}, u'tnl': {}, u'vnetwork': {}, u'nsx-controller': {}, u'dir': {}, u'delete': {}},), is_leaf=True, yang_name="enumList", rest_name="enumList", parent=self, choice=(u'cmdlist', u'container-cmds'), path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'cli-drop-node-name': None}}, namespace='urn:brocade.com:mgmt:brocade-aaa', defining_module='brocade-aaa', yang_type='enumeration', is_config=True)""",
        })

    self.__enumList = t
    if hasattr(self, '_set'):
      self._set()
def _set_enumList ( self , v , load = False ) : if hasattr ( v , "_utype" ) : v = v . _utype ( v ) try : t = YANGDynClass ( v , base = RestrictedClassType ( base_type = unicode , restriction_type = "dict_key" , restriction_arg = { u'debug1' : { } , u'system-monitor' : { } , u'qos' : { } , u'ag' : { } , u'ip' : { 'value' : 48 } , u'mac-rebalance' : { } , u'switch-attributes' : { 'value' : 55 } , u'python' : { } , u'lacp' : { } , u'unlock' : { } , u'service' : { } , u'port-profile' : { } , u'tacacs-server' : { } , u'mac-address-table' : { } , u'vCenter' : { } , u'terminal' : { } , u'management' : { } , u'monitor' : { } , u'lccli' : { } , u'snmp-server' : { } , u'diag' : { } , u'support' : { } , u'firmware' : { } , u'ldap-server' : { } , u'radius-server' : { } , u'prompt1' : { } , u'nas' : { } , u'prompt2' : { } , u'role' : { } , u'alias-config' : { } , u'protocol' : { } , u'fcsp' : { } , u'nsx-controller-client' : { } , u'fastboot' : { } , u'password-attributes' : { } , u'username' : { } , u'cee-map' : { } , u'configure' : { } , u'df' : { } , u'ntp' : { } , u'vlan' : { } , u'telnet' : { } , u'debug' : { } , u'mac' : { } , u'oscmd' : { } , u'ssh' : { } , u'rmon' : { } , u'logging' : { } , u'no-operation' : { } , u'banner' : { } , u'fabric' : { } , u'cidrecov' : { } , u'vrf' : { } , u'aaa' : { } , u'license' : { } , u'sflow' : { } , u'reload' : { } , u'vcs' : { } , u'bp-rate-limit' : { } , u'clock' : { } , u'secpolicy' : { } , u'rule' : { } , u'dot1x' : { } , u'ipv6' : { } , u'rename' : { } , u'filter-change-update-delay' : { } , u'fcoe' : { } , u'usb' : { } , u'tnl' : { } , u'vnetwork' : { } , u'nsx-controller' : { } , u'dir' : { } , u'delete' : { } } , ) , is_leaf = True , yang_name = "enumList" , rest_name = "enumList" , parent = self , choice = ( u'cmdlist' , u'container-cmds' ) , path_helper = self . _path_helper , extmethods = self . _extmethods , register_paths = True , extensions = { u'tailf-common' : { u'cli-drop-node-name' : None } } , namespace = 'urn:brocade.com:mgmt:brocade-aaa' , defining_module = 'brocade-aaa' , yang_type = 'enumeration' , is_config = True ) except ( TypeError , ValueError ) : raise ValueError ( { 'error-string' : """enumList must be of a type compatible with enumeration""" , 'defined-type' : "brocade-aaa:enumeration" , 'generated-type' : """YANGDynClass(base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'debug1': {}, u'system-monitor': {}, u'qos': {}, u'ag': {}, u'ip': {'value': 48}, u'mac-rebalance': {}, u'switch-attributes': {'value': 55}, u'python': {}, u'lacp': {}, u'unlock': {}, u'service': {}, u'port-profile': {}, u'tacacs-server': {}, u'mac-address-table': {}, u'vCenter': {}, u'terminal': {}, u'management': {}, u'monitor': {}, u'lccli': {}, u'snmp-server': {}, u'diag': {}, u'support': {}, u'firmware': {}, u'ldap-server': {}, u'radius-server': {}, u'prompt1': {}, u'nas': {}, u'prompt2': {}, u'role': {}, u'alias-config': {}, u'protocol': {}, u'fcsp': {}, u'nsx-controller-client': {}, u'fastboot': {}, u'password-attributes': {}, u'username': {}, u'cee-map': {}, u'configure': {}, u'df': {}, u'ntp': {}, u'vlan': {}, u'telnet': {}, u'debug': {}, u'mac': {}, u'oscmd': {}, u'ssh': {}, u'rmon': {}, u'logging': {}, u'no-operation': {}, u'banner': {}, u'fabric': {}, u'cidrecov': {}, u'vrf': {}, u'aaa': {}, u'license': {}, u'sflow': {}, u'reload': {}, u'vcs': {}, u'bp-rate-limit': {}, u'clock': {}, u'secpolicy': {}, u'rule': {}, u'dot1x': {}, u'ipv6': {}, u'rename': {}, u'filter-change-update-delay': {}, u'fcoe': {}, u'usb': {}, u'tnl': {}, u'vnetwork': {}, u'nsx-controller': {}, u'dir': {}, u'delete': {}},), is_leaf=True, yang_name="enumList", rest_name="enumList", parent=self, choice=(u'cmdlist', u'container-cmds'), path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'cli-drop-node-name': None}}, namespace='urn:brocade.com:mgmt:brocade-aaa', defining_module='brocade-aaa', yang_type='enumeration', is_config=True)""" , } ) self . __enumList = t if hasattr ( self , '_set' ) : self . _set ( )
Setter method for enumList, mapped from YANG variable /rule/command/enumList (enumeration)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_enumList is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_enumList() directly.