Setter method for evpn_vlan, mapped from YANG variable /routing_system/evpn_config/evpn/evpn_instance/vlan/evpn_vlan (list)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_evpn_vlan is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_evpn_vlan() directly.

    YANG Description: EVPN instance config

def _set_evpn_vlan(self, v, load=False):
    """
    Setter method for evpn_vlan, mapped from YANG variable /routing_system/evpn_config/evpn/evpn_instance/vlan/evpn_vlan (list)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_evpn_vlan is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_evpn_vlan() directly.

    YANG Description: EVPN instance config
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=YANGListType("vlan_number",evpn_vlan.evpn_vlan, yang_name="evpn-vlan", rest_name="evpn-vlan", parent=self, is_container='list', user_ordered=False, path_helper=self._path_helper, yang_keys='vlan-number', extensions={u'tailf-common': {u'info': u'EVPN Instance VLAN configuration', u'cli-no-key-completion': None, u'callpoint': u'EvpnVniConfig', u'cli-suppress-list-no': None, u'cli-drop-node-name': None, u'cli-suppress-key-abbreviation': None, u'cli-full-command': None, u'cli-full-no': None, u'cli-mode-name': u'evpn-vlan-$(vlan-number)'}}), is_container='list', yang_name="evpn-vlan", rest_name="evpn-vlan", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'EVPN Instance VLAN configuration', u'cli-no-key-completion': None, u'callpoint': u'EvpnVniConfig', u'cli-suppress-list-no': None, u'cli-drop-node-name': None, u'cli-suppress-key-abbreviation': None, u'cli-full-command': None, u'cli-full-no': None, u'cli-mode-name': u'evpn-vlan-$(vlan-number)'}}, namespace='urn:brocade.com:mgmt:brocade-bgp', defining_module='brocade-bgp', yang_type='list', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """evpn_vlan must be of a type compatible with list""",
          'defined-type': "list",
          'generated-type': """YANGDynClass(base=YANGListType("vlan_number",evpn_vlan.evpn_vlan, yang_name="evpn-vlan", rest_name="evpn-vlan", parent=self, is_container='list', user_ordered=False, path_helper=self._path_helper, yang_keys='vlan-number', extensions={u'tailf-common': {u'info': u'EVPN Instance VLAN configuration', u'cli-no-key-completion': None, u'callpoint': u'EvpnVniConfig', u'cli-suppress-list-no': None, u'cli-drop-node-name': None, u'cli-suppress-key-abbreviation': None, u'cli-full-command': None, u'cli-full-no': None, u'cli-mode-name': u'evpn-vlan-$(vlan-number)'}}), is_container='list', yang_name="evpn-vlan", rest_name="evpn-vlan", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'EVPN Instance VLAN configuration', u'cli-no-key-completion': None, u'callpoint': u'EvpnVniConfig', u'cli-suppress-list-no': None, u'cli-drop-node-name': None, u'cli-suppress-key-abbreviation': None, u'cli-full-command': None, u'cli-full-no': None, u'cli-mode-name': u'evpn-vlan-$(vlan-number)'}}, namespace='urn:brocade.com:mgmt:brocade-bgp', defining_module='brocade-bgp', yang_type='list', is_config=True)""",
        })

    self.__evpn_vlan = t
    if hasattr(self, '_set'):
      self._set()