def _set_addpath_advertise(self, v, load=False):
    """
    Setter method for addpath_advertise, mapped from YANG variable /routing_system/router/router_bgp/address_family/ipv6/ipv6_unicast/af_ipv6_vrf/neighbor/af_ipv6_vrf_neighbor_address_holder/af_ipv6_neighbor_addr/additional_paths/addpath_advertise (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_addpath_advertise is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_addpath_advertise() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=addpath_advertise.addpath_advertise, is_container='container', presence=False, yang_name="addpath-advertise", rest_name="advertise", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Specify which routes should be advertised for additional path', u'cli-compact-syntax': None, u'alt-name': u'advertise', u'cli-incomplete-command': None}}, namespace='urn:brocade.com:mgmt:brocade-bgp', defining_module='brocade-bgp', yang_type='container', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """addpath_advertise must be of a type compatible with container""",
          'defined-type': "container",
          'generated-type': """YANGDynClass(base=addpath_advertise.addpath_advertise, is_container='container', presence=False, yang_name="addpath-advertise", rest_name="advertise", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Specify which routes should be advertised for additional path', u'cli-compact-syntax': None, u'alt-name': u'advertise', u'cli-incomplete-command': None}}, namespace='urn:brocade.com:mgmt:brocade-bgp', defining_module='brocade-bgp', yang_type='container', is_config=True)""",
        })

    self.__addpath_advertise = t
    if hasattr(self, '_set'):
      self._set()
def _set_addpath_advertise ( self , v , load = False ) : if hasattr ( v , "_utype" ) : v = v . _utype ( v ) try : t = YANGDynClass ( v , base = addpath_advertise . addpath_advertise , is_container = 'container' , presence = False , yang_name = "addpath-advertise" , rest_name = "advertise" , parent = self , path_helper = self . _path_helper , extmethods = self . _extmethods , register_paths = True , extensions = { u'tailf-common' : { u'info' : u'Specify which routes should be advertised for additional path' , u'cli-compact-syntax' : None , u'alt-name' : u'advertise' , u'cli-incomplete-command' : None } } , namespace = 'urn:brocade.com:mgmt:brocade-bgp' , defining_module = 'brocade-bgp' , yang_type = 'container' , is_config = True ) except ( TypeError , ValueError ) : raise ValueError ( { 'error-string' : """addpath_advertise must be of a type compatible with container""" , 'defined-type' : "container" , 'generated-type' : """YANGDynClass(base=addpath_advertise.addpath_advertise, is_container='container', presence=False, yang_name="addpath-advertise", rest_name="advertise", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Specify which routes should be advertised for additional path', u'cli-compact-syntax': None, u'alt-name': u'advertise', u'cli-incomplete-command': None}}, namespace='urn:brocade.com:mgmt:brocade-bgp', defining_module='brocade-bgp', yang_type='container', is_config=True)""" , } ) self . __addpath_advertise = t if hasattr ( self , '_set' ) : self . _set ( )
Setter method for addpath_advertise, mapped from YANG variable /routing_system/router/router_bgp/address_family/ipv6/ipv6_unicast/af_ipv6_vrf/neighbor/af_ipv6_vrf_neighbor_address_holder/af_ipv6_neighbor_addr/additional_paths/addpath_advertise (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_addpath_advertise is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_addpath_advertise() directly.