signature
stringlengths
8
3.44k
body
stringlengths
0
1.41M
docstring
stringlengths
1
122k
id
stringlengths
5
17
def _get_extended_community(self):
return self.__extended_community<EOL>
Getter method for extended_community, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/extended_community (string) YANG Description: Communities
f336114:c0:m45
def _set_extended_community(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__extended_community = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for extended_community, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/extended_community (string) If this variable is read-only (config: false) in the source YANG file, then _set_extended_community is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_extended_community() directly. YANG Description: Communities
f336114:c0:m46
def _get_atomic_aggregate_set(self):
return self.__atomic_aggregate_set<EOL>
Getter method for atomic_aggregate_set, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/atomic_aggregate_set (boolean) YANG Description: Atomic aggregate set
f336114:c0:m48
def _set_atomic_aggregate_set(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=YANGBool, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__atomic_aggregate_set = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for atomic_aggregate_set, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/atomic_aggregate_set (boolean) If this variable is read-only (config: false) in the source YANG file, then _set_atomic_aggregate_set is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_atomic_aggregate_set() directly. YANG Description: Atomic aggregate set
f336114:c0:m49
def _get_aggregator(self):
return self.__aggregator<EOL>
Getter method for aggregator, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/aggregator (inet:ipv4-address) YANG Description: Aggregator
f336114:c0:m51
def _set_aggregator(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, restriction_dict={'<STR_LIT>': u'<STR_LIT>'}), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__aggregator = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for aggregator, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/aggregator (inet:ipv4-address) If this variable is read-only (config: false) in the source YANG file, then _set_aggregator is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_aggregator() directly. YANG Description: Aggregator
f336114:c0:m52
def _get_originator(self):
return self.__originator<EOL>
Getter method for originator, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/originator (inet:ipv4-address) YANG Description: Originator Id
f336114:c0:m54
def _set_originator(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, restriction_dict={'<STR_LIT>': u'<STR_LIT>'}), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__originator = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for originator, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/originator (inet:ipv4-address) If this variable is read-only (config: false) in the source YANG file, then _set_originator is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_originator() directly. YANG Description: Originator Id
f336114:c0:m55
def _get_cluster_list(self):
return self.__cluster_list<EOL>
Getter method for cluster_list, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/cluster_list (string) YANG Description: Cluster list
f336114:c0:m57
def _set_cluster_list(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__cluster_list = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for cluster_list, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/cluster_list (string) If this variable is read-only (config: false) in the source YANG file, then _set_cluster_list is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_cluster_list() directly. YANG Description: Cluster list
f336114:c0:m58
def _get_adj_rib_out_count(self):
return self.__adj_rib_out_count<EOL>
Getter method for adj_rib_out_count, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/adj_rib_out_count (int32) YANG Description: Adj RIB out count
f336114:c0:m60
def _set_adj_rib_out_count(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__adj_rib_out_count = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for adj_rib_out_count, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/adj_rib_out_count (int32) If this variable is read-only (config: false) in the source YANG file, then _set_adj_rib_out_count is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_adj_rib_out_count() directly. YANG Description: Adj RIB out count
f336114:c0:m61
def _get_admin_distance(self):
return self.__admin_distance<EOL>
Getter method for admin_distance, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/admin_distance (int32) YANG Description: Admin Distance
f336114:c0:m63
def _set_admin_distance(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__admin_distance = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for admin_distance, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/admin_distance (int32) If this variable is read-only (config: false) in the source YANG file, then _set_admin_distance is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_admin_distance() directly. YANG Description: Admin Distance
f336114:c0:m64
def _get_tag(self):
return self.__tag<EOL>
Getter method for tag, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/tag (int32) YANG Description: Tag
f336114:c0:m66
def _set_tag(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__tag = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for tag, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/tag (int32) If this variable is read-only (config: false) in the source YANG file, then _set_tag is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_tag() directly. YANG Description: Tag
f336114:c0:m67
def _get_l3_label(self):
return self.__l3_label<EOL>
Getter method for l3_label, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/l3_label (int32) YANG Description: L3 Label
f336114:c0:m69
def _set_l3_label(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__l3_label = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for l3_label, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/l3_label (int32) If this variable is read-only (config: false) in the source YANG file, then _set_l3_label is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_l3_label() directly. YANG Description: L3 Label
f336114:c0:m70
def _get_l2_label(self):
return self.__l2_label<EOL>
Getter method for l2_label, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/l2_label (int32) YANG Description: L2 Label
f336114:c0:m72
def _set_l2_label(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__l2_label = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for l2_label, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/l2_label (int32) If this variable is read-only (config: false) in the source YANG file, then _set_l2_label is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_l2_label() directly. YANG Description: L2 Label
f336114:c0:m73
def _get_esi(self):
return self.__esi<EOL>
Getter method for esi, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/esi (string) YANG Description: ESI
f336114:c0:m75
def _set_esi(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__esi = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for esi, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/esi (string) If this variable is read-only (config: false) in the source YANG file, then _set_esi is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_esi() directly. YANG Description: ESI
f336114:c0:m76
def _get_rmac(self):
return self.__rmac<EOL>
Getter method for rmac, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/rmac (string) YANG Description: Router Mac
f336114:c0:m78
def _set_rmac(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__rmac = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for rmac, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/rmac (string) If this variable is read-only (config: false) in the source YANG file, then _set_rmac is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_rmac() directly. YANG Description: Router Mac
f336114:c0:m79
def _get_source_rd(self):
return self.__source_rd<EOL>
Getter method for source_rd, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/source_rd (string) YANG Description: Source Route distinguisher
f336114:c0:m81
def _set_source_rd(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__source_rd = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for source_rd, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/source_rd (string) If this variable is read-only (config: false) in the source YANG file, then _set_source_rd is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_source_rd() directly. YANG Description: Source Route distinguisher
f336114:c0:m82
def _get_vrf_label(self):
return self.__vrf_label<EOL>
Getter method for vrf_label, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/vrf_label (uint32) YANG Description: VRF Label
f336114:c0:m84
def _set_vrf_label(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=TypedListType(allowed_type=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>)), is_leaf=False, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__vrf_label = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for vrf_label, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/vrf_label (uint32) If this variable is read-only (config: false) in the source YANG file, then _set_vrf_label is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_vrf_label() directly. YANG Description: VRF Label
f336114:c0:m85
def _get_ethernet_tag(self):
return self.__ethernet_tag<EOL>
Getter method for ethernet_tag, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/ethernet_tag (uint32) YANG Description: Ethernet Tag
f336114:c0:m87
def _set_ethernet_tag(self, v, load=False):
parent = getattr(self, "<STR_LIT>", None)<EOL>if parent is not None and load is False:<EOL><INDENT>raise AttributeError("<STR_LIT>" +<EOL>"<STR_LIT>")<EOL><DEDENT>if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, is_keyval=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__ethernet_tag = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for ethernet_tag, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/ethernet_tag (uint32) If this variable is read-only (config: false) in the source YANG file, then _set_ethernet_tag is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_ethernet_tag() directly. YANG Description: Ethernet Tag
f336114:c0:m88
def _get_ipv4_address(self):
return self.__ipv4_address<EOL>
Getter method for ipv4_address, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/ipv4_address (inet:ipv4-address) YANG Description: IPv4 address
f336114:c0:m90
def _set_ipv4_address(self, v, load=False):
parent = getattr(self, "<STR_LIT>", None)<EOL>if parent is not None and load is False:<EOL><INDENT>raise AttributeError("<STR_LIT>" +<EOL>"<STR_LIT>")<EOL><DEDENT>if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, restriction_dict={'<STR_LIT>': u'<STR_LIT>'}), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, is_keyval=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__ipv4_address = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for ipv4_address, mapped from YANG variable /bgp_state/route/evpn/l2/inclusive_multicast/ipv4_address (inet:ipv4-address) If this variable is read-only (config: false) in the source YANG file, then _set_ipv4_address is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_ipv4_address() directly. YANG Description: IPv4 address
f336114:c0:m91
def _get_prefix(self):
return self.__prefix<EOL>
Getter method for prefix, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/prefix (inet:ipv4-prefix) YANG Description: Network Prefix
f336115:c0:m3
def _set_prefix(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, restriction_dict={'<STR_LIT>': u'<STR_LIT>'}), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__prefix = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for prefix, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/prefix (inet:ipv4-prefix) If this variable is read-only (config: false) in the source YANG file, then _set_prefix is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_prefix() directly. YANG Description: Network Prefix
f336115:c0:m4
def _get_status(self):
return self.__status<EOL>
Getter method for status, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/status (string) YANG Description: Status
f336115:c0:m6
def _set_status(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT:status>", rest_name="<STR_LIT:status>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__status = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for status, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/status (string) If this variable is read-only (config: false) in the source YANG file, then _set_status is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_status() directly. YANG Description: Status
f336115:c0:m7
def _get_age(self):
return self.__age<EOL>
Getter method for age, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/age (string) YANG Description: Age
f336115:c0:m9
def _set_age(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__age = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for age, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/age (string) If this variable is read-only (config: false) in the source YANG file, then _set_age is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_age() directly. YANG Description: Age
f336115:c0:m10
def _get_next_hop(self):
return self.__next_hop<EOL>
Getter method for next_hop, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/next_hop (inet:ipv4-address) YANG Description: Next hop address
f336115:c0:m12
def _set_next_hop(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, restriction_dict={'<STR_LIT>': u'<STR_LIT>'}), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__next_hop = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for next_hop, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/next_hop (inet:ipv4-address) If this variable is read-only (config: false) in the source YANG file, then _set_next_hop is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_next_hop() directly. YANG Description: Next hop address
f336115:c0:m13
def _get_next_hop_learned_from_peer(self):
return self.__next_hop_learned_from_peer<EOL>
Getter method for next_hop_learned_from_peer, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/next_hop_learned_from_peer (string) YANG Description: Next hop address learned from peer
f336115:c0:m15
def _set_next_hop_learned_from_peer(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__next_hop_learned_from_peer = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for next_hop_learned_from_peer, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/next_hop_learned_from_peer (string) If this variable is read-only (config: false) in the source YANG file, then _set_next_hop_learned_from_peer is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_next_hop_learned_from_peer() directly. YANG Description: Next hop address learned from peer
f336115:c0:m16
def _get_next_hop_metric(self):
return self.__next_hop_metric<EOL>
Getter method for next_hop_metric, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/next_hop_metric (uint32) YANG Description: Next hop metric
f336115:c0:m18
def _set_next_hop_metric(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__next_hop_metric = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for next_hop_metric, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/next_hop_metric (uint32) If this variable is read-only (config: false) in the source YANG file, then _set_next_hop_metric is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_next_hop_metric() directly. YANG Description: Next hop metric
f336115:c0:m19
def _get_rd(self):
return self.__rd<EOL>
Getter method for rd, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/rd (string) YANG Description: Route distinguisher
f336115:c0:m21
def _set_rd(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__rd = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for rd, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/rd (string) If this variable is read-only (config: false) in the source YANG file, then _set_rd is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_rd() directly. YANG Description: Route distinguisher
f336115:c0:m22
def _get_vrf_label_direction(self):
return self.__vrf_label_direction<EOL>
Getter method for vrf_label_direction, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/vrf_label_direction (direction) YANG Description: VRF label direction
f336115:c0:m24
def _set_vrf_label_direction(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, restriction_type="<STR_LIT>", restriction_arg={u'<STR_LIT>': {'<STR_LIT:value>': <NUM_LIT:1>}, u'<STR_LIT>': {'<STR_LIT:value>': <NUM_LIT:0>}},), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__vrf_label_direction = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for vrf_label_direction, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/vrf_label_direction (direction) If this variable is read-only (config: false) in the source YANG file, then _set_vrf_label_direction is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_vrf_label_direction() directly. YANG Description: VRF label direction
f336115:c0:m25
def _get_local_preference(self):
return self.__local_preference<EOL>
Getter method for local_preference, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/local_preference (string) YANG Description: Local Preference
f336115:c0:m27
def _set_local_preference(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__local_preference = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for local_preference, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/local_preference (string) If this variable is read-only (config: false) in the source YANG file, then _set_local_preference is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_local_preference() directly. YANG Description: Local Preference
f336115:c0:m28
def _get_med(self):
return self.__med<EOL>
Getter method for med, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/med (string) YANG Description: Multi exit discriminator
f336115:c0:m30
def _set_med(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__med = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for med, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/med (string) If this variable is read-only (config: false) in the source YANG file, then _set_med is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_med() directly. YANG Description: Multi exit discriminator
f336115:c0:m31
def _get_origin(self):
return self.__origin<EOL>
Getter method for origin, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/origin (string) YANG Description: Origin
f336115:c0:m33
def _set_origin(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__origin = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for origin, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/origin (string) If this variable is read-only (config: false) in the source YANG file, then _set_origin is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_origin() directly. YANG Description: Origin
f336115:c0:m34
def _get_weight(self):
return self.__weight<EOL>
Getter method for weight, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/weight (int32) YANG Description: weight
f336115:c0:m36
def _set_weight(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__weight = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for weight, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/weight (int32) If this variable is read-only (config: false) in the source YANG file, then _set_weight is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_weight() directly. YANG Description: weight
f336115:c0:m37
def _get_as_path(self):
return self.__as_path<EOL>
Getter method for as_path, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/as_path (string) YANG Description: As Path
f336115:c0:m39
def _set_as_path(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__as_path = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for as_path, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/as_path (string) If this variable is read-only (config: false) in the source YANG file, then _set_as_path is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_as_path() directly. YANG Description: As Path
f336115:c0:m40
def _get_communities(self):
return self.__communities<EOL>
Getter method for communities, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/communities (string) YANG Description: Communities
f336115:c0:m42
def _set_communities(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__communities = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for communities, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/communities (string) If this variable is read-only (config: false) in the source YANG file, then _set_communities is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_communities() directly. YANG Description: Communities
f336115:c0:m43
def _get_extended_community(self):
return self.__extended_community<EOL>
Getter method for extended_community, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/extended_community (string) YANG Description: Communities
f336115:c0:m45
def _set_extended_community(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__extended_community = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for extended_community, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/extended_community (string) If this variable is read-only (config: false) in the source YANG file, then _set_extended_community is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_extended_community() directly. YANG Description: Communities
f336115:c0:m46
def _get_atomic_aggregate_set(self):
return self.__atomic_aggregate_set<EOL>
Getter method for atomic_aggregate_set, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/atomic_aggregate_set (boolean) YANG Description: Atomic aggregate set
f336115:c0:m48
def _set_atomic_aggregate_set(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=YANGBool, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__atomic_aggregate_set = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for atomic_aggregate_set, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/atomic_aggregate_set (boolean) If this variable is read-only (config: false) in the source YANG file, then _set_atomic_aggregate_set is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_atomic_aggregate_set() directly. YANG Description: Atomic aggregate set
f336115:c0:m49
def _get_aggregator(self):
return self.__aggregator<EOL>
Getter method for aggregator, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/aggregator (inet:ipv4-address) YANG Description: Aggregator
f336115:c0:m51
def _set_aggregator(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, restriction_dict={'<STR_LIT>': u'<STR_LIT>'}), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__aggregator = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for aggregator, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/aggregator (inet:ipv4-address) If this variable is read-only (config: false) in the source YANG file, then _set_aggregator is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_aggregator() directly. YANG Description: Aggregator
f336115:c0:m52
def _get_originator(self):
return self.__originator<EOL>
Getter method for originator, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/originator (inet:ipv4-address) YANG Description: Originator Id
f336115:c0:m54
def _set_originator(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, restriction_dict={'<STR_LIT>': u'<STR_LIT>'}), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__originator = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for originator, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/originator (inet:ipv4-address) If this variable is read-only (config: false) in the source YANG file, then _set_originator is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_originator() directly. YANG Description: Originator Id
f336115:c0:m55
def _get_cluster_list(self):
return self.__cluster_list<EOL>
Getter method for cluster_list, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/cluster_list (string) YANG Description: Cluster list
f336115:c0:m57
def _set_cluster_list(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__cluster_list = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for cluster_list, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/cluster_list (string) If this variable is read-only (config: false) in the source YANG file, then _set_cluster_list is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_cluster_list() directly. YANG Description: Cluster list
f336115:c0:m58
def _get_adj_rib_out_count(self):
return self.__adj_rib_out_count<EOL>
Getter method for adj_rib_out_count, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/adj_rib_out_count (int32) YANG Description: Adj RIB out count
f336115:c0:m60
def _set_adj_rib_out_count(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__adj_rib_out_count = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for adj_rib_out_count, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/adj_rib_out_count (int32) If this variable is read-only (config: false) in the source YANG file, then _set_adj_rib_out_count is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_adj_rib_out_count() directly. YANG Description: Adj RIB out count
f336115:c0:m61
def _get_admin_distance(self):
return self.__admin_distance<EOL>
Getter method for admin_distance, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/admin_distance (int32) YANG Description: Admin Distance
f336115:c0:m63
def _set_admin_distance(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__admin_distance = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for admin_distance, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/admin_distance (int32) If this variable is read-only (config: false) in the source YANG file, then _set_admin_distance is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_admin_distance() directly. YANG Description: Admin Distance
f336115:c0:m64
def _get_tag(self):
return self.__tag<EOL>
Getter method for tag, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/tag (int32) YANG Description: Tag
f336115:c0:m66
def _set_tag(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__tag = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for tag, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/tag (int32) If this variable is read-only (config: false) in the source YANG file, then _set_tag is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_tag() directly. YANG Description: Tag
f336115:c0:m67
def _get_l3_label(self):
return self.__l3_label<EOL>
Getter method for l3_label, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/l3_label (int32) YANG Description: L3 Label
f336115:c0:m69
def _set_l3_label(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__l3_label = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for l3_label, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/l3_label (int32) If this variable is read-only (config: false) in the source YANG file, then _set_l3_label is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_l3_label() directly. YANG Description: L3 Label
f336115:c0:m70
def _get_l2_label(self):
return self.__l2_label<EOL>
Getter method for l2_label, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/l2_label (int32) YANG Description: L2 Label
f336115:c0:m72
def _set_l2_label(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__l2_label = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for l2_label, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/l2_label (int32) If this variable is read-only (config: false) in the source YANG file, then _set_l2_label is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_l2_label() directly. YANG Description: L2 Label
f336115:c0:m73
def _get_esi(self):
return self.__esi<EOL>
Getter method for esi, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/esi (string) YANG Description: ESI
f336115:c0:m75
def _set_esi(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__esi = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for esi, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/esi (string) If this variable is read-only (config: false) in the source YANG file, then _set_esi is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_esi() directly. YANG Description: ESI
f336115:c0:m76
def _get_rmac(self):
return self.__rmac<EOL>
Getter method for rmac, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/rmac (string) YANG Description: Router Mac
f336115:c0:m78
def _set_rmac(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__rmac = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for rmac, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/rmac (string) If this variable is read-only (config: false) in the source YANG file, then _set_rmac is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_rmac() directly. YANG Description: Router Mac
f336115:c0:m79
def _get_source_rd(self):
return self.__source_rd<EOL>
Getter method for source_rd, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/source_rd (string) YANG Description: Source Route distinguisher
f336115:c0:m81
def _set_source_rd(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__source_rd = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for source_rd, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/source_rd (string) If this variable is read-only (config: false) in the source YANG file, then _set_source_rd is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_source_rd() directly. YANG Description: Source Route distinguisher
f336115:c0:m82
def _get_vrf_label(self):
return self.__vrf_label<EOL>
Getter method for vrf_label, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/vrf_label (uint32) YANG Description: VRF Label
f336115:c0:m84
def _set_vrf_label(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=TypedListType(allowed_type=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>)), is_leaf=False, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__vrf_label = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for vrf_label, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/vrf_label (uint32) If this variable is read-only (config: false) in the source YANG file, then _set_vrf_label is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_vrf_label() directly. YANG Description: VRF Label
f336115:c0:m85
def _get_esi_value(self):
return self.__esi_value<EOL>
Getter method for esi_value, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/esi_value (string) YANG Description: ESI value
f336115:c0:m87
def _set_esi_value(self, v, load=False):
parent = getattr(self, "<STR_LIT>", None)<EOL>if parent is not None and load is False:<EOL><INDENT>raise AttributeError("<STR_LIT>" +<EOL>"<STR_LIT>")<EOL><DEDENT>if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, is_keyval=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__esi_value = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for esi_value, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/esi_value (string) If this variable is read-only (config: false) in the source YANG file, then _set_esi_value is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_esi_value() directly. YANG Description: ESI value
f336115:c0:m88
def _get_ipv4_address(self):
return self.__ipv4_address<EOL>
Getter method for ipv4_address, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/ipv4_address (inet:ipv4-address) YANG Description: IPv4 address
f336115:c0:m90
def _set_ipv4_address(self, v, load=False):
parent = getattr(self, "<STR_LIT>", None)<EOL>if parent is not None and load is False:<EOL><INDENT>raise AttributeError("<STR_LIT>" +<EOL>"<STR_LIT>")<EOL><DEDENT>if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, restriction_dict={'<STR_LIT>': u'<STR_LIT>'}), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, is_keyval=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__ipv4_address = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for ipv4_address, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/ipv4_address (inet:ipv4-address) If this variable is read-only (config: false) in the source YANG file, then _set_ipv4_address is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_ipv4_address() directly. YANG Description: IPv4 address
f336115:c0:m91
def _get_ipv6_address(self):
return self.__ipv6_address<EOL>
Getter method for ipv6_address, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/ipv6_address (inet:ipv6-address) YANG Description: IPv6 address
f336115:c0:m93
def _set_ipv6_address(self, v, load=False):
parent = getattr(self, "<STR_LIT>", None)<EOL>if parent is not None and load is False:<EOL><INDENT>raise AttributeError("<STR_LIT>" +<EOL>"<STR_LIT>")<EOL><DEDENT>if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, restriction_dict={'<STR_LIT>': u'<STR_LIT>'}), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, is_keyval=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__ipv6_address = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for ipv6_address, mapped from YANG variable /bgp_state/route/evpn/l2/ethernet_segment/ipv6_address (inet:ipv6-address) If this variable is read-only (config: false) in the source YANG file, then _set_ipv6_address is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_ipv6_address() directly. YANG Description: IPv6 address
f336115:c0:m94
def _get_prefix(self):
return self.__prefix<EOL>
Getter method for prefix, mapped from YANG variable /bgp_state/route/evpn/l2/auto_discovery/prefix (inet:ipv4-prefix) YANG Description: Network Prefix
f336116:c0:m3
def _set_prefix(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, restriction_dict={'<STR_LIT>': u'<STR_LIT>'}), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__prefix = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for prefix, mapped from YANG variable /bgp_state/route/evpn/l2/auto_discovery/prefix (inet:ipv4-prefix) If this variable is read-only (config: false) in the source YANG file, then _set_prefix is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_prefix() directly. YANG Description: Network Prefix
f336116:c0:m4
def _get_status(self):
return self.__status<EOL>
Getter method for status, mapped from YANG variable /bgp_state/route/evpn/l2/auto_discovery/status (string) YANG Description: Status
f336116:c0:m6
def _set_status(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT:status>", rest_name="<STR_LIT:status>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__status = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for status, mapped from YANG variable /bgp_state/route/evpn/l2/auto_discovery/status (string) If this variable is read-only (config: false) in the source YANG file, then _set_status is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_status() directly. YANG Description: Status
f336116:c0:m7
def _get_age(self):
return self.__age<EOL>
Getter method for age, mapped from YANG variable /bgp_state/route/evpn/l2/auto_discovery/age (string) YANG Description: Age
f336116:c0:m9
def _set_age(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__age = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for age, mapped from YANG variable /bgp_state/route/evpn/l2/auto_discovery/age (string) If this variable is read-only (config: false) in the source YANG file, then _set_age is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_age() directly. YANG Description: Age
f336116:c0:m10