signature stringlengths 8 3.44k | body stringlengths 0 1.41M | docstring stringlengths 1 122k | id stringlengths 5 17 |
|---|---|---|---|
def _get_output(self): | return self.__output<EOL> | Getter method for output, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output (output) | f336075:c0:m3 |
def _set_output(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=output.output, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, extensions=None, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=True)<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.__output = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for output, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output (output)
If this variable is read-only (config: false) in the
source YANG file, then _set_output is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_output() directly. | f336075:c0:m4 |
def _get_principal_switch_mac(self): | return self.__principal_switch_mac<EOL> | Getter method for principal_switch_mac, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/principal_switch_mac (string)
YANG Description: Management Cluster Co-ordinator node MAC | f336076:c0:m3 |
def _set_principal_switch_mac(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=False, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=True)<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.__principal_switch_mac = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for principal_switch_mac, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/principal_switch_mac (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_principal_switch_mac is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_principal_switch_mac() directly.
YANG Description: Management Cluster Co-ordinator node MAC | f336076:c0:m4 |
def _get_total_nodes_in_cluster(self): | return self.__total_nodes_in_cluster<EOL> | Getter method for total_nodes_in_cluster, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/total_nodes_in_cluster (uint16)
YANG Description: Total number of nodes in cluster | f336076:c0:m6 |
def _set_total_nodes_in_cluster(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=int, restriction_dict={'<STR_LIT>': ['<STR_LIT>']},int_size=<NUM_LIT:16>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=True)<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.__total_nodes_in_cluster = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for total_nodes_in_cluster, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/total_nodes_in_cluster (uint16)
If this variable is read-only (config: false) in the
source YANG file, then _set_total_nodes_in_cluster is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_total_nodes_in_cluster() directly.
YANG Description: Total number of nodes in cluster | f336076:c0:m7 |
def _get_nodes_disconnected_from_cluster(self): | return self.__nodes_disconnected_from_cluster<EOL> | Getter method for nodes_disconnected_from_cluster, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/nodes_disconnected_from_cluster (uint16)
YANG Description: Number of nodes disconnected from cluster | f336076:c0:m9 |
def _set_nodes_disconnected_from_cluster(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=int, restriction_dict={'<STR_LIT>': ['<STR_LIT>']},int_size=<NUM_LIT:16>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=True)<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.__nodes_disconnected_from_cluster = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for nodes_disconnected_from_cluster, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/nodes_disconnected_from_cluster (uint16)
If this variable is read-only (config: false) in the
source YANG file, then _set_nodes_disconnected_from_cluster is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_nodes_disconnected_from_cluster() directly.
YANG Description: Number of nodes disconnected from cluster | f336076:c0:m10 |
def _get_cluster_nodes(self): | return self.__cluster_nodes<EOL> | Getter method for cluster_nodes, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes (container) | f336076:c0:m12 |
def _set_cluster_nodes(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=cluster_nodes.cluster_nodes, is_container='<STR_LIT>', presence=False, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, extensions=None, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=True)<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.__cluster_nodes = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for cluster_nodes, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_cluster_nodes is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_cluster_nodes() directly. | f336076:c0:m13 |
def _get_cluster_node_info(self): | return self.__cluster_node_info<EOL> | Getter method for cluster_node_info, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info (list) | f336077:c0:m3 |
def _set_cluster_node_info(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=YANGListType("<STR_LIT>",cluster_node_info.cluster_node_info, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, is_container='<STR_LIT:list>', user_ordered=False, path_helper=self._path_helper, yang_keys='<STR_LIT>', extensions=None), is_container='<STR_LIT:list>', yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, extensions=None, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:list>', is_config=True)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:list>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__cluster_node_info = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for cluster_node_info, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_cluster_node_info is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_cluster_node_info() directly. | f336077:c0:m4 |
def _get_node_public_ipv6_address(self): | return self.__node_public_ipv6_address<EOL> | Getter method for node_public_ipv6_address, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_public_ipv6_addresses/node_public_ipv6_address (inet:ipv6-address)
YANG Description: Node public ipv6 address | f336078:c0:m3 |
def _set_node_public_ipv6_address(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=False, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=True)<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.__node_public_ipv6_address = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for node_public_ipv6_address, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_public_ipv6_addresses/node_public_ipv6_address (inet:ipv6-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_node_public_ipv6_address is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_node_public_ipv6_address() directly.
YANG Description: Node public ipv6 address | f336078:c0:m4 |
def _get_node_public_ip_address(self): | return self.__node_public_ip_address<EOL> | Getter method for node_public_ip_address, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_public_ip_addresses/node_public_ip_address (inet:ipv4-address)
YANG Description: Node public ip address | f336079:c0:m3 |
def _set_node_public_ip_address(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=False, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=True)<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.__node_public_ip_address = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for node_public_ip_address, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_public_ip_addresses/node_public_ip_address (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_node_public_ip_address is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_node_public_ip_address() directly.
YANG Description: Node public ip address | f336079:c0:m4 |
def _get_node_num(self): | return self.__node_num<EOL> | Getter method for node_num, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_num (uint16)
YANG Description: Node number | f336080:c0:m3 |
def _set_node_num(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=int, restriction_dict={'<STR_LIT>': ['<STR_LIT>']},int_size=<NUM_LIT:16>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=True)<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.__node_num = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for node_num, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_num (uint16)
If this variable is read-only (config: false) in the
source YANG file, then _set_node_num is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_node_num() directly.
YANG Description: Node number | f336080:c0:m4 |
def _get_node_serial_num(self): | return self.__node_serial_num<EOL> | Getter method for node_serial_num, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_serial_num (string)
YANG Description: Switch Serial number | f336080:c0:m6 |
def _set_node_serial_num(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=False, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=True)<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.__node_serial_num = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for node_serial_num, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_serial_num (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_node_serial_num is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_node_serial_num() directly.
YANG Description: Switch Serial number | f336080:c0:m7 |
def _get_node_condition(self): | return self.__node_condition<EOL> | Getter method for node_condition, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_condition (string)
YANG Description: Node condition which can be either Good/Degraded/Failed/Online | f336080:c0:m9 |
def _set_node_condition(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=False, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=True)<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.__node_condition = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for node_condition, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_condition (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_node_condition is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_node_condition() directly.
YANG Description: Node condition which can be either Good/Degraded/Failed/Online | f336080:c0:m10 |
def _get_node_status(self): | return self.__node_status<EOL> | Getter method for node_status, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_status (string)
YANG Description: Reflects the node status(Standalone/Primary/Secondary) in the cluster | f336080:c0:m12 |
def _set_node_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>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=True)<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.__node_status = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for node_status, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_status (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_node_status is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_node_status() directly.
YANG Description: Reflects the node status(Standalone/Primary/Secondary) in the cluster | f336080:c0:m13 |
def _get_node_id(self): | return self.__node_id<EOL> | Getter method for node_id, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_id (uint16)
YANG Description: Unique Node Identifier | f336080:c0:m15 |
def _set_node_id(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=int, restriction_dict={'<STR_LIT>': ['<STR_LIT>']},int_size=<NUM_LIT:16>), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, is_keyval=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=True)<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.__node_id = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for node_id, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_id (uint16)
If this variable is read-only (config: false) in the
source YANG file, then _set_node_id is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_node_id() directly.
YANG Description: Unique Node Identifier | f336080:c0:m16 |
def _get_node_is_principal(self): | return self.__node_is_principal<EOL> | Getter method for node_is_principal, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_is_principal (boolean)
YANG Description: Whether node is management cluster principal. | f336080:c0:m18 |
def _set_node_is_principal(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=False, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=True)<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.__node_is_principal = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for node_is_principal, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_is_principal (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_node_is_principal is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_node_is_principal() directly.
YANG Description: Whether node is management cluster principal. | f336080:c0:m19 |
def _get_node_switch_mac(self): | return self.__node_switch_mac<EOL> | Getter method for node_switch_mac, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_switch_mac (string)
YANG Description: Node switch mac address | f336080:c0:m21 |
def _set_node_switch_mac(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=False, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=True)<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.__node_switch_mac = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for node_switch_mac, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_switch_mac (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_node_switch_mac is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_node_switch_mac() directly.
YANG Description: Node switch mac address | f336080:c0:m22 |
def _get_node_internal_ip_address(self): | return self.__node_internal_ip_address<EOL> | Getter method for node_internal_ip_address, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_internal_ip_address (inet:ipv4-address)
YANG Description: Node internal IP address | f336080:c0:m24 |
def _set_node_internal_ip_address(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=False, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=True)<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.__node_internal_ip_address = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for node_internal_ip_address, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_internal_ip_address (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_node_internal_ip_address is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_node_internal_ip_address() directly.
YANG Description: Node internal IP address | f336080:c0:m25 |
def _get_node_public_ip_addresses(self): | return self.__node_public_ip_addresses<EOL> | Getter method for node_public_ip_addresses, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_public_ip_addresses (list) | f336080:c0:m27 |
def _set_node_public_ip_addresses(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=YANGListType(False,node_public_ip_addresses.node_public_ip_addresses, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, is_container='<STR_LIT:list>', user_ordered=False, path_helper=self._path_helper, yang_keys='<STR_LIT:False>', extensions=None), is_container='<STR_LIT:list>', yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, extensions=None, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:list>', is_config=True)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:list>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__node_public_ip_addresses = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for node_public_ip_addresses, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_public_ip_addresses (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_node_public_ip_addresses is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_node_public_ip_addresses() directly. | f336080:c0:m28 |
def _get_node_public_ipv6_addresses(self): | return self.__node_public_ipv6_addresses<EOL> | Getter method for node_public_ipv6_addresses, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_public_ipv6_addresses (list) | f336080:c0:m30 |
def _set_node_public_ipv6_addresses(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=YANGListType(False,node_public_ipv6_addresses.node_public_ipv6_addresses, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, is_container='<STR_LIT:list>', user_ordered=False, path_helper=self._path_helper, yang_keys='<STR_LIT:False>', extensions=None), is_container='<STR_LIT:list>', yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, extensions=None, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:list>', is_config=True)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:list>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__node_public_ipv6_addresses = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for node_public_ipv6_addresses, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_public_ipv6_addresses (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_node_public_ipv6_addresses is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_node_public_ipv6_addresses() directly. | f336080:c0:m31 |
def _get_firmware_version(self): | return self.__firmware_version<EOL> | Getter method for firmware_version, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/firmware_version (string)
YANG Description: Node Firmware version | f336080:c0:m33 |
def _set_firmware_version(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=False, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=True)<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.__firmware_version = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for firmware_version, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/firmware_version (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_firmware_version is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_firmware_version() directly.
YANG Description: Node Firmware version | f336080:c0:m34 |
def _get_node_switchtype(self): | return self.__node_switchtype<EOL> | Getter method for node_switchtype, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_switchtype (string)
YANG Description: Node switchtype. | f336080:c0:m36 |
def _set_node_switchtype(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=False, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=True)<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.__node_switchtype = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for node_switchtype, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_switchtype (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_node_switchtype is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_node_switchtype() directly.
YANG Description: Node switchtype. | f336080:c0:m37 |
def _get_node_is_local(self): | return self.__node_is_local<EOL> | Getter method for node_is_local, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_is_local (boolean)
YANG Description: Whether node is local. True indicates the RPC is run from this node in the managment cluster. False indicates its a remote node | f336080:c0:m39 |
def _set_node_is_local(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=False, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=True)<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.__node_is_local = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for node_is_local, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management/output/cluster_nodes/cluster_node_info/node_is_local (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_node_is_local is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_node_is_local() directly.
YANG Description: Whether node is local. True indicates the RPC is run from this node in the managment cluster. False indicates its a remote node | f336080:c0:m40 |
def _get_show_cluster_management(self): | return self.__show_cluster_management<EOL> | Getter method for show_cluster_management, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management (rpc) | f336081:c0:m3 |
def _set_show_cluster_management(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=show_cluster_management.show_cluster_management, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, extensions={u'<STR_LIT>': {u'<STR_LIT>': u'<STR_LIT>', u'<STR_LIT>': u'<STR_LIT>'}}, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=True)<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.__show_cluster_management = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for show_cluster_management, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_cluster_management is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_show_cluster_management() directly. | f336081:c0:m4 |
def _get_bd_id(self): | return self.__bd_id<EOL> | Getter method for bd_id, mapped from YANG variable /bridge_domain_state/bridge_domain_list/bd_id (uint32)
YANG Description: BD id | f336082:c0:m3 |
def _set_bd_id(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.__bd_id = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for bd_id, mapped from YANG variable /bridge_domain_state/bridge_domain_list/bd_id (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_bd_id is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_bd_id() directly.
YANG Description: BD id | f336082:c0:m4 |
def _get_vc_id(self): | return self.__vc_id<EOL> | Getter method for vc_id, mapped from YANG variable /bridge_domain_state/bridge_domain_list/vc_id (uint32)
YANG Description: vc id | f336082:c0:m6 |
def _set_vc_id(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.__vc_id = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for vc_id, mapped from YANG variable /bridge_domain_state/bridge_domain_list/vc_id (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_vc_id is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_vc_id() directly.
YANG Description: vc id | f336082:c0:m7 |
def _get_active_ac_lif_count(self): | return self.__active_ac_lif_count<EOL> | Getter method for active_ac_lif_count, mapped from YANG variable /bridge_domain_state/bridge_domain_list/active_ac_lif_count (uint16)
YANG Description: active ac lif count | f336082:c0:m9 |
def _set_active_ac_lif_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=int, restriction_dict={'<STR_LIT>': ['<STR_LIT>']},int_size=<NUM_LIT:16>), 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.__active_ac_lif_count = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for active_ac_lif_count, mapped from YANG variable /bridge_domain_state/bridge_domain_list/active_ac_lif_count (uint16)
If this variable is read-only (config: false) in the
source YANG file, then _set_active_ac_lif_count is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_active_ac_lif_count() directly.
YANG Description: active ac lif count | f336082:c0:m10 |
def _get_config_ac_lif_count(self): | return self.__config_ac_lif_count<EOL> | Getter method for config_ac_lif_count, mapped from YANG variable /bridge_domain_state/bridge_domain_list/config_ac_lif_count (uint16)
YANG Description: config ac lif count | f336082:c0:m12 |
def _set_config_ac_lif_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=int, restriction_dict={'<STR_LIT>': ['<STR_LIT>']},int_size=<NUM_LIT:16>), 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.__config_ac_lif_count = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for config_ac_lif_count, mapped from YANG variable /bridge_domain_state/bridge_domain_list/config_ac_lif_count (uint16)
If this variable is read-only (config: false) in the
source YANG file, then _set_config_ac_lif_count is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_config_ac_lif_count() directly.
YANG Description: config ac lif count | f336082:c0:m13 |
def _get_active_vfi_lif_count(self): | return self.__active_vfi_lif_count<EOL> | Getter method for active_vfi_lif_count, mapped from YANG variable /bridge_domain_state/bridge_domain_list/active_vfi_lif_count (uint16)
YANG Description: active vfi lif count | f336082:c0:m15 |
def _set_active_vfi_lif_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=int, restriction_dict={'<STR_LIT>': ['<STR_LIT>']},int_size=<NUM_LIT:16>), 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.__active_vfi_lif_count = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for active_vfi_lif_count, mapped from YANG variable /bridge_domain_state/bridge_domain_list/active_vfi_lif_count (uint16)
If this variable is read-only (config: false) in the
source YANG file, then _set_active_vfi_lif_count is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_active_vfi_lif_count() directly.
YANG Description: active vfi lif count | f336082:c0:m16 |
def _get_config_vfi_lif_count(self): | return self.__config_vfi_lif_count<EOL> | Getter method for config_vfi_lif_count, mapped from YANG variable /bridge_domain_state/bridge_domain_list/config_vfi_lif_count (uint16)
YANG Description: config vfi lif count | f336082:c0:m18 |
def _set_config_vfi_lif_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=int, restriction_dict={'<STR_LIT>': ['<STR_LIT>']},int_size=<NUM_LIT:16>), 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.__config_vfi_lif_count = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for config_vfi_lif_count, mapped from YANG variable /bridge_domain_state/bridge_domain_list/config_vfi_lif_count (uint16)
If this variable is read-only (config: false) in the
source YANG file, then _set_config_vfi_lif_count is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_config_vfi_lif_count() directly.
YANG Description: config vfi lif count | f336082:c0:m19 |
def _get_local_switching(self): | return self.__local_switching<EOL> | Getter method for local_switching, mapped from YANG variable /bridge_domain_state/bridge_domain_list/local_switching (boolean)
YANG Description: local switching | f336082:c0:m21 |
def _set_local_switching(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.__local_switching = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for local_switching, mapped from YANG variable /bridge_domain_state/bridge_domain_list/local_switching (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_local_switching is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_local_switching() directly.
YANG Description: local switching | f336082:c0:m22 |
def _get_block_bpdu(self): | return self.__block_bpdu<EOL> | Getter method for block_bpdu, mapped from YANG variable /bridge_domain_state/bridge_domain_list/block_bpdu (boolean)
YANG Description: block bpdu | f336082:c0:m24 |
def _set_block_bpdu(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.__block_bpdu = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for block_bpdu, mapped from YANG variable /bridge_domain_state/bridge_domain_list/block_bpdu (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_block_bpdu is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_block_bpdu() directly.
YANG Description: block bpdu | f336082:c0:m25 |
def _get_bd_type(self): | return self.__bd_type<EOL> | Getter method for bd_type, mapped from YANG variable /bridge_domain_state/bridge_domain_list/bd_type (uint16)
YANG Description: bd type | f336082:c0:m27 |
def _set_bd_type(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=int, restriction_dict={'<STR_LIT>': ['<STR_LIT>']},int_size=<NUM_LIT:16>), 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.__bd_type = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for bd_type, mapped from YANG variable /bridge_domain_state/bridge_domain_list/bd_type (uint16)
If this variable is read-only (config: false) in the
source YANG file, then _set_bd_type is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_bd_type() directly.
YANG Description: bd type | f336082:c0:m28 |
def _get_ve_ifindex(self): | return self.__ve_ifindex<EOL> | Getter method for ve_ifindex, mapped from YANG variable /bridge_domain_state/bridge_domain_list/ve_ifindex (uint32)
YANG Description: ve_ifindex | f336082:c0:m30 |
def _set_ve_ifindex(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.__ve_ifindex = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for ve_ifindex, mapped from YANG variable /bridge_domain_state/bridge_domain_list/ve_ifindex (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_ve_ifindex is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_ve_ifindex() directly.
YANG Description: ve_ifindex | f336082:c0:m31 |
def _get_ve_id(self): | return self.__ve_id<EOL> | Getter method for ve_id, mapped from YANG variable /bridge_domain_state/bridge_domain_list/ve_id (uint32)
YANG Description: ve_id | f336082:c0:m33 |
def _set_ve_id(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.__ve_id = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for ve_id, mapped from YANG variable /bridge_domain_state/bridge_domain_list/ve_id (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_ve_id is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_ve_id() directly.
YANG Description: ve_id | f336082:c0:m34 |
def _get_pw_profile(self): | return self.__pw_profile<EOL> | Getter method for pw_profile, mapped from YANG variable /bridge_domain_state/bridge_domain_list/pw_profile (string)
YANG Description: pw_profile | f336082:c0:m36 |
def _set_pw_profile(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.__pw_profile = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for pw_profile, mapped from YANG variable /bridge_domain_state/bridge_domain_list/pw_profile (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_pw_profile is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_pw_profile() directly.
YANG Description: pw_profile | f336082:c0:m37 |
def _get_mac_limit(self): | return self.__mac_limit<EOL> | Getter method for mac_limit, mapped from YANG variable /bridge_domain_state/bridge_domain_list/mac_limit (uint16)
YANG Description: mac_limit | f336082:c0:m39 |
def _set_mac_limit(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=int, restriction_dict={'<STR_LIT>': ['<STR_LIT>']},int_size=<NUM_LIT:16>), 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.__mac_limit = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for mac_limit, mapped from YANG variable /bridge_domain_state/bridge_domain_list/mac_limit (uint16)
If this variable is read-only (config: false) in the
source YANG file, then _set_mac_limit is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_mac_limit() directly.
YANG Description: mac_limit | f336082:c0:m40 |
def _get_statistics(self): | return self.__statistics<EOL> | Getter method for statistics, mapped from YANG variable /bridge_domain_state/bridge_domain_list/statistics (boolean)
YANG Description: statistics | f336082:c0:m42 |
def _set_statistics(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.__statistics = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for statistics, mapped from YANG variable /bridge_domain_state/bridge_domain_list/statistics (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_statistics is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_statistics() directly.
YANG Description: statistics | f336082:c0:m43 |
def _get_mac_addr_withdrawal(self): | return self.__mac_addr_withdrawal<EOL> | Getter method for mac_addr_withdrawal, mapped from YANG variable /bridge_domain_state/bridge_domain_list/mac_addr_withdrawal (boolean)
YANG Description: mac address withdrawal | f336082:c0:m45 |
def _set_mac_addr_withdrawal(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.__mac_addr_withdrawal = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for mac_addr_withdrawal, mapped from YANG variable /bridge_domain_state/bridge_domain_list/mac_addr_withdrawal (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_mac_addr_withdrawal is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_mac_addr_withdrawal() directly.
YANG Description: mac address withdrawal | f336082:c0:m46 |
def _get_mct_enabled(self): | return self.__mct_enabled<EOL> | Getter method for mct_enabled, mapped from YANG variable /bridge_domain_state/bridge_domain_list/mct_enabled (boolean)
YANG Description: mct enabled | f336082:c0:m48 |
def _set_mct_enabled(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.__mct_enabled = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for mct_enabled, mapped from YANG variable /bridge_domain_state/bridge_domain_list/mct_enabled (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_mct_enabled is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_mct_enabled() directly.
YANG Description: mct enabled | f336082:c0:m49 |
def _get_description(self): | return self.__description<EOL> | Getter method for description, mapped from YANG variable /bridge_domain_state/bridge_domain_list/description (string)
YANG Description: bridge domain specific description | f336082:c0:m51 |
def _set_description(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:description>", rest_name="<STR_LIT:description>", 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.__description = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for description, mapped from YANG variable /bridge_domain_state/bridge_domain_list/description (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_description is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_description() directly.
YANG Description: bridge domain specific description | f336082:c0:m52 |
def _get_outer_vlan_list(self): | return self.__outer_vlan_list<EOL> | Getter method for outer_vlan_list, mapped from YANG variable /bridge_domain_state/bridge_domain_list/outer_vlan_list (list)
YANG Description: bd_vlan_tag_info | f336082:c0:m54 |
def _set_outer_vlan_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=YANGListType("<STR_LIT>",outer_vlan_list.outer_vlan_list, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, is_container='<STR_LIT:list>', user_ordered=False, path_helper=self._path_helper, yang_keys='<STR_LIT>', extensions={u'<STR_LIT>': {u'<STR_LIT>': u'<STR_LIT>', u'<STR_LIT>': None}}), is_container='<STR_LIT:list>', yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'<STR_LIT>': {u'<STR_LIT>': u'<STR_LIT>', u'<STR_LIT>': None}}, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:list>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:list>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__outer_vlan_list = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for outer_vlan_list, mapped from YANG variable /bridge_domain_state/bridge_domain_list/outer_vlan_list (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_outer_vlan_list is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_outer_vlan_list() directly.
YANG Description: bd_vlan_tag_info | f336082:c0:m55 |
def _get_telnet(self): | return self.__telnet<EOL> | Getter method for telnet, mapped from YANG variable /telnet_sa/telnet (container) | f336083:c0:m3 |
def _set_telnet(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=telnet.telnet, is_container='<STR_LIT>', presence=False, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'<STR_LIT>': {u'<STR_LIT:info>': u'<STR_LIT>', u'<STR_LIT>': None, u'<STR_LIT>': u'<STR_LIT:4>'}}, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=True)<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.__telnet = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for telnet, mapped from YANG variable /telnet_sa/telnet (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_telnet is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_telnet() directly. | f336083:c0:m4 |
def _get_bd_id(self): | return self.__bd_id<EOL> | Getter method for bd_id, mapped from YANG variable /igmp_multicast_snooping_bridge_domains_state/bd_id (uint32)
YANG Description: bridge domain id | f336084:c0:m3 |
def _set_bd_id(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.__bd_id = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for bd_id, mapped from YANG variable /igmp_multicast_snooping_bridge_domains_state/bd_id (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_bd_id is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_bd_id() directly.
YANG Description: bridge domain id | f336084:c0:m4 |
def _get_igmp_multicast_snooping_bridge_domains(self): | return self.__igmp_multicast_snooping_bridge_domains<EOL> | Getter method for igmp_multicast_snooping_bridge_domains, mapped from YANG variable /igmp_multicast_snooping_bridge_domains_state/igmp_multicast_snooping_bridge_domains (list)
YANG Description: Multicast snooping bridge domain | f336084:c0:m6 |
def _set_igmp_multicast_snooping_bridge_domains(self, v, load=False): | if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=YANGListType("<STR_LIT>",igmp_multicast_snooping_bridge_domains.igmp_multicast_snooping_bridge_domains, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, is_container='<STR_LIT:list>', user_ordered=False, path_helper=self._path_helper, yang_keys='<STR_LIT>', extensions={u'<STR_LIT>': {u'<STR_LIT>': u'<STR_LIT>', u'<STR_LIT>': None}}), is_container='<STR_LIT:list>', yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'<STR_LIT>': {u'<STR_LIT>': u'<STR_LIT>', u'<STR_LIT>': None}}, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:list>', is_config=False)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:list>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__igmp_multicast_snooping_bridge_domains = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for igmp_multicast_snooping_bridge_domains, mapped from YANG variable /igmp_multicast_snooping_bridge_domains_state/igmp_multicast_snooping_bridge_domains (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_igmp_multicast_snooping_bridge_domains is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_igmp_multicast_snooping_bridge_domains() directly.
YANG Description: Multicast snooping bridge domain | f336084:c0:m7 |
def _get_bd_id(self): | return self.__bd_id<EOL> | Getter method for bd_id, mapped from YANG variable /igmp_multicast_snooping_bridge_domains_state/igmp_multicast_snooping_bridge_domains/bd_id (uint32)
YANG Description: bridge domain id | f336085:c0:m3 |
def _set_bd_id(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.__bd_id = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for bd_id, mapped from YANG variable /igmp_multicast_snooping_bridge_domains_state/igmp_multicast_snooping_bridge_domains/bd_id (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_bd_id is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_bd_id() directly.
YANG Description: bridge domain id | f336085:c0:m4 |
def _get_pim_sn_status(self): | return self.__pim_sn_status<EOL> | Getter method for pim_sn_status, mapped from YANG variable /igmp_multicast_snooping_bridge_domains_state/igmp_multicast_snooping_bridge_domains/pim_sn_status (uint8)
YANG Description: Is pim snooping enabled | f336085:c0:m6 |
def _set_pim_sn_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=RestrictedClassType(base_type=int, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:8>), 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.__pim_sn_status = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for pim_sn_status, mapped from YANG variable /igmp_multicast_snooping_bridge_domains_state/igmp_multicast_snooping_bridge_domains/pim_sn_status (uint8)
If this variable is read-only (config: false) in the
source YANG file, then _set_pim_sn_status is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_pim_sn_status() directly.
YANG Description: Is pim snooping enabled | f336085:c0:m7 |
def _get_igmp_sn_status(self): | return self.__igmp_sn_status<EOL> | Getter method for igmp_sn_status, mapped from YANG variable /igmp_multicast_snooping_bridge_domains_state/igmp_multicast_snooping_bridge_domains/igmp_sn_status (uint8)
YANG Description: Is igmp snooping enabled | f336085:c0:m9 |
def _set_igmp_sn_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=RestrictedClassType(base_type=int, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:8>), 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.__igmp_sn_status = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for igmp_sn_status, mapped from YANG variable /igmp_multicast_snooping_bridge_domains_state/igmp_multicast_snooping_bridge_domains/igmp_sn_status (uint8)
If this variable is read-only (config: false) in the
source YANG file, then _set_igmp_sn_status is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_igmp_sn_status() directly.
YANG Description: Is igmp snooping enabled | f336085:c0:m10 |
def _get_igmp_version(self): | return self.__igmp_version<EOL> | Getter method for igmp_version, mapped from YANG variable /igmp_multicast_snooping_bridge_domains_state/igmp_multicast_snooping_bridge_domains/igmp_version (uint8)
YANG Description: IGMP version enabled on a vlan | f336085:c0:m12 |
def _set_igmp_version(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=int, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:8>), 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.__igmp_version = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for igmp_version, mapped from YANG variable /igmp_multicast_snooping_bridge_domains_state/igmp_multicast_snooping_bridge_domains/igmp_version (uint8)
If this variable is read-only (config: false) in the
source YANG file, then _set_igmp_version is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_igmp_version() directly.
YANG Description: IGMP version enabled on a vlan | f336085:c0:m13 |
def _get_pw_profile_name(self): | return self.__pw_profile_name<EOL> | Getter method for pw_profile_name, mapped from YANG variable /pw_profile/pw_profile_name (common-def:name-string64) | f336086:c0:m3 |
def _set_pw_profile_name(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, extensions={u'<STR_LIT>': {u'<STR_LIT>': None, u'<STR_LIT:info>': u'<STR_LIT>', u'<STR_LIT>': None}}, is_keyval=True, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=True)<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.__pw_profile_name = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for pw_profile_name, mapped from YANG variable /pw_profile/pw_profile_name (common-def:name-string64)
If this variable is read-only (config: false) in the
source YANG file, then _set_pw_profile_name is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_pw_profile_name() directly. | f336086:c0:m4 |
def _get_mtu_value(self): | return self.__mtu_value<EOL> | Getter method for mtu_value, mapped from YANG variable /pw_profile/mtu_value (uint32)
YANG Description: MTU value is used during Psuedo Wire setup signalling. | f336086:c0:m6 |
def _set_mtu_value(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=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>), restriction_dict={'<STR_LIT>': [u'<STR_LIT>']}), default=RestrictedClassType(base_type=long, restriction_dict={'<STR_LIT>': ['<STR_LIT>']}, int_size=<NUM_LIT:32>)(<NUM_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, extensions={u'<STR_LIT>': {u'<STR_LIT>': None, u'<STR_LIT:info>': u'<STR_LIT>', u'<STR_LIT>': u'<STR_LIT>', u'<STR_LIT>': None}}, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=True)<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.__mtu_value = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for mtu_value, mapped from YANG variable /pw_profile/mtu_value (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_mtu_value is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_mtu_value() directly.
YANG Description: MTU value is used during Psuedo Wire setup signalling. | f336086:c0:m7 |
def _get_mtu_enforce(self): | return self.__mtu_enforce<EOL> | Getter method for mtu_enforce, mapped from YANG variable /pw_profile/mtu_enforce (boolean)
YANG Description: Whether to enforce mtu check during PW signalling | f336086:c0:m9 |
def _set_mtu_enforce(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, extensions={u'<STR_LIT>': {u'<STR_LIT:info>': u'<STR_LIT>', u'<STR_LIT>': None, u'<STR_LIT>': None}}, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=True)<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.__mtu_enforce = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT> | Setter method for mtu_enforce, mapped from YANG variable /pw_profile/mtu_enforce (boolean)
If this variable is read-only (config: false) in the
source YANG file, then _set_mtu_enforce is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_mtu_enforce() directly.
YANG Description: Whether to enforce mtu check during PW signalling | f336086:c0:m10 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.