repo stringlengths 7 55 | path stringlengths 4 223 | func_name stringlengths 1 134 | original_string stringlengths 75 104k | language stringclasses 1
value | code stringlengths 75 104k | code_tokens listlengths 19 28.4k | docstring stringlengths 1 46.9k | docstring_tokens listlengths 1 1.97k | sha stringlengths 40 40 | url stringlengths 87 315 | partition stringclasses 3
values | summary stringlengths 4 350 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
StackStorm/pybind | pybind/slxos/v17s_1_02/isis_state/router_isis_config/is_address_family_v6/__init__.py | is_address_family_v6._set_redist_static | def _set_redist_static(self, v, load=False):
"""
Setter method for redist_static, mapped from YANG variable /isis_state/router_isis_config/is_address_family_v6/redist_static (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_redist_static is considered as a priv... | python | def _set_redist_static(self, v, load=False):
"""
Setter method for redist_static, mapped from YANG variable /isis_state/router_isis_config/is_address_family_v6/redist_static (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_redist_static is considered as a priv... | [
"def",
"_set_redist_static",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"... | Setter method for redist_static, mapped from YANG variable /isis_state/router_isis_config/is_address_family_v6/redist_static (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_redist_static is considered as a private
method. Backends looking to populate this variabl... | [
"Setter",
"method",
"for",
"redist_static",
"mapped",
"from",
"YANG",
"variable",
"/",
"isis_state",
"/",
"router_isis_config",
"/",
"is_address_family_v6",
"/",
"redist_static",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"c... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/isis_state/router_isis_config/is_address_family_v6/__init__.py#L525-L546 | train | Sets the redist static property of the node. |
StackStorm/pybind | pybind/slxos/v17s_1_02/isis_state/router_isis_config/is_address_family_v6/__init__.py | is_address_family_v6._set_redist_connected | def _set_redist_connected(self, v, load=False):
"""
Setter method for redist_connected, mapped from YANG variable /isis_state/router_isis_config/is_address_family_v6/redist_connected (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_redist_connected is consider... | python | def _set_redist_connected(self, v, load=False):
"""
Setter method for redist_connected, mapped from YANG variable /isis_state/router_isis_config/is_address_family_v6/redist_connected (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_redist_connected is consider... | [
"def",
"_set_redist_connected",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for redist_connected, mapped from YANG variable /isis_state/router_isis_config/is_address_family_v6/redist_connected (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_redist_connected is considered as a private
method. Backends looking to populate thi... | [
"Setter",
"method",
"for",
"redist_connected",
"mapped",
"from",
"YANG",
"variable",
"/",
"isis_state",
"/",
"router_isis_config",
"/",
"is_address_family_v6",
"/",
"redist_connected",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"("... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/isis_state/router_isis_config/is_address_family_v6/__init__.py#L558-L579 | train | Sets the redist - connected property of the node. |
StackStorm/pybind | pybind/slxos/v17s_1_02/isis_state/router_isis_config/is_address_family_v6/__init__.py | is_address_family_v6._set_redist_rip | def _set_redist_rip(self, v, load=False):
"""
Setter method for redist_rip, mapped from YANG variable /isis_state/router_isis_config/is_address_family_v6/redist_rip (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_redist_rip is considered as a private
meth... | python | def _set_redist_rip(self, v, load=False):
"""
Setter method for redist_rip, mapped from YANG variable /isis_state/router_isis_config/is_address_family_v6/redist_rip (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_redist_rip is considered as a private
meth... | [
"def",
"_set_redist_rip",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for redist_rip, mapped from YANG variable /isis_state/router_isis_config/is_address_family_v6/redist_rip (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_redist_rip is considered as a private
method. Backends looking to populate this variable should
... | [
"Setter",
"method",
"for",
"redist_rip",
"mapped",
"from",
"YANG",
"variable",
"/",
"isis_state",
"/",
"router_isis_config",
"/",
"is_address_family_v6",
"/",
"redist_rip",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/isis_state/router_isis_config/is_address_family_v6/__init__.py#L591-L612 | train | Sets the redist rip property of the node. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/overlay_gateway/ip/interface/__init__.py | interface._set_loopback | def _set_loopback(self, v, load=False):
"""
Setter method for loopback, mapped from YANG variable /overlay_gateway/ip/interface/loopback (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_loopback is considered as a private
method. Backends looking to popula... | python | def _set_loopback(self, v, load=False):
"""
Setter method for loopback, mapped from YANG variable /overlay_gateway/ip/interface/loopback (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_loopback is considered as a private
method. Backends looking to popula... | [
"def",
"_set_loopback",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for loopback, mapped from YANG variable /overlay_gateway/ip/interface/loopback (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_loopback is considered as a private
method. Backends looking to populate this variable should
do so via calling thisOb... | [
"Setter",
"method",
"for",
"loopback",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay_gateway",
"/",
"ip",
"/",
"interface",
"/",
"loopback",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/overlay_gateway/ip/interface/__init__.py#L127-L148 | train | Sets the loopback variable for the
|
StackStorm/pybind | pybind/nos/v6_0_2f/rbridge_id/ipv6/__init__.py | ipv6._set_proto_vrrpv3 | def _set_proto_vrrpv3(self, v, load=False):
"""
Setter method for proto_vrrpv3, mapped from YANG variable /rbridge_id/ipv6/proto_vrrpv3 (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_proto_vrrpv3 is considered as a private
method. Backends looking to pop... | python | def _set_proto_vrrpv3(self, v, load=False):
"""
Setter method for proto_vrrpv3, mapped from YANG variable /rbridge_id/ipv6/proto_vrrpv3 (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_proto_vrrpv3 is considered as a private
method. Backends looking to pop... | [
"def",
"_set_proto_vrrpv3",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"b... | Setter method for proto_vrrpv3, mapped from YANG variable /rbridge_id/ipv6/proto_vrrpv3 (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_proto_vrrpv3 is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj... | [
"Setter",
"method",
"for",
"proto_vrrpv3",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"ipv6",
"/",
"proto_vrrpv3",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/ipv6/__init__.py#L347-L368 | train | Sets the protocol field of the
based on the given proto_vrrpv3 configuration. |
StackStorm/pybind | pybind/nos/v6_0_2f/interface/port_channel/ip/arp/__init__.py | arp._set_inspection | def _set_inspection(self, v, load=False):
"""
Setter method for inspection, mapped from YANG variable /interface/port_channel/ip/arp/inspection (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_inspection is considered as a private
method. Backends looking ... | python | def _set_inspection(self, v, load=False):
"""
Setter method for inspection, mapped from YANG variable /interface/port_channel/ip/arp/inspection (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_inspection is considered as a private
method. Backends looking ... | [
"def",
"_set_inspection",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for inspection, mapped from YANG variable /interface/port_channel/ip/arp/inspection (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_inspection is considered as a private
method. Backends looking to populate this variable should
do so via calling... | [
"Setter",
"method",
"for",
"inspection",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"port_channel",
"/",
"ip",
"/",
"arp",
"/",
"inspection",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/port_channel/ip/arp/__init__.py#L92-L113 | train | Set the inspection flag for the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/cspf_group/__init__.py | cspf_group._set_cspf_group_ip | def _set_cspf_group_ip(self, v, load=False):
"""
Setter method for cspf_group_ip, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/cspf_group/cspf_group_ip (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_cspf_group_ip is considered as a private
... | python | def _set_cspf_group_ip(self, v, load=False):
"""
Setter method for cspf_group_ip, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/cspf_group/cspf_group_ip (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_cspf_group_ip is considered as a private
... | [
"def",
"_set_cspf_group_ip",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"... | Setter method for cspf_group_ip, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/cspf_group/cspf_group_ip (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_cspf_group_ip is considered as a private
method. Backends looking to populate this variable sh... | [
"Setter",
"method",
"for",
"cspf_group_ip",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_config",
"/",
"router",
"/",
"mpls",
"/",
"mpls_cmds_holder",
"/",
"cspf_group",
"/",
"cspf_group_ip",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/cspf_group/__init__.py#L139-L160 | train | Sets the cspf group ip address. |
StackStorm/pybind | pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/cspf_group/__init__.py | cspf_group._set_cspf_group_link | def _set_cspf_group_link(self, v, load=False):
"""
Setter method for cspf_group_link, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/cspf_group/cspf_group_link (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_cspf_group_link is considered as a ... | python | def _set_cspf_group_link(self, v, load=False):
"""
Setter method for cspf_group_link, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/cspf_group/cspf_group_link (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_cspf_group_link is considered as a ... | [
"def",
"_set_cspf_group_link",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for cspf_group_link, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/cspf_group/cspf_group_link (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_cspf_group_link is considered as a private
method. Backends looking to populate this varia... | [
"Setter",
"method",
"for",
"cspf_group_link",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_config",
"/",
"router",
"/",
"mpls",
"/",
"mpls_cmds_holder",
"/",
"cspf_group",
"/",
"cspf_group_link",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/cspf_group/__init__.py#L172-L193 | train | Sets the cspf group link for the cluster. |
StackStorm/pybind | pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/cspf_group/__init__.py | cspf_group._set_cspf_group_subnet | def _set_cspf_group_subnet(self, v, load=False):
"""
Setter method for cspf_group_subnet, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/cspf_group/cspf_group_subnet (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_cspf_group_subnet is consider... | python | def _set_cspf_group_subnet(self, v, load=False):
"""
Setter method for cspf_group_subnet, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/cspf_group/cspf_group_subnet (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_cspf_group_subnet is consider... | [
"def",
"_set_cspf_group_subnet",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",... | Setter method for cspf_group_subnet, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/cspf_group/cspf_group_subnet (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_cspf_group_subnet is considered as a private
method. Backends looking to populate this... | [
"Setter",
"method",
"for",
"cspf_group_subnet",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_config",
"/",
"router",
"/",
"mpls",
"/",
"mpls_cmds_holder",
"/",
"cspf_group",
"/",
"cspf_group_subnet",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/cspf_group/__init__.py#L205-L226 | train | Sets the subnet of the cspf group. |
StackStorm/pybind | pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/cspf_group/__init__.py | cspf_group._set_cspf_group_node | def _set_cspf_group_node(self, v, load=False):
"""
Setter method for cspf_group_node, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/cspf_group/cspf_group_node (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_cspf_group_node is considered as a ... | python | def _set_cspf_group_node(self, v, load=False):
"""
Setter method for cspf_group_node, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/cspf_group/cspf_group_node (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_cspf_group_node is considered as a ... | [
"def",
"_set_cspf_group_node",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for cspf_group_node, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/cspf_group/cspf_group_node (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_cspf_group_node is considered as a private
method. Backends looking to populate this varia... | [
"Setter",
"method",
"for",
"cspf_group_node",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_config",
"/",
"router",
"/",
"mpls",
"/",
"mpls_cmds_holder",
"/",
"cspf_group",
"/",
"cspf_group_node",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/cspf_group/__init__.py#L238-L259 | train | Sets cspf group node. |
StackStorm/pybind | pybind/slxos/v17s_1_02/interface/ethernet/logical_interface/__init__.py | logical_interface._set_ethernet | def _set_ethernet(self, v, load=False):
"""
Setter method for ethernet, mapped from YANG variable /interface/ethernet/logical_interface/ethernet (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ethernet is considered as a private
method. Backends looking to pop... | python | def _set_ethernet(self, v, load=False):
"""
Setter method for ethernet, mapped from YANG variable /interface/ethernet/logical_interface/ethernet (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ethernet is considered as a private
method. Backends looking to pop... | [
"def",
"_set_ethernet",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for ethernet, mapped from YANG variable /interface/ethernet/logical_interface/ethernet (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ethernet is considered as a private
method. Backends looking to populate this variable should
do so via calling thi... | [
"Setter",
"method",
"for",
"ethernet",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"ethernet",
"/",
"logical_interface",
"/",
"ethernet",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/interface/ethernet/logical_interface/__init__.py#L92-L113 | train | Set ethernet properties. |
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py | ext_seq._set_ext_dst_vtep_ip | def _set_ext_dst_vtep_ip(self, v, load=False):
"""
Setter method for ext_dst_vtep_ip, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/ext_dst_vtep_ip (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_dst_vtep_ip is conside... | python | def _set_ext_dst_vtep_ip(self, v, load=False):
"""
Setter method for ext_dst_vtep_ip, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/ext_dst_vtep_ip (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_dst_vtep_ip is conside... | [
"def",
"_set_ext_dst_vtep_ip",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for ext_dst_vtep_ip, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/ext_dst_vtep_ip (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_dst_vtep_ip is considered as a private
method. Backends looking to populate t... | [
"Setter",
"method",
"for",
"ext_dst_vtep_ip",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"extended",
"/",
"ext_seq",
"/",
"ext_dst_vtep_ip",
"(",
"inet",
":",
"ipv4",
"-",
"address",
")",
"If",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py#L186-L207 | train | Sets the ip address of the extended VXLAN destination VTEP. |
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py | ext_seq._set_ext_dst_vtep_ip_any | def _set_ext_dst_vtep_ip_any(self, v, load=False):
"""
Setter method for ext_dst_vtep_ip_any, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/ext_dst_vtep_ip_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_dst_vtep_ip_any is con... | python | def _set_ext_dst_vtep_ip_any(self, v, load=False):
"""
Setter method for ext_dst_vtep_ip_any, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/ext_dst_vtep_ip_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_dst_vtep_ip_any is con... | [
"def",
"_set_ext_dst_vtep_ip_any",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",... | Setter method for ext_dst_vtep_ip_any, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/ext_dst_vtep_ip_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_dst_vtep_ip_any is considered as a private
method. Backends looking to populate t... | [
"Setter",
"method",
"for",
"ext_dst_vtep_ip_any",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"extended",
"/",
"ext_seq",
"/",
"ext_dst_vtep_ip_any",
"(",
"empty",
")",
"If",
"this",
"variable",
"is... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py#L219-L240 | train | Set the value of ext_dst_vtep_ip_any in the VXLAN extended sequence. |
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py | ext_seq._set_ext_src_vtep_ip | def _set_ext_src_vtep_ip(self, v, load=False):
"""
Setter method for ext_src_vtep_ip, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/ext_src_vtep_ip (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_src_vtep_ip is conside... | python | def _set_ext_src_vtep_ip(self, v, load=False):
"""
Setter method for ext_src_vtep_ip, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/ext_src_vtep_ip (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_src_vtep_ip is conside... | [
"def",
"_set_ext_src_vtep_ip",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for ext_src_vtep_ip, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/ext_src_vtep_ip (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_src_vtep_ip is considered as a private
method. Backends looking to populate t... | [
"Setter",
"method",
"for",
"ext_src_vtep_ip",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"extended",
"/",
"ext_seq",
"/",
"ext_src_vtep_ip",
"(",
"inet",
":",
"ipv4",
"-",
"address",
")",
"If",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py#L252-L273 | train | Sets the ip address of the extended source VTEP. |
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py | ext_seq._set_ext_src_vtep_ip_any | def _set_ext_src_vtep_ip_any(self, v, load=False):
"""
Setter method for ext_src_vtep_ip_any, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/ext_src_vtep_ip_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_src_vtep_ip_any is con... | python | def _set_ext_src_vtep_ip_any(self, v, load=False):
"""
Setter method for ext_src_vtep_ip_any, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/ext_src_vtep_ip_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_src_vtep_ip_any is con... | [
"def",
"_set_ext_src_vtep_ip_any",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",... | Setter method for ext_src_vtep_ip_any, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/ext_src_vtep_ip_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_src_vtep_ip_any is considered as a private
method. Backends looking to populate t... | [
"Setter",
"method",
"for",
"ext_src_vtep_ip_any",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"extended",
"/",
"ext_seq",
"/",
"ext_src_vtep_ip_any",
"(",
"empty",
")",
"If",
"this",
"variable",
"is... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py#L285-L306 | train | Set the value of ext_src_vtep_ip_any in the external sequence. |
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py | ext_seq._set_ext_vni | def _set_ext_vni(self, v, load=False):
"""
Setter method for ext_vni, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/ext_vni (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_vni is considered as a private
method. Backends looki... | python | def _set_ext_vni(self, v, load=False):
"""
Setter method for ext_vni, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/ext_vni (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_vni is considered as a private
method. Backends looki... | [
"def",
"_set_ext_vni",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",... | Setter method for ext_vni, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/ext_vni (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_vni is considered as a private
method. Backends looking to populate this variable should
do so via c... | [
"Setter",
"method",
"for",
"ext_vni",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"extended",
"/",
"ext_seq",
"/",
"ext_vni",
"(",
"uint32",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py#L318-L339 | train | Set the ext_vni field of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py | ext_seq._set_ext_vni_any | def _set_ext_vni_any(self, v, load=False):
"""
Setter method for ext_vni_any, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/ext_vni_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_vni_any is considered as a private
method.... | python | def _set_ext_vni_any(self, v, load=False):
"""
Setter method for ext_vni_any, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/ext_vni_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_vni_any is considered as a private
method.... | [
"def",
"_set_ext_vni_any",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for ext_vni_any, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/ext_vni_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_vni_any is considered as a private
method. Backends looking to populate this variable should
... | [
"Setter",
"method",
"for",
"ext_vni_any",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"extended",
"/",
"ext_seq",
"/",
"ext_vni_any",
"(",
"empty",
")",
"If",
"this",
"variable",
"is",
"read",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py#L351-L372 | train | Set the value of ext_vni_any in the order of the VNIs in the extended list. |
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py | ext_seq._set_ext_vni_mask | def _set_ext_vni_mask(self, v, load=False):
"""
Setter method for ext_vni_mask, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/ext_vni_mask (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_vni_mask is considered as a private
me... | python | def _set_ext_vni_mask(self, v, load=False):
"""
Setter method for ext_vni_mask, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/ext_vni_mask (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_vni_mask is considered as a private
me... | [
"def",
"_set_ext_vni_mask",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"b... | Setter method for ext_vni_mask, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/ext_vni_mask (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_vni_mask is considered as a private
method. Backends looking to populate this variable should
... | [
"Setter",
"method",
"for",
"ext_vni_mask",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"extended",
"/",
"ext_seq",
"/",
"ext_vni_mask",
"(",
"string",
")",
"If",
"this",
"variable",
"is",
"read",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py#L384-L405 | train | Sets the ext_vni_mask of the base order order. |
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py | ext_seq._set_tag | def _set_tag(self, v, load=False):
"""
Setter method for tag, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/tag (enumeration)
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 popul... | python | def _set_tag(self, v, load=False):
"""
Setter method for tag, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/tag (enumeration)
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 popul... | [
"def",
"_set_tag",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
"... | Setter method for tag, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/tag (enumeration)
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 ... | [
"Setter",
"method",
"for",
"tag",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"extended",
"/",
"ext_seq",
"/",
"tag",
"(",
"enumeration",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"onl... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py#L582-L603 | train | Set the tag of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py | ext_seq._set_dst_ip_host | def _set_dst_ip_host(self, v, load=False):
"""
Setter method for dst_ip_host, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/dst_ip_host (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_ip_host is considered as a private... | python | def _set_dst_ip_host(self, v, load=False):
"""
Setter method for dst_ip_host, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/dst_ip_host (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_ip_host is considered as a private... | [
"def",
"_set_dst_ip_host",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for dst_ip_host, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/dst_ip_host (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_ip_host is considered as a private
method. Backends looking to populate this variable... | [
"Setter",
"method",
"for",
"dst_ip_host",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"extended",
"/",
"ext_seq",
"/",
"dst_ip_host",
"(",
"inet",
":",
"ipv4",
"-",
"address",
")",
"If",
"this",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py#L615-L636 | train | Sets the destination IP host of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py | ext_seq._set_dst_ip | def _set_dst_ip(self, v, load=False):
"""
Setter method for dst_ip, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/dst_ip (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_ip is considered as a private
method. Backends looking to... | python | def _set_dst_ip(self, v, load=False):
"""
Setter method for dst_ip, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/dst_ip (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_ip is considered as a private
method. Backends looking to... | [
"def",
"_set_dst_ip",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for dst_ip, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/dst_ip (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_ip is considered as a private
method. Backends looking to populate this variable should
do so via calli... | [
"Setter",
"method",
"for",
"dst_ip",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"extended",
"/",
"ext_seq",
"/",
"dst_ip",
"(",
"union",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"onl... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py#L648-L669 | train | Sets the destination IP of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py | ext_seq._set_dst_ip_any | def _set_dst_ip_any(self, v, load=False):
"""
Setter method for dst_ip_any, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/dst_ip_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_ip_any is considered as a private
method. Bac... | python | def _set_dst_ip_any(self, v, load=False):
"""
Setter method for dst_ip_any, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/dst_ip_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_ip_any is considered as a private
method. Bac... | [
"def",
"_set_dst_ip_any",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for dst_ip_any, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/dst_ip_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_ip_any is considered as a private
method. Backends looking to populate this variable should
do ... | [
"Setter",
"method",
"for",
"dst_ip_any",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"extended",
"/",
"ext_seq",
"/",
"dst_ip_any",
"(",
"empty",
")",
"If",
"this",
"variable",
"is",
"read",
"-"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py#L681-L702 | train | Set the value of dst_ip_any in the order of the destination IP address. |
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py | ext_seq._set_src_ip_host | def _set_src_ip_host(self, v, load=False):
"""
Setter method for src_ip_host, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/src_ip_host (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_ip_host is considered as a private... | python | def _set_src_ip_host(self, v, load=False):
"""
Setter method for src_ip_host, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/src_ip_host (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_ip_host is considered as a private... | [
"def",
"_set_src_ip_host",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for src_ip_host, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/src_ip_host (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_ip_host is considered as a private
method. Backends looking to populate this variable... | [
"Setter",
"method",
"for",
"src_ip_host",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"extended",
"/",
"ext_seq",
"/",
"src_ip_host",
"(",
"inet",
":",
"ipv4",
"-",
"address",
")",
"If",
"this",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py#L714-L735 | train | Sets the value of src_ip_host in the order of the IP addresses. |
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py | ext_seq._set_src_ip | def _set_src_ip(self, v, load=False):
"""
Setter method for src_ip, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/src_ip (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_ip is considered as a private
method. Backends looking to... | python | def _set_src_ip(self, v, load=False):
"""
Setter method for src_ip, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/src_ip (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_ip is considered as a private
method. Backends looking to... | [
"def",
"_set_src_ip",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for src_ip, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/src_ip (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_ip is considered as a private
method. Backends looking to populate this variable should
do so via calli... | [
"Setter",
"method",
"for",
"src_ip",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"extended",
"/",
"ext_seq",
"/",
"src_ip",
"(",
"union",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"onl... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py#L747-L768 | train | Sets the src_ip of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py | ext_seq._set_src_ip_any | def _set_src_ip_any(self, v, load=False):
"""
Setter method for src_ip_any, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/src_ip_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_ip_any is considered as a private
method. Bac... | python | def _set_src_ip_any(self, v, load=False):
"""
Setter method for src_ip_any, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/src_ip_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_ip_any is considered as a private
method. Bac... | [
"def",
"_set_src_ip_any",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for src_ip_any, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/src_ip_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_ip_any is considered as a private
method. Backends looking to populate this variable should
do ... | [
"Setter",
"method",
"for",
"src_ip_any",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"extended",
"/",
"ext_seq",
"/",
"src_ip_any",
"(",
"empty",
")",
"If",
"this",
"variable",
"is",
"read",
"-"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py#L780-L801 | train | Set the value of src_ip_any in the order of the source IP address. |
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py | ext_seq._set_dst_port | def _set_dst_port(self, v, load=False):
"""
Setter method for dst_port, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/dst_port (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_port is considered as a private
method. Backends l... | python | def _set_dst_port(self, v, load=False):
"""
Setter method for dst_port, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/dst_port (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_port is considered as a private
method. Backends l... | [
"def",
"_set_dst_port",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for dst_port, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/dst_port (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_port is considered as a private
method. Backends looking to populate this variable should
do so vi... | [
"Setter",
"method",
"for",
"dst_port",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"extended",
"/",
"ext_seq",
"/",
"dst_port",
"(",
"uint32",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py#L813-L834 | train | Set the destination port of the
. |
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py | ext_seq._set_dst_port_any | def _set_dst_port_any(self, v, load=False):
"""
Setter method for dst_port_any, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/dst_port_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_port_any is considered as a private
met... | python | def _set_dst_port_any(self, v, load=False):
"""
Setter method for dst_port_any, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/dst_port_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_port_any is considered as a private
met... | [
"def",
"_set_dst_port_any",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"b... | Setter method for dst_port_any, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/dst_port_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_port_any is considered as a private
method. Backends looking to populate this variable should
... | [
"Setter",
"method",
"for",
"dst_port_any",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"extended",
"/",
"ext_seq",
"/",
"dst_port_any",
"(",
"empty",
")",
"If",
"this",
"variable",
"is",
"read",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py#L846-L867 | train | Set the value of dst_port_any in the order of the destination IP address. |
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py | ext_seq._set_src_port | def _set_src_port(self, v, load=False):
"""
Setter method for src_port, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/src_port (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_port is considered as a private
method. Backends l... | python | def _set_src_port(self, v, load=False):
"""
Setter method for src_port, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/src_port (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_port is considered as a private
method. Backends l... | [
"def",
"_set_src_port",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for src_port, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/src_port (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_port is considered as a private
method. Backends looking to populate this variable should
do so vi... | [
"Setter",
"method",
"for",
"src_port",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"extended",
"/",
"ext_seq",
"/",
"src_port",
"(",
"uint32",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py#L879-L900 | train | Sets the src_port of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py | ext_seq._set_src_port_any | def _set_src_port_any(self, v, load=False):
"""
Setter method for src_port_any, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/src_port_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_port_any is considered as a private
met... | python | def _set_src_port_any(self, v, load=False):
"""
Setter method for src_port_any, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/src_port_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_port_any is considered as a private
met... | [
"def",
"_set_src_port_any",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"b... | Setter method for src_port_any, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq/src_port_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_port_any is considered as a private
method. Backends looking to populate this variable should
... | [
"Setter",
"method",
"for",
"src_port_any",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"extended",
"/",
"ext_seq",
"/",
"src_port_any",
"(",
"empty",
")",
"If",
"this",
"variable",
"is",
"read",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/ext_seq/__init__.py#L912-L933 | train | Set the value of src_port_any in the order they appear. |
StackStorm/pybind | pybind/nos/v6_0_2f/hardware/__init__.py | hardware._set_connector_group | def _set_connector_group(self, v, load=False):
"""
Setter method for connector_group, mapped from YANG variable /hardware/connector_group (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_connector_group is considered as a private
method. Backends looking to pop... | python | def _set_connector_group(self, v, load=False):
"""
Setter method for connector_group, mapped from YANG variable /hardware/connector_group (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_connector_group is considered as a private
method. Backends looking to pop... | [
"def",
"_set_connector_group",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for connector_group, mapped from YANG variable /hardware/connector_group (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_connector_group is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._s... | [
"Setter",
"method",
"for",
"connector_group",
"mapped",
"from",
"YANG",
"variable",
"/",
"hardware",
"/",
"connector_group",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YA... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/hardware/__init__.py#L170-L191 | train | Sets the connector group for the
|
StackStorm/pybind | pybind/nos/v6_0_2f/hardware/__init__.py | hardware._set_flexport | def _set_flexport(self, v, load=False):
"""
Setter method for flexport, mapped from YANG variable /hardware/flexport (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_flexport is considered as a private
method. Backends looking to populate this variable should
... | python | def _set_flexport(self, v, load=False):
"""
Setter method for flexport, mapped from YANG variable /hardware/flexport (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_flexport is considered as a private
method. Backends looking to populate this variable should
... | [
"def",
"_set_flexport",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for flexport, mapped from YANG variable /hardware/flexport (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_flexport is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_flexport() directl... | [
"Setter",
"method",
"for",
"flexport",
"mapped",
"from",
"YANG",
"variable",
"/",
"hardware",
"/",
"flexport",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"file",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/hardware/__init__.py#L203-L224 | train | Sets the value of the flexport variable in the hardware resource. |
StackStorm/pybind | pybind/nos/v6_0_2f/preprovision/__init__.py | preprovision._set_rbridge_id | def _set_rbridge_id(self, v, load=False):
"""
Setter method for rbridge_id, mapped from YANG variable /preprovision/rbridge_id (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_rbridge_id is considered as a private
method. Backends looking to populate this varia... | python | def _set_rbridge_id(self, v, load=False):
"""
Setter method for rbridge_id, mapped from YANG variable /preprovision/rbridge_id (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_rbridge_id is considered as a private
method. Backends looking to populate this varia... | [
"def",
"_set_rbridge_id",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for rbridge_id, mapped from YANG variable /preprovision/rbridge_id (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_rbridge_id is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_rbridge_... | [
"Setter",
"method",
"for",
"rbridge_id",
"mapped",
"from",
"YANG",
"variable",
"/",
"preprovision",
"/",
"rbridge_id",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/preprovision/__init__.py#L94-L115 | train | Set the rbridge - id of the node. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/routing_system/route_map/content/match/additional_paths/advertise_set/__init__.py | advertise_set._set_best | def _set_best(self, v, load=False):
"""
Setter method for best, mapped from YANG variable /routing_system/route_map/content/match/additional_paths/advertise_set/best (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_best is considered as a private
method. Back... | python | def _set_best(self, v, load=False):
"""
Setter method for best, mapped from YANG variable /routing_system/route_map/content/match/additional_paths/advertise_set/best (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_best is considered as a private
method. Back... | [
"def",
"_set_best",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for best, mapped from YANG variable /routing_system/route_map/content/match/additional_paths/advertise_set/best (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_best is considered as a private
method. Backends looking to populate this variable should
... | [
"Setter",
"method",
"for",
"best",
"mapped",
"from",
"YANG",
"variable",
"/",
"routing_system",
"/",
"route_map",
"/",
"content",
"/",
"match",
"/",
"additional_paths",
"/",
"advertise_set",
"/",
"best",
"(",
"uint32",
")",
"If",
"this",
"variable",
"is",
"r... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/routing_system/route_map/content/match/additional_paths/advertise_set/__init__.py#L136-L159 | train | Sets the best value of the BGP Add - Path advertise list. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/routing_system/route_map/content/match/additional_paths/advertise_set/__init__.py | advertise_set._set_group_best | def _set_group_best(self, v, load=False):
"""
Setter method for group_best, mapped from YANG variable /routing_system/route_map/content/match/additional_paths/advertise_set/group_best (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_group_best is considered as a p... | python | def _set_group_best(self, v, load=False):
"""
Setter method for group_best, mapped from YANG variable /routing_system/route_map/content/match/additional_paths/advertise_set/group_best (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_group_best is considered as a p... | [
"def",
"_set_group_best",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for group_best, mapped from YANG variable /routing_system/route_map/content/match/additional_paths/advertise_set/group_best (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_group_best is considered as a private
method. Backends looking to populate this v... | [
"Setter",
"method",
"for",
"group_best",
"mapped",
"from",
"YANG",
"variable",
"/",
"routing_system",
"/",
"route_map",
"/",
"content",
"/",
"match",
"/",
"additional_paths",
"/",
"advertise_set",
"/",
"group_best",
"(",
"empty",
")",
"If",
"this",
"variable",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/routing_system/route_map/content/match/additional_paths/advertise_set/__init__.py#L210-L233 | train | Set the best path of the group. |
StackStorm/pybind | pybind/slxos/v17s_1_02/openflow_state/detail/controller_detail_list/__init__.py | controller_detail_list._set_controller_info | def _set_controller_info(self, v, load=False):
"""
Setter method for controller_info, mapped from YANG variable /openflow_state/detail/controller_detail_list/controller_info (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_controller_info is considered as a pr... | python | def _set_controller_info(self, v, load=False):
"""
Setter method for controller_info, mapped from YANG variable /openflow_state/detail/controller_detail_list/controller_info (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_controller_info is considered as a pr... | [
"def",
"_set_controller_info",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for controller_info, mapped from YANG variable /openflow_state/detail/controller_detail_list/controller_info (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_controller_info is considered as a private
method. Backends looking to populate this variabl... | [
"Setter",
"method",
"for",
"controller_info",
"mapped",
"from",
"YANG",
"variable",
"/",
"openflow_state",
"/",
"detail",
"/",
"controller_detail_list",
"/",
"controller_info",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"con... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/openflow_state/detail/controller_detail_list/__init__.py#L172-L193 | train | Sets the controller_info property of the
|
StackStorm/pybind | pybind/nos/v6_0_2f/brocade_maps_ext_rpc/__init__.py | brocade_maps_ext._set_maps_get_rules | def _set_maps_get_rules(self, v, load=False):
"""
Setter method for maps_get_rules, mapped from YANG variable /brocade_maps_ext_rpc/maps_get_rules (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_maps_get_rules is considered as a private
method. Backends looking... | python | def _set_maps_get_rules(self, v, load=False):
"""
Setter method for maps_get_rules, mapped from YANG variable /brocade_maps_ext_rpc/maps_get_rules (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_maps_get_rules is considered as a private
method. Backends looking... | [
"def",
"_set_maps_get_rules",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for maps_get_rules, mapped from YANG variable /brocade_maps_ext_rpc/maps_get_rules (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_maps_get_rules is considered as a private
method. Backends looking to populate this variable should
do so via calling th... | [
"Setter",
"method",
"for",
"maps_get_rules",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_maps_ext_rpc",
"/",
"maps_get_rules",
"(",
"rpc",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"sourc... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_maps_ext_rpc/__init__.py#L137-L160 | train | Sets the rules of the current NCBI tree. |
mjj4791/python-buienradar | buienradar/buienradar.py | get_data | def get_data(latitude=52.091579, longitude=5.119734, usexml=False):
"""Get buienradar xml data and return results."""
if usexml:
log.info("Getting buienradar XML data for latitude=%s, longitude=%s",
latitude, longitude)
return get_xml_data(latitude, longitude)
else:
... | python | def get_data(latitude=52.091579, longitude=5.119734, usexml=False):
"""Get buienradar xml data and return results."""
if usexml:
log.info("Getting buienradar XML data for latitude=%s, longitude=%s",
latitude, longitude)
return get_xml_data(latitude, longitude)
else:
... | [
"def",
"get_data",
"(",
"latitude",
"=",
"52.091579",
",",
"longitude",
"=",
"5.119734",
",",
"usexml",
"=",
"False",
")",
":",
"if",
"usexml",
":",
"log",
".",
"info",
"(",
"\"Getting buienradar XML data for latitude=%s, longitude=%s\"",
",",
"latitude",
",",
"... | Get buienradar xml data and return results. | [
"Get",
"buienradar",
"xml",
"data",
"and",
"return",
"results",
"."
] | a70436f54e007ce921d5210cb296cf3e4adf9d09 | https://github.com/mjj4791/python-buienradar/blob/a70436f54e007ce921d5210cb296cf3e4adf9d09/buienradar/buienradar.py#L18-L27 | train | Get buienradar XML data and return results. |
mjj4791/python-buienradar | buienradar/buienradar.py | parse_data | def parse_data(content, raincontent, latitude=52.091579,
longitude=5.119734, timeframe=60, usexml=False):
"""Parse the raw data and return as data dictionary."""
if usexml:
return parse_xml_data(content, raincontent,
latitude, longitude, timeframe)
else:
... | python | def parse_data(content, raincontent, latitude=52.091579,
longitude=5.119734, timeframe=60, usexml=False):
"""Parse the raw data and return as data dictionary."""
if usexml:
return parse_xml_data(content, raincontent,
latitude, longitude, timeframe)
else:
... | [
"def",
"parse_data",
"(",
"content",
",",
"raincontent",
",",
"latitude",
"=",
"52.091579",
",",
"longitude",
"=",
"5.119734",
",",
"timeframe",
"=",
"60",
",",
"usexml",
"=",
"False",
")",
":",
"if",
"usexml",
":",
"return",
"parse_xml_data",
"(",
"conten... | Parse the raw data and return as data dictionary. | [
"Parse",
"the",
"raw",
"data",
"and",
"return",
"as",
"data",
"dictionary",
"."
] | a70436f54e007ce921d5210cb296cf3e4adf9d09 | https://github.com/mjj4791/python-buienradar/blob/a70436f54e007ce921d5210cb296cf3e4adf9d09/buienradar/buienradar.py#L30-L38 | train | Parse the raw data and return as data dictionary. |
mjj4791/python-buienradar | buienradar/buienradar.py | condition_from_code | def condition_from_code(condcode):
"""Get the condition name from the condition code."""
if condcode in __BRCONDITIONS:
cond_data = __BRCONDITIONS[condcode]
return {CONDCODE: condcode,
CONDITION: cond_data[0],
DETAILED: cond_data[1],
EXACT: cond_d... | python | def condition_from_code(condcode):
"""Get the condition name from the condition code."""
if condcode in __BRCONDITIONS:
cond_data = __BRCONDITIONS[condcode]
return {CONDCODE: condcode,
CONDITION: cond_data[0],
DETAILED: cond_data[1],
EXACT: cond_d... | [
"def",
"condition_from_code",
"(",
"condcode",
")",
":",
"if",
"condcode",
"in",
"__BRCONDITIONS",
":",
"cond_data",
"=",
"__BRCONDITIONS",
"[",
"condcode",
"]",
"return",
"{",
"CONDCODE",
":",
"condcode",
",",
"CONDITION",
":",
"cond_data",
"[",
"0",
"]",
"... | Get the condition name from the condition code. | [
"Get",
"the",
"condition",
"name",
"from",
"the",
"condition",
"code",
"."
] | a70436f54e007ce921d5210cb296cf3e4adf9d09 | https://github.com/mjj4791/python-buienradar/blob/a70436f54e007ce921d5210cb296cf3e4adf9d09/buienradar/buienradar.py#L41-L52 | train | Get the condition name from the condition code. |
StackStorm/pybind | pybind/slxos/v17s_1_02/routing_system/interface/ve/intf_isis/interface_isis/interface_hello/__init__.py | interface_hello._set_interface_hello_padding | def _set_interface_hello_padding(self, v, load=False):
"""
Setter method for interface_hello_padding, mapped from YANG variable /routing_system/interface/ve/intf_isis/interface_isis/interface_hello/interface_hello_padding (container)
If this variable is read-only (config: false) in the
source YANG file,... | python | def _set_interface_hello_padding(self, v, load=False):
"""
Setter method for interface_hello_padding, mapped from YANG variable /routing_system/interface/ve/intf_isis/interface_isis/interface_hello/interface_hello_padding (container)
If this variable is read-only (config: false) in the
source YANG file,... | [
"def",
"_set_interface_hello_padding",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
... | Setter method for interface_hello_padding, mapped from YANG variable /routing_system/interface/ve/intf_isis/interface_isis/interface_hello/interface_hello_padding (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_hello_padding is considered as a private
m... | [
"Setter",
"method",
"for",
"interface_hello_padding",
"mapped",
"from",
"YANG",
"variable",
"/",
"routing_system",
"/",
"interface",
"/",
"ve",
"/",
"intf_isis",
"/",
"interface_isis",
"/",
"interface_hello",
"/",
"interface_hello_padding",
"(",
"container",
")",
"I... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/routing_system/interface/ve/intf_isis/interface_isis/interface_hello/__init__.py#L92-L113 | train | Sets the interface_hello_padding property of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/lsp/lsp_frr/__init__.py | lsp_frr._set_lsp_frr_bandwidth | def _set_lsp_frr_bandwidth(self, v, load=False):
"""
Setter method for lsp_frr_bandwidth, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/lsp/lsp_frr/lsp_frr_bandwidth (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_lsp_frr_bandwidth is co... | python | def _set_lsp_frr_bandwidth(self, v, load=False):
"""
Setter method for lsp_frr_bandwidth, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/lsp/lsp_frr/lsp_frr_bandwidth (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_lsp_frr_bandwidth is co... | [
"def",
"_set_lsp_frr_bandwidth",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",... | Setter method for lsp_frr_bandwidth, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/lsp/lsp_frr/lsp_frr_bandwidth (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_lsp_frr_bandwidth is considered as a private
method. Backends looking to populat... | [
"Setter",
"method",
"for",
"lsp_frr_bandwidth",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_config",
"/",
"router",
"/",
"mpls",
"/",
"mpls_cmds_holder",
"/",
"lsp",
"/",
"lsp_frr",
"/",
"lsp_frr_bandwidth",
"(",
"container",
")",
"If",
"this",
"variable",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/lsp/lsp_frr/__init__.py#L102-L123 | train | Sets the bandwidth for the LSP FRR. |
StackStorm/pybind | pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/lsp/lsp_frr/__init__.py | lsp_frr._set_lsp_frr_priority | def _set_lsp_frr_priority(self, v, load=False):
"""
Setter method for lsp_frr_priority, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/lsp/lsp_frr/lsp_frr_priority (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_lsp_frr_priority is consid... | python | def _set_lsp_frr_priority(self, v, load=False):
"""
Setter method for lsp_frr_priority, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/lsp/lsp_frr/lsp_frr_priority (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_lsp_frr_priority is consid... | [
"def",
"_set_lsp_frr_priority",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for lsp_frr_priority, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/lsp/lsp_frr/lsp_frr_priority (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_lsp_frr_priority is considered as a private
method. Backends looking to populate t... | [
"Setter",
"method",
"for",
"lsp_frr_priority",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_config",
"/",
"router",
"/",
"mpls",
"/",
"mpls_cmds_holder",
"/",
"lsp",
"/",
"lsp_frr",
"/",
"lsp_frr_priority",
"(",
"container",
")",
"If",
"this",
"variable",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/lsp/lsp_frr/__init__.py#L333-L354 | train | Sets the priority of the next non - empty sequence of LSP FRRs. |
StackStorm/pybind | pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/lsp/lsp_frr/__init__.py | lsp_frr._set_lsp_frr_revertive | def _set_lsp_frr_revertive(self, v, load=False):
"""
Setter method for lsp_frr_revertive, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/lsp/lsp_frr/lsp_frr_revertive (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_lsp_frr_revertive is co... | python | def _set_lsp_frr_revertive(self, v, load=False):
"""
Setter method for lsp_frr_revertive, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/lsp/lsp_frr/lsp_frr_revertive (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_lsp_frr_revertive is co... | [
"def",
"_set_lsp_frr_revertive",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",... | Setter method for lsp_frr_revertive, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/lsp/lsp_frr/lsp_frr_revertive (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_lsp_frr_revertive is considered as a private
method. Backends looking to populat... | [
"Setter",
"method",
"for",
"lsp_frr_revertive",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_config",
"/",
"router",
"/",
"mpls",
"/",
"mpls_cmds_holder",
"/",
"lsp",
"/",
"lsp_frr",
"/",
"lsp_frr_revertive",
"(",
"container",
")",
"If",
"this",
"variable",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/lsp/lsp_frr/__init__.py#L366-L387 | train | Sets the value of lsp_frr_revertive in the LSP |
HEPData/hepdata-validator | hepdata_validator/submission_file_validator.py | SubmissionFileValidator.validate | def validate(self, **kwargs):
"""
Validates a submission file
:param file_path: path to file to be loaded.
:param data: pre loaded YAML object (optional).
:return: Bool to indicate the validity of the file.
"""
try:
submission_file_schema = json.load(... | python | def validate(self, **kwargs):
"""
Validates a submission file
:param file_path: path to file to be loaded.
:param data: pre loaded YAML object (optional).
:return: Bool to indicate the validity of the file.
"""
try:
submission_file_schema = json.load(... | [
"def",
"validate",
"(",
"self",
",",
"*",
"*",
"kwargs",
")",
":",
"try",
":",
"submission_file_schema",
"=",
"json",
".",
"load",
"(",
"open",
"(",
"self",
".",
"default_schema_file",
",",
"'r'",
")",
")",
"additional_file_section_schema",
"=",
"json",
".... | Validates a submission file
:param file_path: path to file to be loaded.
:param data: pre loaded YAML object (optional).
:return: Bool to indicate the validity of the file. | [
"Validates",
"a",
"submission",
"file"
] | d0b0cab742a009c8f0e8aac9f8c8e434a524d43c | https://github.com/HEPData/hepdata-validator/blob/d0b0cab742a009c8f0e8aac9f8c8e434a524d43c/hepdata_validator/submission_file_validator.py#L26-L80 | train | Validate a submission file and return a boolean indicating if the validity of the file. |
budacom/trading-bots | trading_bots/core/utils.py | load_class_by_name | def load_class_by_name(name: str):
"""Given a dotted path, returns the class"""
mod_path, _, cls_name = name.rpartition('.')
mod = importlib.import_module(mod_path)
cls = getattr(mod, cls_name)
return cls | python | def load_class_by_name(name: str):
"""Given a dotted path, returns the class"""
mod_path, _, cls_name = name.rpartition('.')
mod = importlib.import_module(mod_path)
cls = getattr(mod, cls_name)
return cls | [
"def",
"load_class_by_name",
"(",
"name",
":",
"str",
")",
":",
"mod_path",
",",
"_",
",",
"cls_name",
"=",
"name",
".",
"rpartition",
"(",
"'.'",
")",
"mod",
"=",
"importlib",
".",
"import_module",
"(",
"mod_path",
")",
"cls",
"=",
"getattr",
"(",
"mo... | Given a dotted path, returns the class | [
"Given",
"a",
"dotted",
"path",
"returns",
"the",
"class"
] | 8cb68bb8d0b5f822108db1cc5dae336e3d3c3452 | https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/core/utils.py#L7-L12 | train | Given a dotted path returns the class |
budacom/trading-bots | trading_bots/core/utils.py | load_yaml_file | def load_yaml_file(file_path: str):
"""Load a YAML file from path"""
with codecs.open(file_path, 'r') as f:
return yaml.safe_load(f) | python | def load_yaml_file(file_path: str):
"""Load a YAML file from path"""
with codecs.open(file_path, 'r') as f:
return yaml.safe_load(f) | [
"def",
"load_yaml_file",
"(",
"file_path",
":",
"str",
")",
":",
"with",
"codecs",
".",
"open",
"(",
"file_path",
",",
"'r'",
")",
"as",
"f",
":",
"return",
"yaml",
".",
"safe_load",
"(",
"f",
")"
] | Load a YAML file from path | [
"Load",
"a",
"YAML",
"file",
"from",
"path"
] | 8cb68bb8d0b5f822108db1cc5dae336e3d3c3452 | https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/core/utils.py#L15-L18 | train | Load a YAML file from path |
StackStorm/pybind | pybind/slxos/v17s_1_02/ssh_sa/ssh/server/__init__.py | server._set_key_exchange | def _set_key_exchange(self, v, load=False):
"""
Setter method for key_exchange, mapped from YANG variable /ssh_sa/ssh/server/key_exchange (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_key_exchange is considered as a private
method. Backends looking to popu... | python | def _set_key_exchange(self, v, load=False):
"""
Setter method for key_exchange, mapped from YANG variable /ssh_sa/ssh/server/key_exchange (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_key_exchange is considered as a private
method. Backends looking to popu... | [
"def",
"_set_key_exchange",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"b... | Setter method for key_exchange, mapped from YANG variable /ssh_sa/ssh/server/key_exchange (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_key_exchange is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj.... | [
"Setter",
"method",
"for",
"key_exchange",
"mapped",
"from",
"YANG",
"variable",
"/",
"ssh_sa",
"/",
"ssh",
"/",
"server",
"/",
"key_exchange",
"(",
"string",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/ssh_sa/ssh/server/__init__.py#L135-L156 | train | Sets the key exchange for the cluster. |
StackStorm/pybind | pybind/slxos/v17s_1_02/ssh_sa/ssh/server/__init__.py | server._set_rekey_interval | def _set_rekey_interval(self, v, load=False):
"""
Setter method for rekey_interval, mapped from YANG variable /ssh_sa/ssh/server/rekey_interval (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_rekey_interval is considered as a private
method. Backends looking... | python | def _set_rekey_interval(self, v, load=False):
"""
Setter method for rekey_interval, mapped from YANG variable /ssh_sa/ssh/server/rekey_interval (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_rekey_interval is considered as a private
method. Backends looking... | [
"def",
"_set_rekey_interval",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for rekey_interval, mapped from YANG variable /ssh_sa/ssh/server/rekey_interval (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_rekey_interval is considered as a private
method. Backends looking to populate this variable should
do so via calling th... | [
"Setter",
"method",
"for",
"rekey_interval",
"mapped",
"from",
"YANG",
"variable",
"/",
"ssh_sa",
"/",
"ssh",
"/",
"server",
"/",
"rekey_interval",
"(",
"uint32",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/ssh_sa/ssh/server/__init__.py#L168-L189 | train | Sets the rekey interval for the node. |
StackStorm/pybind | pybind/slxos/v17s_1_02/ssh_sa/ssh/server/__init__.py | server._set_ssh_server_port | def _set_ssh_server_port(self, v, load=False):
"""
Setter method for ssh_server_port, mapped from YANG variable /ssh_sa/ssh/server/ssh_server_port (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_ssh_server_port is considered as a private
method. Backends loo... | python | def _set_ssh_server_port(self, v, load=False):
"""
Setter method for ssh_server_port, mapped from YANG variable /ssh_sa/ssh/server/ssh_server_port (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_ssh_server_port is considered as a private
method. Backends loo... | [
"def",
"_set_ssh_server_port",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for ssh_server_port, mapped from YANG variable /ssh_sa/ssh/server/ssh_server_port (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_ssh_server_port is considered as a private
method. Backends looking to populate this variable should
do so via calling... | [
"Setter",
"method",
"for",
"ssh_server_port",
"mapped",
"from",
"YANG",
"variable",
"/",
"ssh_sa",
"/",
"ssh",
"/",
"server",
"/",
"ssh_server_port",
"(",
"uint32",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/ssh_sa/ssh/server/__init__.py#L201-L222 | train | Sets the SSH server port for the cluster. |
StackStorm/pybind | pybind/slxos/v17s_1_02/ssh_sa/ssh/server/__init__.py | server._set_standby | def _set_standby(self, v, load=False):
"""
Setter method for standby, mapped from YANG variable /ssh_sa/ssh/server/standby (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_standby is considered as a private
method. Backends looking to populate this variabl... | python | def _set_standby(self, v, load=False):
"""
Setter method for standby, mapped from YANG variable /ssh_sa/ssh/server/standby (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_standby is considered as a private
method. Backends looking to populate this variabl... | [
"def",
"_set_standby",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",... | Setter method for standby, mapped from YANG variable /ssh_sa/ssh/server/standby (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_standby is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_standby... | [
"Setter",
"method",
"for",
"standby",
"mapped",
"from",
"YANG",
"variable",
"/",
"ssh_sa",
"/",
"ssh",
"/",
"server",
"/",
"standby",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"t... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/ssh_sa/ssh/server/__init__.py#L300-L321 | train | Set the standby variable. |
StackStorm/pybind | pybind/slxos/v17r_2_00/packet_encap_processing_state/__init__.py | packet_encap_processing_state._set_packet_encap_info_list | def _set_packet_encap_info_list(self, v, load=False):
"""
Setter method for packet_encap_info_list, mapped from YANG variable /packet_encap_processing_state/packet_encap_info_list (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_packet_encap_info_list is consi... | python | def _set_packet_encap_info_list(self, v, load=False):
"""
Setter method for packet_encap_info_list, mapped from YANG variable /packet_encap_processing_state/packet_encap_info_list (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_packet_encap_info_list is consi... | [
"def",
"_set_packet_encap_info_list",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
... | Setter method for packet_encap_info_list, mapped from YANG variable /packet_encap_processing_state/packet_encap_info_list (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_packet_encap_info_list is considered as a private
method. Backends looking to populate this v... | [
"Setter",
"method",
"for",
"packet_encap_info_list",
"mapped",
"from",
"YANG",
"variable",
"/",
"packet_encap_processing_state",
"/",
"packet_encap_info_list",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/packet_encap_processing_state/__init__.py#L96-L119 | train | Sets the list of packets that are sent by the network. |
StackStorm/pybind | pybind/nos/v6_0_2f/interface/fortygigabitethernet/ip/interface_fo_ospf_conf/__init__.py | interface_fo_ospf_conf._set_ospf_interface_config | def _set_ospf_interface_config(self, v, load=False):
"""
Setter method for ospf_interface_config, mapped from YANG variable /interface/fortygigabitethernet/ip/interface_fo_ospf_conf/ospf_interface_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ospf_in... | python | def _set_ospf_interface_config(self, v, load=False):
"""
Setter method for ospf_interface_config, mapped from YANG variable /interface/fortygigabitethernet/ip/interface_fo_ospf_conf/ospf_interface_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ospf_in... | [
"def",
"_set_ospf_interface_config",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
... | Setter method for ospf_interface_config, mapped from YANG variable /interface/fortygigabitethernet/ip/interface_fo_ospf_conf/ospf_interface_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ospf_interface_config is considered as a private
method. Backends lo... | [
"Setter",
"method",
"for",
"ospf_interface_config",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"fortygigabitethernet",
"/",
"ip",
"/",
"interface_fo_ospf_conf",
"/",
"ospf_interface_config",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"r... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/fortygigabitethernet/ip/interface_fo_ospf_conf/__init__.py#L92-L113 | train | Set the value of the OSPF interface_config property. |
BD2KGenomics/protect | src/protect/addons/assess_immunotherapy_resistance.py | run_itx_resistance_assessment | def run_itx_resistance_assessment(job, rsem_files, univ_options, reports_options):
"""
A wrapper for assess_itx_resistance.
:param dict rsem_files: Results from running rsem
:param dict univ_options: Dict of universal options used by almost all tools
:param dict reports_options: Options specific to... | python | def run_itx_resistance_assessment(job, rsem_files, univ_options, reports_options):
"""
A wrapper for assess_itx_resistance.
:param dict rsem_files: Results from running rsem
:param dict univ_options: Dict of universal options used by almost all tools
:param dict reports_options: Options specific to... | [
"def",
"run_itx_resistance_assessment",
"(",
"job",
",",
"rsem_files",
",",
"univ_options",
",",
"reports_options",
")",
":",
"return",
"job",
".",
"addChildJobFn",
"(",
"assess_itx_resistance",
",",
"rsem_files",
"[",
"'rsem.genes.results'",
"]",
",",
"univ_options",... | A wrapper for assess_itx_resistance.
:param dict rsem_files: Results from running rsem
:param dict univ_options: Dict of universal options used by almost all tools
:param dict reports_options: Options specific to reporting modules
:return: The results of running assess_itx_resistance
:rtype: toil.f... | [
"A",
"wrapper",
"for",
"assess_itx_resistance",
"."
] | 06310682c50dcf8917b912c8e551299ff7ee41ce | https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/src/protect/addons/assess_immunotherapy_resistance.py#L26-L37 | train | A wrapper for assess_itx_resistance. |
BD2KGenomics/protect | src/protect/addons/assess_immunotherapy_resistance.py | assess_itx_resistance | def assess_itx_resistance(job, gene_expression, univ_options, reports_options):
"""
Assess the prevalence of the various genes in various cancer pathways and return a report in the txt
format.
:param toil.fileStore.FileID gene_expression: fsID for the rsem gene expression file
:param dict univ_opti... | python | def assess_itx_resistance(job, gene_expression, univ_options, reports_options):
"""
Assess the prevalence of the various genes in various cancer pathways and return a report in the txt
format.
:param toil.fileStore.FileID gene_expression: fsID for the rsem gene expression file
:param dict univ_opti... | [
"def",
"assess_itx_resistance",
"(",
"job",
",",
"gene_expression",
",",
"univ_options",
",",
"reports_options",
")",
":",
"work_dir",
"=",
"os",
".",
"getcwd",
"(",
")",
"tumor_type",
"=",
"univ_options",
"[",
"'tumor_type'",
"]",
"# Get the input files",
"input_... | Assess the prevalence of the various genes in various cancer pathways and return a report in the txt
format.
:param toil.fileStore.FileID gene_expression: fsID for the rsem gene expression file
:param dict univ_options: Dict of universal options used by almost all tools
:param dict reports_options: Opt... | [
"Assess",
"the",
"prevalence",
"of",
"the",
"various",
"genes",
"in",
"various",
"cancer",
"pathways",
"and",
"return",
"a",
"report",
"in",
"the",
"txt",
"format",
"."
] | 06310682c50dcf8917b912c8e551299ff7ee41ce | https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/src/protect/addons/assess_immunotherapy_resistance.py#L40-L130 | train | Assess the prevalence of the various genes in various cancer pathways and return a report in the txt
format. |
APSL/django-kaio | kaio/mixins/celeryconf.py | CeleryMixin.CELERY_RESULT_BACKEND | def CELERY_RESULT_BACKEND(self):
"""Redis result backend config"""
# allow specify directly
configured = get('CELERY_RESULT_BACKEND', None)
if configured:
return configured
if not self._redis_available():
return None
host, port = self.REDIS_HOST... | python | def CELERY_RESULT_BACKEND(self):
"""Redis result backend config"""
# allow specify directly
configured = get('CELERY_RESULT_BACKEND', None)
if configured:
return configured
if not self._redis_available():
return None
host, port = self.REDIS_HOST... | [
"def",
"CELERY_RESULT_BACKEND",
"(",
"self",
")",
":",
"# allow specify directly",
"configured",
"=",
"get",
"(",
"'CELERY_RESULT_BACKEND'",
",",
"None",
")",
"if",
"configured",
":",
"return",
"configured",
"if",
"not",
"self",
".",
"_redis_available",
"(",
")",
... | Redis result backend config | [
"Redis",
"result",
"backend",
"config"
] | b74b109bcfba31d973723bc419e2c95d190b80b7 | https://github.com/APSL/django-kaio/blob/b74b109bcfba31d973723bc419e2c95d190b80b7/kaio/mixins/celeryconf.py#L35-L53 | train | Redis result backend config |
APSL/django-kaio | kaio/mixins/celeryconf.py | CeleryMixin.BROKER_TYPE | def BROKER_TYPE(self):
"""Custom setting allowing switch between rabbitmq, redis"""
broker_type = get('BROKER_TYPE', DEFAULT_BROKER_TYPE)
if broker_type not in SUPPORTED_BROKER_TYPES:
log.warn("Specified BROKER_TYPE {} not supported. Backing to default {}".format(
br... | python | def BROKER_TYPE(self):
"""Custom setting allowing switch between rabbitmq, redis"""
broker_type = get('BROKER_TYPE', DEFAULT_BROKER_TYPE)
if broker_type not in SUPPORTED_BROKER_TYPES:
log.warn("Specified BROKER_TYPE {} not supported. Backing to default {}".format(
br... | [
"def",
"BROKER_TYPE",
"(",
"self",
")",
":",
"broker_type",
"=",
"get",
"(",
"'BROKER_TYPE'",
",",
"DEFAULT_BROKER_TYPE",
")",
"if",
"broker_type",
"not",
"in",
"SUPPORTED_BROKER_TYPES",
":",
"log",
".",
"warn",
"(",
"\"Specified BROKER_TYPE {} not supported. Backing ... | Custom setting allowing switch between rabbitmq, redis | [
"Custom",
"setting",
"allowing",
"switch",
"between",
"rabbitmq",
"redis"
] | b74b109bcfba31d973723bc419e2c95d190b80b7 | https://github.com/APSL/django-kaio/blob/b74b109bcfba31d973723bc419e2c95d190b80b7/kaio/mixins/celeryconf.py#L76-L85 | train | Custom setting allowing switch between rabbitmq redis |
APSL/django-kaio | kaio/mixins/celeryconf.py | CeleryMixin.BROKER_URL | def BROKER_URL(self):
"""Sets BROKER_URL depending on redis or rabbitmq settings"""
# also allow specify broker_url
broker_url = get('BROKER_URL', None)
if broker_url:
log.info("Using BROKER_URL setting: {}".format(broker_url))
return broker_url
redis_av... | python | def BROKER_URL(self):
"""Sets BROKER_URL depending on redis or rabbitmq settings"""
# also allow specify broker_url
broker_url = get('BROKER_URL', None)
if broker_url:
log.info("Using BROKER_URL setting: {}".format(broker_url))
return broker_url
redis_av... | [
"def",
"BROKER_URL",
"(",
"self",
")",
":",
"# also allow specify broker_url",
"broker_url",
"=",
"get",
"(",
"'BROKER_URL'",
",",
"None",
")",
"if",
"broker_url",
":",
"log",
".",
"info",
"(",
"\"Using BROKER_URL setting: {}\"",
".",
"format",
"(",
"broker_url",
... | Sets BROKER_URL depending on redis or rabbitmq settings | [
"Sets",
"BROKER_URL",
"depending",
"on",
"redis",
"or",
"rabbitmq",
"settings"
] | b74b109bcfba31d973723bc419e2c95d190b80b7 | https://github.com/APSL/django-kaio/blob/b74b109bcfba31d973723bc419e2c95d190b80b7/kaio/mixins/celeryconf.py#L122-L152 | train | Sets BROKER_URL depending on redis or rabbitmq settings |
StackStorm/pybind | pybind/slxos/v17s_1_02/pw_profile/__init__.py | pw_profile._set_mtu | def _set_mtu(self, v, load=False):
"""
Setter method for mtu, mapped from YANG variable /pw_profile/mtu (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mtu is considered as a private
method. Backends looking to populate this variable should
do so via ... | python | def _set_mtu(self, v, load=False):
"""
Setter method for mtu, mapped from YANG variable /pw_profile/mtu (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mtu is considered as a private
method. Backends looking to populate this variable should
do so via ... | [
"def",
"_set_mtu",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
"... | Setter method for mtu, mapped from YANG variable /pw_profile/mtu (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mtu is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_mtu() directly.
YANG ... | [
"Setter",
"method",
"for",
"mtu",
"mapped",
"from",
"YANG",
"variable",
"/",
"pw_profile",
"/",
"mtu",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"file",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/pw_profile/__init__.py#L136-L159 | train | Set the MTU of a private
|
StackStorm/pybind | pybind/slxos/v17s_1_02/pw_profile/__init__.py | pw_profile._set_vc_mode | def _set_vc_mode(self, v, load=False):
"""
Setter method for vc_mode, mapped from YANG variable /pw_profile/vc_mode (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_vc_mode is considered as a private
method. Backends looking to populate this variable shoul... | python | def _set_vc_mode(self, v, load=False):
"""
Setter method for vc_mode, mapped from YANG variable /pw_profile/vc_mode (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_vc_mode is considered as a private
method. Backends looking to populate this variable shoul... | [
"def",
"_set_vc_mode",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",... | Setter method for vc_mode, mapped from YANG variable /pw_profile/vc_mode (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_vc_mode is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_vc_mode() dire... | [
"Setter",
"method",
"for",
"vc_mode",
"mapped",
"from",
"YANG",
"variable",
"/",
"pw_profile",
"/",
"vc_mode",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"f... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/pw_profile/__init__.py#L210-L233 | train | Sets the value of the _vc_mode variable in the base language. |
StackStorm/pybind | pybind/nos/v6_0_2f/interface/tengigabitethernet/__init__.py | tengigabitethernet._set_snmp | def _set_snmp(self, v, load=False):
"""
Setter method for snmp, mapped from YANG variable /interface/tengigabitethernet/snmp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_snmp is considered as a private
method. Backends looking to populate this variable... | python | def _set_snmp(self, v, load=False):
"""
Setter method for snmp, mapped from YANG variable /interface/tengigabitethernet/snmp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_snmp is considered as a private
method. Backends looking to populate this variable... | [
"def",
"_set_snmp",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for snmp, mapped from YANG variable /interface/tengigabitethernet/snmp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_snmp is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_snmp(... | [
"Setter",
"method",
"for",
"snmp",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"tengigabitethernet",
"/",
"snmp",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/tengigabitethernet/__init__.py#L725-L748 | train | Set the SNMP configurations for an object. |
StackStorm/pybind | pybind/nos/v6_0_2f/interface/tengigabitethernet/__init__.py | tengigabitethernet._set_edge_loop_detection | def _set_edge_loop_detection(self, v, load=False):
"""
Setter method for edge_loop_detection, mapped from YANG variable /interface/tengigabitethernet/edge_loop_detection (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_edge_loop_detection is considered as a pr... | python | def _set_edge_loop_detection(self, v, load=False):
"""
Setter method for edge_loop_detection, mapped from YANG variable /interface/tengigabitethernet/edge_loop_detection (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_edge_loop_detection is considered as a pr... | [
"def",
"_set_edge_loop_detection",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",... | Setter method for edge_loop_detection, mapped from YANG variable /interface/tengigabitethernet/edge_loop_detection (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_edge_loop_detection is considered as a private
method. Backends looking to populate this variable sh... | [
"Setter",
"method",
"for",
"edge_loop_detection",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"tengigabitethernet",
"/",
"edge_loop_detection",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"fals... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/tengigabitethernet/__init__.py#L867-L888 | train | Set edge - loop - detection for the node. |
StackStorm/pybind | pybind/nos/v6_0_2f/interface/tengigabitethernet/__init__.py | tengigabitethernet._set_dot1x | def _set_dot1x(self, v, load=False):
"""
Setter method for dot1x, mapped from YANG variable /interface/tengigabitethernet/dot1x (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_dot1x is considered as a private
method. Backends looking to populate this vari... | python | def _set_dot1x(self, v, load=False):
"""
Setter method for dot1x, mapped from YANG variable /interface/tengigabitethernet/dot1x (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_dot1x is considered as a private
method. Backends looking to populate this vari... | [
"def",
"_set_dot1x",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for dot1x, mapped from YANG variable /interface/tengigabitethernet/dot1x (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_dot1x is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_do... | [
"Setter",
"method",
"for",
"dot1x",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"tengigabitethernet",
"/",
"dot1x",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/tengigabitethernet/__init__.py#L1082-L1106 | train | Sets the value of the DOT1X variable. |
StackStorm/pybind | pybind/nos/v6_0_2f/interface/tengigabitethernet/__init__.py | tengigabitethernet._set_ip_acl_interface | def _set_ip_acl_interface(self, v, load=False):
"""
Setter method for ip_acl_interface, mapped from YANG variable /interface/tengigabitethernet/ip_acl_interface (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ip_acl_interface is considered as a private
me... | python | def _set_ip_acl_interface(self, v, load=False):
"""
Setter method for ip_acl_interface, mapped from YANG variable /interface/tengigabitethernet/ip_acl_interface (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ip_acl_interface is considered as a private
me... | [
"def",
"_set_ip_acl_interface",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for ip_acl_interface, mapped from YANG variable /interface/tengigabitethernet/ip_acl_interface (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ip_acl_interface is considered as a private
method. Backends looking to populate this variable should
... | [
"Setter",
"method",
"for",
"ip_acl_interface",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"tengigabitethernet",
"/",
"ip_acl_interface",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/tengigabitethernet/__init__.py#L1118-L1139 | train | Sets the ip_acl_interface property of the
|
StackStorm/pybind | pybind/nos/v6_0_2f/interface/tengigabitethernet/__init__.py | tengigabitethernet._set_tunnel | def _set_tunnel(self, v, load=False):
"""
Setter method for tunnel, mapped from YANG variable /interface/tengigabitethernet/tunnel (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_tunnel is considered as a private
method. Backends looking to populate this ... | python | def _set_tunnel(self, v, load=False):
"""
Setter method for tunnel, mapped from YANG variable /interface/tengigabitethernet/tunnel (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_tunnel is considered as a private
method. Backends looking to populate this ... | [
"def",
"_set_tunnel",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for tunnel, mapped from YANG variable /interface/tengigabitethernet/tunnel (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_tunnel is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set... | [
"Setter",
"method",
"for",
"tunnel",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"tengigabitethernet",
"/",
"tunnel",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/tengigabitethernet/__init__.py#L1672-L1693 | train | Set tunnel for the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/password_attributes/__init__.py | password_attributes._set_character_restriction | def _set_character_restriction(self, v, load=False):
"""
Setter method for character_restriction, mapped from YANG variable /password_attributes/character_restriction (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_character_restriction is considered as a pri... | python | def _set_character_restriction(self, v, load=False):
"""
Setter method for character_restriction, mapped from YANG variable /password_attributes/character_restriction (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_character_restriction is considered as a pri... | [
"def",
"_set_character_restriction",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
... | Setter method for character_restriction, mapped from YANG variable /password_attributes/character_restriction (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_character_restriction is considered as a private
method. Backends looking to populate this variable shoul... | [
"Setter",
"method",
"for",
"character_restriction",
"mapped",
"from",
"YANG",
"variable",
"/",
"password_attributes",
"/",
"character_restriction",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/password_attributes/__init__.py#L195-L216 | train | Sets the character restriction for the
|
StackStorm/pybind | pybind/nos/v7_2_0/interface/fortygigabitethernet/fabric/__init__.py | fabric._set_fabric_dport | def _set_fabric_dport(self, v, load=False):
"""
Setter method for fabric_dport, mapped from YANG variable /interface/fortygigabitethernet/fabric/fabric_dport (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fabric_dport is considered as a private
method. B... | python | def _set_fabric_dport(self, v, load=False):
"""
Setter method for fabric_dport, mapped from YANG variable /interface/fortygigabitethernet/fabric/fabric_dport (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fabric_dport is considered as a private
method. B... | [
"def",
"_set_fabric_dport",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"b... | Setter method for fabric_dport, mapped from YANG variable /interface/fortygigabitethernet/fabric/fabric_dport (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fabric_dport is considered as a private
method. Backends looking to populate this variable should
do ... | [
"Setter",
"method",
"for",
"fabric_dport",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"fortygigabitethernet",
"/",
"fabric",
"/",
"fabric_dport",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/interface/fortygigabitethernet/fabric/__init__.py#L213-L236 | train | Set the D - port of the specified fabric. |
StackStorm/pybind | pybind/nos/v6_0_2f/show/__init__.py | show._set_diag | def _set_diag(self, v, load=False):
"""
Setter method for diag, mapped from YANG variable /show/diag (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_diag is considered as a private
method. Backends looking to populate this variable should
do so via ca... | python | def _set_diag(self, v, load=False):
"""
Setter method for diag, mapped from YANG variable /show/diag (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_diag is considered as a private
method. Backends looking to populate this variable should
do so via ca... | [
"def",
"_set_diag",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for diag, mapped from YANG variable /show/diag (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_diag is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_diag() directly. | [
"Setter",
"method",
"for",
"diag",
"mapped",
"from",
"YANG",
"variable",
"/",
"show",
"/",
"diag",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"file",
"the... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/show/__init__.py#L176-L197 | train | Sets the diagnostic of the
|
StackStorm/pybind | pybind/slxos/v17r_1_01a/openflow_global/openflow/__init__.py | openflow._set_mirror | def _set_mirror(self, v, load=False):
"""
Setter method for mirror, mapped from YANG variable /openflow_global/openflow/mirror (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mirror is considered as a private
method. Backends looking to populate this vari... | python | def _set_mirror(self, v, load=False):
"""
Setter method for mirror, mapped from YANG variable /openflow_global/openflow/mirror (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mirror is considered as a private
method. Backends looking to populate this vari... | [
"def",
"_set_mirror",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for mirror, mapped from YANG variable /openflow_global/openflow/mirror (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mirror is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_mir... | [
"Setter",
"method",
"for",
"mirror",
"mapped",
"from",
"YANG",
"variable",
"/",
"openflow_global",
"/",
"openflow",
"/",
"mirror",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/openflow_global/openflow/__init__.py#L166-L187 | train | Sets the value of the Mirrored property. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/openflow_global/openflow/__init__.py | openflow._set_ingress_replication | def _set_ingress_replication(self, v, load=False):
"""
Setter method for ingress_replication, mapped from YANG variable /openflow_global/openflow/ingress_replication (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ingress_replication is considered as a privat... | python | def _set_ingress_replication(self, v, load=False):
"""
Setter method for ingress_replication, mapped from YANG variable /openflow_global/openflow/ingress_replication (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ingress_replication is considered as a privat... | [
"def",
"_set_ingress_replication",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",... | Setter method for ingress_replication, mapped from YANG variable /openflow_global/openflow/ingress_replication (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ingress_replication is considered as a private
method. Backends looking to populate this variable should... | [
"Setter",
"method",
"for",
"ingress_replication",
"mapped",
"from",
"YANG",
"variable",
"/",
"openflow_global",
"/",
"openflow",
"/",
"ingress_replication",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/openflow_global/openflow/__init__.py#L236-L257 | train | Sets the ingress replication variable. |
idlesign/steampak | steampak/webapi/resources/user.py | User.traverse_inventory | def traverse_inventory(self, item_filter=None):
"""Generates market Item objects for each inventory item.
:param str item_filter: See `TAG_ITEM_CLASS_` contants from .market module.
"""
not self._intentory_raw and self._get_inventory_raw()
for item in self._intentory_raw['rgDe... | python | def traverse_inventory(self, item_filter=None):
"""Generates market Item objects for each inventory item.
:param str item_filter: See `TAG_ITEM_CLASS_` contants from .market module.
"""
not self._intentory_raw and self._get_inventory_raw()
for item in self._intentory_raw['rgDe... | [
"def",
"traverse_inventory",
"(",
"self",
",",
"item_filter",
"=",
"None",
")",
":",
"not",
"self",
".",
"_intentory_raw",
"and",
"self",
".",
"_get_inventory_raw",
"(",
")",
"for",
"item",
"in",
"self",
".",
"_intentory_raw",
"[",
"'rgDescriptions'",
"]",
"... | Generates market Item objects for each inventory item.
:param str item_filter: See `TAG_ITEM_CLASS_` contants from .market module. | [
"Generates",
"market",
"Item",
"objects",
"for",
"each",
"inventory",
"item",
"."
] | cb3f2c737e272b0360802d947e388df7e34f50f3 | https://github.com/idlesign/steampak/blob/cb3f2c737e272b0360802d947e388df7e34f50f3/steampak/webapi/resources/user.py#L36-L57 | train | Generates market Item objects for each inventory item. |
HEPData/hepdata-validator | hepdata_validator/data_file_validator.py | DataFileValidator.load_custom_schema | def load_custom_schema(self, type, schema_file_path=None):
"""
Loads a custom schema, or will used a stored version for the given type if available
:param type: e.g. histfactory
:return:
"""
try:
if type in self.custom_data_schemas:
return self... | python | def load_custom_schema(self, type, schema_file_path=None):
"""
Loads a custom schema, or will used a stored version for the given type if available
:param type: e.g. histfactory
:return:
"""
try:
if type in self.custom_data_schemas:
return self... | [
"def",
"load_custom_schema",
"(",
"self",
",",
"type",
",",
"schema_file_path",
"=",
"None",
")",
":",
"try",
":",
"if",
"type",
"in",
"self",
".",
"custom_data_schemas",
":",
"return",
"self",
".",
"custom_data_schemas",
"[",
"type",
"]",
"if",
"schema_file... | Loads a custom schema, or will used a stored version for the given type if available
:param type: e.g. histfactory
:return: | [
"Loads",
"a",
"custom",
"schema",
"or",
"will",
"used",
"a",
"stored",
"version",
"for",
"the",
"given",
"type",
"if",
"available",
":",
"param",
"type",
":",
"e",
".",
"g",
".",
"histfactory",
":",
"return",
":"
] | d0b0cab742a009c8f0e8aac9f8c8e434a524d43c | https://github.com/HEPData/hepdata-validator/blob/d0b0cab742a009c8f0e8aac9f8c8e434a524d43c/hepdata_validator/data_file_validator.py#L51-L72 | train | Loads a custom schema for the given type. |
HEPData/hepdata-validator | hepdata_validator/data_file_validator.py | DataFileValidator.validate | def validate(self, **kwargs):
"""
Validates a data file
:param file_path: path to file to be loaded.
:param data: pre loaded YAML object (optional).
:return: Bool to indicate the validity of the file.
"""
default_data_schema = json.load(open(self.default_schema_... | python | def validate(self, **kwargs):
"""
Validates a data file
:param file_path: path to file to be loaded.
:param data: pre loaded YAML object (optional).
:return: Bool to indicate the validity of the file.
"""
default_data_schema = json.load(open(self.default_schema_... | [
"def",
"validate",
"(",
"self",
",",
"*",
"*",
"kwargs",
")",
":",
"default_data_schema",
"=",
"json",
".",
"load",
"(",
"open",
"(",
"self",
".",
"default_schema_file",
",",
"'r'",
")",
")",
"# even though we are using the yaml package to load,",
"# it supports J... | Validates a data file
:param file_path: path to file to be loaded.
:param data: pre loaded YAML object (optional).
:return: Bool to indicate the validity of the file. | [
"Validates",
"a",
"data",
"file"
] | d0b0cab742a009c8f0e8aac9f8c8e434a524d43c | https://github.com/HEPData/hepdata-validator/blob/d0b0cab742a009c8f0e8aac9f8c8e434a524d43c/hepdata_validator/data_file_validator.py#L74-L119 | train | Validates a file and returns True if the file is valid False otherwise. |
StackStorm/pybind | pybind/nos/v6_0_2f/ntp/__init__.py | ntp._set_authentication_key | def _set_authentication_key(self, v, load=False):
"""
Setter method for authentication_key, mapped from YANG variable /ntp/authentication_key (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_authentication_key is considered as a private
method. Backends looking... | python | def _set_authentication_key(self, v, load=False):
"""
Setter method for authentication_key, mapped from YANG variable /ntp/authentication_key (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_authentication_key is considered as a private
method. Backends looking... | [
"def",
"_set_authentication_key",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
","... | Setter method for authentication_key, mapped from YANG variable /ntp/authentication_key (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_authentication_key is considered as a private
method. Backends looking to populate this variable should
do so via calling thisOb... | [
"Setter",
"method",
"for",
"authentication_key",
"mapped",
"from",
"YANG",
"variable",
"/",
"ntp",
"/",
"authentication_key",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"Y... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/ntp/__init__.py#L128-L149 | train | Sets the authentication key of the
. |
StackStorm/pybind | pybind/slxos/v17r_2_00/__init__.py | brocade_keychain._set_keychain | def _set_keychain(self, v, load=False):
"""
Setter method for keychain, mapped from YANG variable /keychain (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_keychain is considered as a private
method. Backends looking to populate this variable should
do so ... | python | def _set_keychain(self, v, load=False):
"""
Setter method for keychain, mapped from YANG variable /keychain (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_keychain is considered as a private
method. Backends looking to populate this variable should
do so ... | [
"def",
"_set_keychain",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for keychain, mapped from YANG variable /keychain (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_keychain is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_keychain() directly. | [
"Setter",
"method",
"for",
"keychain",
"mapped",
"from",
"YANG",
"variable",
"/",
"keychain",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"file",
"then",
"_set_ke... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/__init__.py#L327-L348 | train | Set the keychain of the current node. |
StackStorm/pybind | pybind/slxos/v17r_2_00/__init__.py | brocade_dot1ag._set_cfm_config | def _set_cfm_config(self, v, load=False):
"""
Setter method for cfm_config, mapped from YANG variable /cfm_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_cfm_config is considered as a private
method. Backends looking to populate this variable shou... | python | def _set_cfm_config(self, v, load=False):
"""
Setter method for cfm_config, mapped from YANG variable /cfm_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_cfm_config is considered as a private
method. Backends looking to populate this variable shou... | [
"def",
"_set_cfm_config",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for cfm_config, mapped from YANG variable /cfm_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_cfm_config is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_cfm_config() dir... | [
"Setter",
"method",
"for",
"cfm_config",
"mapped",
"from",
"YANG",
"variable",
"/",
"cfm_config",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"file",
"then",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/__init__.py#L2505-L2526 | train | Sets the configuration of the
. |
StackStorm/pybind | pybind/slxos/v17r_2_00/__init__.py | brocade_port_profile._set_port_profile_domain | def _set_port_profile_domain(self, v, load=False):
"""
Setter method for port_profile_domain, mapped from YANG variable /port_profile_domain (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_port_profile_domain is considered as a private
method. Backends looking... | python | def _set_port_profile_domain(self, v, load=False):
"""
Setter method for port_profile_domain, mapped from YANG variable /port_profile_domain (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_port_profile_domain is considered as a private
method. Backends looking... | [
"def",
"_set_port_profile_domain",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",... | Setter method for port_profile_domain, mapped from YANG variable /port_profile_domain (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_port_profile_domain is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj... | [
"Setter",
"method",
"for",
"port_profile_domain",
"mapped",
"from",
"YANG",
"variable",
"/",
"port_profile_domain",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"file"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/__init__.py#L5270-L5291 | train | Sets the port - profile - domain of the
|
StackStorm/pybind | pybind/slxos/v17r_2_00/__init__.py | brocade_bgp_operational._set_bgp_state | def _set_bgp_state(self, v, load=False):
"""
Setter method for bgp_state, mapped from YANG variable /bgp_state (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bgp_state is considered as a private
method. Backends looking to populate this variable should
... | python | def _set_bgp_state(self, v, load=False):
"""
Setter method for bgp_state, mapped from YANG variable /bgp_state (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bgp_state is considered as a private
method. Backends looking to populate this variable should
... | [
"def",
"_set_bgp_state",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base... | Setter method for bgp_state, mapped from YANG variable /bgp_state (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bgp_state is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_bgp_state() directl... | [
"Setter",
"method",
"for",
"bgp_state",
"mapped",
"from",
"YANG",
"variable",
"/",
"bgp_state",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"file",
"then",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/__init__.py#L5565-L5588 | train | Sets the BGP state of the BGP archive. |
StackStorm/pybind | pybind/slxos/v17r_2_00/__init__.py | brocade_sysdiag_operational._set_hw_state | def _set_hw_state(self, v, load=False):
"""
Setter method for hw_state, mapped from YANG variable /hw_state (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_hw_state is considered as a private
method. Backends looking to populate this variable should
d... | python | def _set_hw_state(self, v, load=False):
"""
Setter method for hw_state, mapped from YANG variable /hw_state (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_hw_state is considered as a private
method. Backends looking to populate this variable should
d... | [
"def",
"_set_hw_state",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for hw_state, mapped from YANG variable /hw_state (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_hw_state is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_hw_state() directly.
... | [
"Setter",
"method",
"for",
"hw_state",
"mapped",
"from",
"YANG",
"variable",
"/",
"hw_state",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"file",
"then",
"_s... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/__init__.py#L6613-L6636 | train | Sets the state of the HW route. |
StackStorm/pybind | pybind/slxos/v17r_2_00/__init__.py | brocade_uda_access_list._set_uda | def _set_uda(self, v, load=False):
"""
Setter method for uda, mapped from YANG variable /uda (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_uda is considered as a private
method. Backends looking to populate this variable should
do so via calling thi... | python | def _set_uda(self, v, load=False):
"""
Setter method for uda, mapped from YANG variable /uda (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_uda is considered as a private
method. Backends looking to populate this variable should
do so via calling thi... | [
"def",
"_set_uda",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
"... | Setter method for uda, mapped from YANG variable /uda (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_uda is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_uda() directly. | [
"Setter",
"method",
"for",
"uda",
"mapped",
"from",
"YANG",
"variable",
"/",
"uda",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"file",
"then",
"_set_uda",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/__init__.py#L11231-L11252 | train | Set the value of uda |
StackStorm/pybind | pybind/slxos/v17r_2_00/__init__.py | brocade_mpls._set_mpls_config | def _set_mpls_config(self, v, load=False):
"""
Setter method for mpls_config, mapped from YANG variable /mpls_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mpls_config is considered as a private
method. Backends looking to populate this variable ... | python | def _set_mpls_config(self, v, load=False):
"""
Setter method for mpls_config, mapped from YANG variable /mpls_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mpls_config is considered as a private
method. Backends looking to populate this variable ... | [
"def",
"_set_mpls_config",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for mpls_config, mapped from YANG variable /mpls_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mpls_config is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_mpls_config()... | [
"Setter",
"method",
"for",
"mpls_config",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_config",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"file",
"then",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/__init__.py#L11540-L11561 | train | Sets the configuration of the
based on the MPLS configuration. |
StackStorm/pybind | pybind/slxos/v17r_2_00/__init__.py | brocade_tunnels._set_nsx_controller | def _set_nsx_controller(self, v, load=False):
"""
Setter method for nsx_controller, mapped from YANG variable /nsx_controller (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_nsx_controller is considered as a private
method. Backends looking to populate this va... | python | def _set_nsx_controller(self, v, load=False):
"""
Setter method for nsx_controller, mapped from YANG variable /nsx_controller (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_nsx_controller is considered as a private
method. Backends looking to populate this va... | [
"def",
"_set_nsx_controller",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for nsx_controller, mapped from YANG variable /nsx_controller (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_nsx_controller is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_nsx_contr... | [
"Setter",
"method",
"for",
"nsx_controller",
"mapped",
"from",
"YANG",
"variable",
"/",
"nsx_controller",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"file",
"then"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/__init__.py#L13643-L13664 | train | Sets the nsx - controller property of the base node. |
StackStorm/pybind | pybind/slxos/v17r_2_00/__init__.py | brocade_ip_access_list._set_acl_mirror | def _set_acl_mirror(self, v, load=False):
"""
Setter method for acl_mirror, mapped from YANG variable /acl_mirror (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_acl_mirror is considered as a private
method. Backends looking to populate this variable shou... | python | def _set_acl_mirror(self, v, load=False):
"""
Setter method for acl_mirror, mapped from YANG variable /acl_mirror (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_acl_mirror is considered as a private
method. Backends looking to populate this variable shou... | [
"def",
"_set_acl_mirror",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for acl_mirror, mapped from YANG variable /acl_mirror (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_acl_mirror is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_acl_mirror() dir... | [
"Setter",
"method",
"for",
"acl_mirror",
"mapped",
"from",
"YANG",
"variable",
"/",
"acl_mirror",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"file",
"then",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/__init__.py#L13938-L13959 | train | Sets the ACL Mirrored ACL for the given sequence. |
StackStorm/pybind | pybind/slxos/v17r_2_00/__init__.py | brocade_nsm_operational._set_packet_encap_processing_state | def _set_packet_encap_processing_state(self, v, load=False):
"""
Setter method for packet_encap_processing_state, mapped from YANG variable /packet_encap_processing_state (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_packet_encap_processing_state is conside... | python | def _set_packet_encap_processing_state(self, v, load=False):
"""
Setter method for packet_encap_processing_state, mapped from YANG variable /packet_encap_processing_state (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_packet_encap_processing_state is conside... | [
"def",
"_set_packet_encap_processing_state",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
... | Setter method for packet_encap_processing_state, mapped from YANG variable /packet_encap_processing_state (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_packet_encap_processing_state is considered as a private
method. Backends looking to populate this variable s... | [
"Setter",
"method",
"for",
"packet_encap_processing_state",
"mapped",
"from",
"YANG",
"variable",
"/",
"packet_encap_processing_state",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"so... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/__init__.py#L15159-L15182 | train | Sets the state of the packet encapsulation tree. |
StackStorm/pybind | pybind/slxos/v17s_1_02/interface/port_channel/logical_interface/port_channel/pc_cmd_container_dummy/service_instance_vlan_cmds_dummy_container/__init__.py | service_instance_vlan_cmds_dummy_container._set_tagged_outer_vlan | def _set_tagged_outer_vlan(self, v, load=False):
"""
Setter method for tagged_outer_vlan, mapped from YANG variable /interface/port_channel/logical_interface/port_channel/pc_cmd_container_dummy/service_instance_vlan_cmds_dummy_container/tagged_outer_vlan (container)
If this variable is read-only (config: fa... | python | def _set_tagged_outer_vlan(self, v, load=False):
"""
Setter method for tagged_outer_vlan, mapped from YANG variable /interface/port_channel/logical_interface/port_channel/pc_cmd_container_dummy/service_instance_vlan_cmds_dummy_container/tagged_outer_vlan (container)
If this variable is read-only (config: fa... | [
"def",
"_set_tagged_outer_vlan",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",... | Setter method for tagged_outer_vlan, mapped from YANG variable /interface/port_channel/logical_interface/port_channel/pc_cmd_container_dummy/service_instance_vlan_cmds_dummy_container/tagged_outer_vlan (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_tagged_outer_vlan... | [
"Setter",
"method",
"for",
"tagged_outer_vlan",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"port_channel",
"/",
"logical_interface",
"/",
"port_channel",
"/",
"pc_cmd_container_dummy",
"/",
"service_instance_vlan_cmds_dummy_container",
"/",
"tagged_outer_v... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/interface/port_channel/logical_interface/port_channel/pc_cmd_container_dummy/service_instance_vlan_cmds_dummy_container/__init__.py#L127-L148 | train | Sets the value of the tagged_outer_vlan variable. |
StackStorm/pybind | pybind/nos/v6_0_2f/rbridge_id/ipv6/router/ospf/graceful_restart/__init__.py | graceful_restart._set_helper | def _set_helper(self, v, load=False):
"""
Setter method for helper, mapped from YANG variable /rbridge_id/ipv6/router/ospf/graceful_restart/helper (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_helper is considered as a private
method. Backends looking t... | python | def _set_helper(self, v, load=False):
"""
Setter method for helper, mapped from YANG variable /rbridge_id/ipv6/router/ospf/graceful_restart/helper (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_helper is considered as a private
method. Backends looking t... | [
"def",
"_set_helper",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for helper, mapped from YANG variable /rbridge_id/ipv6/router/ospf/graceful_restart/helper (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_helper is considered as a private
method. Backends looking to populate this variable should
do so via call... | [
"Setter",
"method",
"for",
"helper",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"ipv6",
"/",
"router",
"/",
"ospf",
"/",
"graceful_restart",
"/",
"helper",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/ipv6/router/ospf/graceful_restart/__init__.py#L96-L119 | train | Set the helper property of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/mpls_state/__init__.py | mpls_state._set_summary | def _set_summary(self, v, load=False):
"""
Setter method for summary, mapped from YANG variable /mpls_state/summary (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_summary is considered as a private
method. Backends looking to populate this variable shoul... | python | def _set_summary(self, v, load=False):
"""
Setter method for summary, mapped from YANG variable /mpls_state/summary (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_summary is considered as a private
method. Backends looking to populate this variable shoul... | [
"def",
"_set_summary",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",... | Setter method for summary, mapped from YANG variable /mpls_state/summary (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_summary is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_summary() dire... | [
"Setter",
"method",
"for",
"summary",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_state",
"/",
"summary",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"f... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_state/__init__.py#L169-L192 | train | Sets the summary of the
|
StackStorm/pybind | pybind/nos/v6_0_2f/interface_vlan/interface/ve/ipv6/ipv6_anycast_gateway/__init__.py | ipv6_anycast_gateway._set_ipv6_gateway_address | def _set_ipv6_gateway_address(self, v, load=False):
"""
Setter method for ipv6_gateway_address, mapped from YANG variable /interface_vlan/interface/ve/ipv6/ipv6_anycast_gateway/ipv6_gateway_address (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ipv6_gateway_addre... | python | def _set_ipv6_gateway_address(self, v, load=False):
"""
Setter method for ipv6_gateway_address, mapped from YANG variable /interface_vlan/interface/ve/ipv6/ipv6_anycast_gateway/ipv6_gateway_address (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ipv6_gateway_addre... | [
"def",
"_set_ipv6_gateway_address",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
"... | Setter method for ipv6_gateway_address, mapped from YANG variable /interface_vlan/interface/ve/ipv6/ipv6_anycast_gateway/ipv6_gateway_address (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ipv6_gateway_address is considered as a private
method. Backends looking to po... | [
"Setter",
"method",
"for",
"ipv6_gateway_address",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface_vlan",
"/",
"interface",
"/",
"ve",
"/",
"ipv6",
"/",
"ipv6_anycast_gateway",
"/",
"ipv6_gateway_address",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface_vlan/interface/ve/ipv6/ipv6_anycast_gateway/__init__.py#L137-L158 | train | Set the ipv6 gateway address. |
StackStorm/pybind | pybind/nos/v6_0_2f/interface_vlan/interface/ve/ipv6/ipv6_anycast_gateway/__init__.py | ipv6_anycast_gateway._set_gratuitous_arp | def _set_gratuitous_arp(self, v, load=False):
"""
Setter method for gratuitous_arp, mapped from YANG variable /interface_vlan/interface/ve/ipv6/ipv6_anycast_gateway/gratuitous_arp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_gratuitous_arp is considered as... | python | def _set_gratuitous_arp(self, v, load=False):
"""
Setter method for gratuitous_arp, mapped from YANG variable /interface_vlan/interface/ve/ipv6/ipv6_anycast_gateway/gratuitous_arp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_gratuitous_arp is considered as... | [
"def",
"_set_gratuitous_arp",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for gratuitous_arp, mapped from YANG variable /interface_vlan/interface/ve/ipv6/ipv6_anycast_gateway/gratuitous_arp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_gratuitous_arp is considered as a private
method. Backends looking to populate this v... | [
"Setter",
"method",
"for",
"gratuitous_arp",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface_vlan",
"/",
"interface",
"/",
"ve",
"/",
"ipv6",
"/",
"ipv6_anycast_gateway",
"/",
"gratuitous_arp",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface_vlan/interface/ve/ipv6/ipv6_anycast_gateway/__init__.py#L170-L191 | train | Sets the gratuitous ARP property of the
. |
StackStorm/pybind | pybind/nos/v6_0_2f/brocade_fcoe_ext_rpc/fcoe_get_interface/output/fcoe_intf_list/__init__.py | fcoe_intf_list._set_fcoe_intf_enode_bind_type | def _set_fcoe_intf_enode_bind_type(self, v, load=False):
"""
Setter method for fcoe_intf_enode_bind_type, mapped from YANG variable /brocade_fcoe_ext_rpc/fcoe_get_interface/output/fcoe_intf_list/fcoe_intf_enode_bind_type (fcoe-binding-type)
If this variable is read-only (config: false) in the
source YAN... | python | def _set_fcoe_intf_enode_bind_type(self, v, load=False):
"""
Setter method for fcoe_intf_enode_bind_type, mapped from YANG variable /brocade_fcoe_ext_rpc/fcoe_get_interface/output/fcoe_intf_list/fcoe_intf_enode_bind_type (fcoe-binding-type)
If this variable is read-only (config: false) in the
source YAN... | [
"def",
"_set_fcoe_intf_enode_bind_type",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v"... | Setter method for fcoe_intf_enode_bind_type, mapped from YANG variable /brocade_fcoe_ext_rpc/fcoe_get_interface/output/fcoe_intf_list/fcoe_intf_enode_bind_type (fcoe-binding-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_intf_enode_bind_type is considered as a privat... | [
"Setter",
"method",
"for",
"fcoe_intf_enode_bind_type",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_fcoe_ext_rpc",
"/",
"fcoe_get_interface",
"/",
"output",
"/",
"fcoe_intf_list",
"/",
"fcoe_intf_enode_bind_type",
"(",
"fcoe",
"-",
"binding",
"-",
"type",
")",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_fcoe_ext_rpc/fcoe_get_interface/output/fcoe_intf_list/__init__.py#L688-L714 | train | Sets the type of node to be bound to the enode. |
StackStorm/pybind | pybind/nos/v6_0_2f/snmp_server/enable/__init__.py | enable._set_trap | def _set_trap(self, v, load=False):
"""
Setter method for trap, mapped from YANG variable /snmp_server/enable/trap (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_trap is considered as a private
method. Backends looking to populate this variable should
... | python | def _set_trap(self, v, load=False):
"""
Setter method for trap, mapped from YANG variable /snmp_server/enable/trap (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_trap is considered as a private
method. Backends looking to populate this variable should
... | [
"def",
"_set_trap",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for trap, mapped from YANG variable /snmp_server/enable/trap (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_trap is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_trap() directly... | [
"Setter",
"method",
"for",
"trap",
"mapped",
"from",
"YANG",
"variable",
"/",
"snmp_server",
"/",
"enable",
"/",
"trap",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/snmp_server/enable/__init__.py#L92-L113 | train | Set the trap parameter of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/ptp_state/__init__.py | ptp_state._set_brief | def _set_brief(self, v, load=False):
"""
Setter method for brief, mapped from YANG variable /ptp_state/brief (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_brief is considered as a private
method. Backends looking to populate this variable should
do ... | python | def _set_brief(self, v, load=False):
"""
Setter method for brief, mapped from YANG variable /ptp_state/brief (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_brief is considered as a private
method. Backends looking to populate this variable should
do ... | [
"def",
"_set_brief",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for brief, mapped from YANG variable /ptp_state/brief (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_brief is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_brief() directly. | [
"Setter",
"method",
"for",
"brief",
"mapped",
"from",
"YANG",
"variable",
"/",
"ptp_state",
"/",
"brief",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"file",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/ptp_state/__init__.py#L106-L127 | train | Set the brief property of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/ptp_state/__init__.py | ptp_state._set_clock_foreign_masters | def _set_clock_foreign_masters(self, v, load=False):
"""
Setter method for clock_foreign_masters, mapped from YANG variable /ptp_state/clock_foreign_masters (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_clock_foreign_masters is considered as a private
m... | python | def _set_clock_foreign_masters(self, v, load=False):
"""
Setter method for clock_foreign_masters, mapped from YANG variable /ptp_state/clock_foreign_masters (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_clock_foreign_masters is considered as a private
m... | [
"def",
"_set_clock_foreign_masters",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
... | Setter method for clock_foreign_masters, mapped from YANG variable /ptp_state/clock_foreign_masters (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_clock_foreign_masters is considered as a private
method. Backends looking to populate this variable should
do s... | [
"Setter",
"method",
"for",
"clock_foreign_masters",
"mapped",
"from",
"YANG",
"variable",
"/",
"ptp_state",
"/",
"clock_foreign_masters",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/ptp_state/__init__.py#L172-L193 | train | Sets the value of the clock - foreign - master list. |
StackStorm/pybind | pybind/slxos/v17s_1_02/ptp_state/__init__.py | ptp_state._set_corrections | def _set_corrections(self, v, load=False):
"""
Setter method for corrections, mapped from YANG variable /ptp_state/corrections (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_corrections is considered as a private
method. Backends looking to populate this... | python | def _set_corrections(self, v, load=False):
"""
Setter method for corrections, mapped from YANG variable /ptp_state/corrections (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_corrections is considered as a private
method. Backends looking to populate this... | [
"def",
"_set_corrections",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for corrections, mapped from YANG variable /ptp_state/corrections (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_corrections is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_cor... | [
"Setter",
"method",
"for",
"corrections",
"mapped",
"from",
"YANG",
"variable",
"/",
"ptp_state",
"/",
"corrections",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/ptp_state/__init__.py#L205-L226 | train | Sets the corrections property of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/ptp_state/__init__.py | ptp_state._set_parent_port_detail | def _set_parent_port_detail(self, v, load=False):
"""
Setter method for parent_port_detail, mapped from YANG variable /ptp_state/parent_port_detail (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_parent_port_detail is considered as a private
method. Backe... | python | def _set_parent_port_detail(self, v, load=False):
"""
Setter method for parent_port_detail, mapped from YANG variable /ptp_state/parent_port_detail (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_parent_port_detail is considered as a private
method. Backe... | [
"def",
"_set_parent_port_detail",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
","... | Setter method for parent_port_detail, mapped from YANG variable /ptp_state/parent_port_detail (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_parent_port_detail is considered as a private
method. Backends looking to populate this variable should
do so via cal... | [
"Setter",
"method",
"for",
"parent_port_detail",
"mapped",
"from",
"YANG",
"variable",
"/",
"ptp_state",
"/",
"parent_port_detail",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"so... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/ptp_state/__init__.py#L238-L259 | train | Sets the parent port - detail of the sequence. |
StackStorm/pybind | pybind/slxos/v17s_1_02/ptp_state/__init__.py | ptp_state._set_time_property | def _set_time_property(self, v, load=False):
"""
Setter method for time_property, mapped from YANG variable /ptp_state/time_property (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_time_property is considered as a private
method. Backends looking to popul... | python | def _set_time_property(self, v, load=False):
"""
Setter method for time_property, mapped from YANG variable /ptp_state/time_property (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_time_property is considered as a private
method. Backends looking to popul... | [
"def",
"_set_time_property",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"... | Setter method for time_property, mapped from YANG variable /ptp_state/time_property (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_time_property is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._s... | [
"Setter",
"method",
"for",
"time_property",
"mapped",
"from",
"YANG",
"variable",
"/",
"ptp_state",
"/",
"time_property",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/ptp_state/__init__.py#L271-L292 | train | Sets the time property of the
|
StackStorm/pybind | pybind/slxos/v17r_2_00/bgp_state/neighbor/evpn/__init__.py | evpn._set_bgp_state | def _set_bgp_state(self, v, load=False):
"""
Setter method for bgp_state, mapped from YANG variable /bgp_state/neighbor/evpn/bgp_state (bgp-states)
If this variable is read-only (config: false) in the
source YANG file, then _set_bgp_state is considered as a private
method. Backends looking to popula... | python | def _set_bgp_state(self, v, load=False):
"""
Setter method for bgp_state, mapped from YANG variable /bgp_state/neighbor/evpn/bgp_state (bgp-states)
If this variable is read-only (config: false) in the
source YANG file, then _set_bgp_state is considered as a private
method. Backends looking to popula... | [
"def",
"_set_bgp_state",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base... | Setter method for bgp_state, mapped from YANG variable /bgp_state/neighbor/evpn/bgp_state (bgp-states)
If this variable is read-only (config: false) in the
source YANG file, then _set_bgp_state is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj... | [
"Setter",
"method",
"for",
"bgp_state",
"mapped",
"from",
"YANG",
"variable",
"/",
"bgp_state",
"/",
"neighbor",
"/",
"evpn",
"/",
"bgp_state",
"(",
"bgp",
"-",
"states",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"fals... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/bgp_state/neighbor/evpn/__init__.py#L387-L410 | train | Sets the BGP state of the BGP node. |
StackStorm/pybind | pybind/slxos/v17r_2_00/bgp_state/neighbor/evpn/__init__.py | evpn._set_last_update_time | def _set_last_update_time(self, v, load=False):
"""
Setter method for last_update_time, mapped from YANG variable /bgp_state/neighbor/evpn/last_update_time (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_last_update_time is considered as a private
method.... | python | def _set_last_update_time(self, v, load=False):
"""
Setter method for last_update_time, mapped from YANG variable /bgp_state/neighbor/evpn/last_update_time (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_last_update_time is considered as a private
method.... | [
"def",
"_set_last_update_time",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for last_update_time, mapped from YANG variable /bgp_state/neighbor/evpn/last_update_time (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_last_update_time is considered as a private
method. Backends looking to populate this variable should
do so... | [
"Setter",
"method",
"for",
"last_update_time",
"mapped",
"from",
"YANG",
"variable",
"/",
"bgp_state",
"/",
"neighbor",
"/",
"evpn",
"/",
"last_update_time",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"fal... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/bgp_state/neighbor/evpn/__init__.py#L2052-L2075 | train | Sets the last update time of a node. |
StackStorm/pybind | pybind/slxos/v17r_2_00/bgp_state/neighbor/evpn/__init__.py | evpn._set_neighbor_nlri_negotiation | def _set_neighbor_nlri_negotiation(self, v, load=False):
"""
Setter method for neighbor_nlri_negotiation, mapped from YANG variable /bgp_state/neighbor/evpn/neighbor_nlri_negotiation (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_neighbor_nlri_negotiation is... | python | def _set_neighbor_nlri_negotiation(self, v, load=False):
"""
Setter method for neighbor_nlri_negotiation, mapped from YANG variable /bgp_state/neighbor/evpn/neighbor_nlri_negotiation (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_neighbor_nlri_negotiation is... | [
"def",
"_set_neighbor_nlri_negotiation",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v"... | Setter method for neighbor_nlri_negotiation, mapped from YANG variable /bgp_state/neighbor/evpn/neighbor_nlri_negotiation (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_neighbor_nlri_negotiation is considered as a private
method. Backends looking to populate thi... | [
"Setter",
"method",
"for",
"neighbor_nlri_negotiation",
"mapped",
"from",
"YANG",
"variable",
"/",
"bgp_state",
"/",
"neighbor",
"/",
"evpn",
"/",
"neighbor_nlri_negotiation",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"conf... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/bgp_state/neighbor/evpn/__init__.py#L2089-L2112 | train | Set neighbor - nlri - negotiation |
StackStorm/pybind | pybind/slxos/v17r_2_00/bgp_state/neighbor/evpn/__init__.py | evpn._set_neighbor_configured_routes | def _set_neighbor_configured_routes(self, v, load=False):
"""
Setter method for neighbor_configured_routes, mapped from YANG variable /bgp_state/neighbor/evpn/neighbor_configured_routes (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_neighbor_configured_route... | python | def _set_neighbor_configured_routes(self, v, load=False):
"""
Setter method for neighbor_configured_routes, mapped from YANG variable /bgp_state/neighbor/evpn/neighbor_configured_routes (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_neighbor_configured_route... | [
"def",
"_set_neighbor_configured_routes",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v... | Setter method for neighbor_configured_routes, mapped from YANG variable /bgp_state/neighbor/evpn/neighbor_configured_routes (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_neighbor_configured_routes is considered as a private
method. Backends looking to populate ... | [
"Setter",
"method",
"for",
"neighbor_configured_routes",
"mapped",
"from",
"YANG",
"variable",
"/",
"bgp_state",
"/",
"neighbor",
"/",
"evpn",
"/",
"neighbor_configured_routes",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"co... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/bgp_state/neighbor/evpn/__init__.py#L2126-L2149 | train | Sets the neighbor configured routes. |
StackStorm/pybind | pybind/slxos/v17r_2_00/bgp_state/neighbor/evpn/__init__.py | evpn._set_distribute_list | def _set_distribute_list(self, v, load=False):
"""
Setter method for distribute_list, mapped from YANG variable /bgp_state/neighbor/evpn/distribute_list (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_distribute_list is considered as a private
method. Bac... | python | def _set_distribute_list(self, v, load=False):
"""
Setter method for distribute_list, mapped from YANG variable /bgp_state/neighbor/evpn/distribute_list (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_distribute_list is considered as a private
method. Bac... | [
"def",
"_set_distribute_list",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for distribute_list, mapped from YANG variable /bgp_state/neighbor/evpn/distribute_list (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_distribute_list is considered as a private
method. Backends looking to populate this variable should
do so vi... | [
"Setter",
"method",
"for",
"distribute_list",
"mapped",
"from",
"YANG",
"variable",
"/",
"bgp_state",
"/",
"neighbor",
"/",
"evpn",
"/",
"distribute_list",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/bgp_state/neighbor/evpn/__init__.py#L2161-L2182 | train | Sets the distribute list of the BGP neighbor. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.