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/v17r_2_00/bgp_state/neighbor/evpn/__init__.py | evpn._set_msg_sent | def _set_msg_sent(self, v, load=False):
"""
Setter method for msg_sent, mapped from YANG variable /bgp_state/neighbor/evpn/msg_sent (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_msg_sent is considered as a private
method. Backends looking to populate th... | python | def _set_msg_sent(self, v, load=False):
"""
Setter method for msg_sent, mapped from YANG variable /bgp_state/neighbor/evpn/msg_sent (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_msg_sent is considered as a private
method. Backends looking to populate th... | [
"def",
"_set_msg_sent",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for msg_sent, mapped from YANG variable /bgp_state/neighbor/evpn/msg_sent (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_msg_sent is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._se... | [
"Setter",
"method",
"for",
"msg_sent",
"mapped",
"from",
"YANG",
"variable",
"/",
"bgp_state",
"/",
"neighbor",
"/",
"evpn",
"/",
"msg_sent",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"i... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/bgp_state/neighbor/evpn/__init__.py#L2293-L2314 | train | Sets the message sent property of the BGP node. |
StackStorm/pybind | pybind/slxos/v17r_2_00/bgp_state/neighbor/evpn/__init__.py | evpn._set_msg_received | def _set_msg_received(self, v, load=False):
"""
Setter method for msg_received, mapped from YANG variable /bgp_state/neighbor/evpn/msg_received (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_msg_received is considered as a private
method. Backends lookin... | python | def _set_msg_received(self, v, load=False):
"""
Setter method for msg_received, mapped from YANG variable /bgp_state/neighbor/evpn/msg_received (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_msg_received is considered as a private
method. Backends lookin... | [
"def",
"_set_msg_received",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"b... | Setter method for msg_received, mapped from YANG variable /bgp_state/neighbor/evpn/msg_received (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_msg_received is considered as a private
method. Backends looking to populate this variable should
do so via calling... | [
"Setter",
"method",
"for",
"msg_received",
"mapped",
"from",
"YANG",
"variable",
"/",
"bgp_state",
"/",
"neighbor",
"/",
"evpn",
"/",
"msg_received",
"(",
"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#L2326-L2347 | train | Sets the message received for BGP neighbor |
StackStorm/pybind | pybind/nos/v6_0_2f/rbridge_id/bp_rate_limit/__init__.py | bp_rate_limit._set_heavy | def _set_heavy(self, v, load=False):
"""
Setter method for heavy, mapped from YANG variable /rbridge_id/bp_rate_limit/heavy (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_heavy is considered as a private
method. Backends looking to populate this variable... | python | def _set_heavy(self, v, load=False):
"""
Setter method for heavy, mapped from YANG variable /rbridge_id/bp_rate_limit/heavy (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_heavy is considered as a private
method. Backends looking to populate this variable... | [
"def",
"_set_heavy",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for heavy, mapped from YANG variable /rbridge_id/bp_rate_limit/heavy (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_heavy is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_heavy(... | [
"Setter",
"method",
"for",
"heavy",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"bp_rate_limit",
"/",
"heavy",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"s... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/bp_rate_limit/__init__.py#L94-L115 | train | Set the heavy rate limit for the base node. |
StackStorm/pybind | pybind/nos/v6_0_2f/rbridge_id/bp_rate_limit/__init__.py | bp_rate_limit._set_queue | def _set_queue(self, v, load=False):
"""
Setter method for queue, mapped from YANG variable /rbridge_id/bp_rate_limit/queue (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_queue is considered as a private
method. Backends looking to populate this variable shou... | python | def _set_queue(self, v, load=False):
"""
Setter method for queue, mapped from YANG variable /rbridge_id/bp_rate_limit/queue (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_queue is considered as a private
method. Backends looking to populate this variable shou... | [
"def",
"_set_queue",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for queue, mapped from YANG variable /rbridge_id/bp_rate_limit/queue (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_queue is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_queue() dir... | [
"Setter",
"method",
"for",
"queue",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"bp_rate_limit",
"/",
"queue",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/bp_rate_limit/__init__.py#L127-L148 | train | Sets the queue of the
based on the queue_id field. |
StackStorm/pybind | pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/rsvp/interface_refresh_reduction/__init__.py | interface_refresh_reduction._set_bundle_message | def _set_bundle_message(self, v, load=False):
"""
Setter method for bundle_message, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/rsvp/interface_refresh_reduction/bundle_message (container)
If this variable is read-only (config: false) in the
source YANG file, then _... | python | def _set_bundle_message(self, v, load=False):
"""
Setter method for bundle_message, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/rsvp/interface_refresh_reduction/bundle_message (container)
If this variable is read-only (config: false) in the
source YANG file, then _... | [
"def",
"_set_bundle_message",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for bundle_message, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/rsvp/interface_refresh_reduction/bundle_message (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bundle_message is considered as a private
method. ... | [
"Setter",
"method",
"for",
"bundle_message",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_config",
"/",
"router",
"/",
"mpls",
"/",
"mpls_cmds_holder",
"/",
"mpls_interface",
"/",
"rsvp",
"/",
"interface_refresh_reduction",
"/",
"bundle_message",
"(",
"container... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/rsvp/interface_refresh_reduction/__init__.py#L161-L182 | train | Sets the bundle message for the
|
StackStorm/pybind | pybind/nos/v7_2_0/isns/__init__.py | isns._set_isns_vrf | def _set_isns_vrf(self, v, load=False):
"""
Setter method for isns_vrf, mapped from YANG variable /isns/isns_vrf (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_isns_vrf is considered as a private
method. Backends looking to populate this variable should
d... | python | def _set_isns_vrf(self, v, load=False):
"""
Setter method for isns_vrf, mapped from YANG variable /isns/isns_vrf (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_isns_vrf is considered as a private
method. Backends looking to populate this variable should
d... | [
"def",
"_set_isns_vrf",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for isns_vrf, mapped from YANG variable /isns/isns_vrf (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_isns_vrf is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_isns_vrf() directly.
... | [
"Setter",
"method",
"for",
"isns_vrf",
"mapped",
"from",
"YANG",
"variable",
"/",
"isns",
"/",
"isns_vrf",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"file",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/isns/__init__.py#L96-L119 | train | Sets the isns - vrf property of the isns_vrf variable. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/mpls_config/router/mpls/mpls_cmds_holder/policy/__init__.py | policy._set_policy_admin_group | def _set_policy_admin_group(self, v, load=False):
"""
Setter method for policy_admin_group, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/policy/policy_admin_group (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_policy_admin_group is consider... | python | def _set_policy_admin_group(self, v, load=False):
"""
Setter method for policy_admin_group, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/policy/policy_admin_group (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_policy_admin_group is consider... | [
"def",
"_set_policy_admin_group",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
","... | Setter method for policy_admin_group, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/policy/policy_admin_group (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_policy_admin_group is considered as a private
method. Backends looking to populate this ... | [
"Setter",
"method",
"for",
"policy_admin_group",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_config",
"/",
"router",
"/",
"mpls",
"/",
"mpls_cmds_holder",
"/",
"policy",
"/",
"policy_admin_group",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/mpls_config/router/mpls/mpls_cmds_holder/policy/__init__.py#L118-L139 | train | Sets the admin group of the cluster. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/mpls_config/router/mpls/mpls_cmds_holder/policy/__init__.py | policy._set_load_interval | def _set_load_interval(self, v, load=False):
"""
Setter method for load_interval, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/policy/load_interval (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_load_interval is considered as a private
... | python | def _set_load_interval(self, v, load=False):
"""
Setter method for load_interval, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/policy/load_interval (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_load_interval is considered as a private
... | [
"def",
"_set_load_interval",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"... | Setter method for load_interval, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/policy/load_interval (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_load_interval is considered as a private
method. Backends looking to populate this variable shou... | [
"Setter",
"method",
"for",
"load_interval",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_config",
"/",
"router",
"/",
"mpls",
"/",
"mpls_cmds_holder",
"/",
"policy",
"/",
"load_interval",
"(",
"uint32",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/mpls_config/router/mpls/mpls_cmds_holder/policy/__init__.py#L349-L370 | train | Sets the load_interval of the
|
StackStorm/pybind | pybind/slxos/v17r_1_01a/mpls_config/router/mpls/mpls_cmds_holder/policy/__init__.py | policy._set_implicit_commit | def _set_implicit_commit(self, v, load=False):
"""
Setter method for implicit_commit, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/policy/implicit_commit (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_implicit_commit is considered as a... | python | def _set_implicit_commit(self, v, load=False):
"""
Setter method for implicit_commit, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/policy/implicit_commit (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_implicit_commit is considered as a... | [
"def",
"_set_implicit_commit",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for implicit_commit, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/policy/implicit_commit (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_implicit_commit is considered as a private
method. Backends looking to populate this vari... | [
"Setter",
"method",
"for",
"implicit_commit",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_config",
"/",
"router",
"/",
"mpls",
"/",
"mpls_cmds_holder",
"/",
"policy",
"/",
"implicit_commit",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/mpls_config/router/mpls/mpls_cmds_holder/policy/__init__.py#L613-L634 | train | Sets the implicit_commit of the
|
StackStorm/pybind | pybind/nos/v6_0_2f/brocade_lldp_ext_rpc/__init__.py | brocade_lldp_ext._set_get_lldp_neighbor_detail | def _set_get_lldp_neighbor_detail(self, v, load=False):
"""
Setter method for get_lldp_neighbor_detail, mapped from YANG variable /brocade_lldp_ext_rpc/get_lldp_neighbor_detail (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_get_lldp_neighbor_detail is considered a... | python | def _set_get_lldp_neighbor_detail(self, v, load=False):
"""
Setter method for get_lldp_neighbor_detail, mapped from YANG variable /brocade_lldp_ext_rpc/get_lldp_neighbor_detail (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_get_lldp_neighbor_detail is considered a... | [
"def",
"_set_get_lldp_neighbor_detail",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",... | Setter method for get_lldp_neighbor_detail, mapped from YANG variable /brocade_lldp_ext_rpc/get_lldp_neighbor_detail (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_get_lldp_neighbor_detail is considered as a private
method. Backends looking to populate this variable s... | [
"Setter",
"method",
"for",
"get_lldp_neighbor_detail",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_lldp_ext_rpc",
"/",
"get_lldp_neighbor_detail",
"(",
"rpc",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_lldp_ext_rpc/__init__.py#L99-L123 | train | Sets the get_lldp_neighbor_detail variable in the managed entity. |
StackStorm/pybind | pybind/nos/v6_0_2f/protocol/lldp/__init__.py | lldp._set_system_description | def _set_system_description(self, v, load=False):
"""
Setter method for system_description, mapped from YANG variable /protocol/lldp/system_description (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_system_description is considered as a private
method. Back... | python | def _set_system_description(self, v, load=False):
"""
Setter method for system_description, mapped from YANG variable /protocol/lldp/system_description (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_system_description is considered as a private
method. Back... | [
"def",
"_set_system_description",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
","... | Setter method for system_description, mapped from YANG variable /protocol/lldp/system_description (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_system_description is considered as a private
method. Backends looking to populate this variable should
do so via ca... | [
"Setter",
"method",
"for",
"system_description",
"mapped",
"from",
"YANG",
"variable",
"/",
"protocol",
"/",
"lldp",
"/",
"system_description",
"(",
"string",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/protocol/lldp/__init__.py#L300-L321 | train | Sets the system description of the
|
StackStorm/pybind | pybind/nos/v6_0_2f/protocol/lldp/__init__.py | lldp._set_profile | def _set_profile(self, v, load=False):
"""
Setter method for profile, mapped from YANG variable /protocol/lldp/profile (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_profile is considered as a private
method. Backends looking to populate this variable should
... | python | def _set_profile(self, v, load=False):
"""
Setter method for profile, mapped from YANG variable /protocol/lldp/profile (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_profile is considered as a private
method. Backends looking to populate this variable should
... | [
"def",
"_set_profile",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",... | Setter method for profile, mapped from YANG variable /protocol/lldp/profile (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_profile is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_profile() direct... | [
"Setter",
"method",
"for",
"profile",
"mapped",
"from",
"YANG",
"variable",
"/",
"protocol",
"/",
"lldp",
"/",
"profile",
"(",
"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/protocol/lldp/__init__.py#L399-L420 | train | Set the profile of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/filter_info_state/__init__.py | filter_info_state._set_interface_list | def _set_interface_list(self, v, load=False):
"""
Setter method for interface_list, mapped from YANG variable /filter_info_state/interface_list (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_list is considered as a private
method. Backends look... | python | def _set_interface_list(self, v, load=False):
"""
Setter method for interface_list, mapped from YANG variable /filter_info_state/interface_list (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_list is considered as a private
method. Backends look... | [
"def",
"_set_interface_list",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for interface_list, mapped from YANG variable /filter_info_state/interface_list (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_list is considered as a private
method. Backends looking to populate this variable should
do so via calling... | [
"Setter",
"method",
"for",
"interface_list",
"mapped",
"from",
"YANG",
"variable",
"/",
"filter_info_state",
"/",
"interface_list",
"(",
"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/filter_info_state/__init__.py#L96-L119 | train | Sets the interface_list property of the
|
StackStorm/pybind | pybind/nos/v6_0_2f/protocol/spanning_tree/__init__.py | spanning_tree._set_stp | def _set_stp(self, v, load=False):
"""
Setter method for stp, mapped from YANG variable /protocol/spanning_tree/stp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_stp is considered as a private
method. Backends looking to populate this variable should
... | python | def _set_stp(self, v, load=False):
"""
Setter method for stp, mapped from YANG variable /protocol/spanning_tree/stp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_stp is considered as a private
method. Backends looking to populate this variable should
... | [
"def",
"_set_stp",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
"... | Setter method for stp, mapped from YANG variable /protocol/spanning_tree/stp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_stp is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_stp() directly... | [
"Setter",
"method",
"for",
"stp",
"mapped",
"from",
"YANG",
"variable",
"/",
"protocol",
"/",
"spanning_tree",
"/",
"stp",
"(",
"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/protocol/spanning_tree/__init__.py#L100-L121 | train | Set the value of the STP spanning - tree to a new STP tree. |
StackStorm/pybind | pybind/nos/v6_0_2f/protocol/spanning_tree/__init__.py | spanning_tree._set_rstp | def _set_rstp(self, v, load=False):
"""
Setter method for rstp, mapped from YANG variable /protocol/spanning_tree/rstp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_rstp is considered as a private
method. Backends looking to populate this variable shoul... | python | def _set_rstp(self, v, load=False):
"""
Setter method for rstp, mapped from YANG variable /protocol/spanning_tree/rstp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_rstp is considered as a private
method. Backends looking to populate this variable shoul... | [
"def",
"_set_rstp",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for rstp, mapped from YANG variable /protocol/spanning_tree/rstp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_rstp is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_rstp() dire... | [
"Setter",
"method",
"for",
"rstp",
"mapped",
"from",
"YANG",
"variable",
"/",
"protocol",
"/",
"spanning_tree",
"/",
"rstp",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"sourc... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/protocol/spanning_tree/__init__.py#L133-L154 | train | Set the value of the rstp variable. |
StackStorm/pybind | pybind/nos/v6_0_2f/protocol/spanning_tree/__init__.py | spanning_tree._set_pvst | def _set_pvst(self, v, load=False):
"""
Setter method for pvst, mapped from YANG variable /protocol/spanning_tree/pvst (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_pvst is considered as a private
method. Backends looking to populate this variable shoul... | python | def _set_pvst(self, v, load=False):
"""
Setter method for pvst, mapped from YANG variable /protocol/spanning_tree/pvst (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_pvst is considered as a private
method. Backends looking to populate this variable shoul... | [
"def",
"_set_pvst",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for pvst, mapped from YANG variable /protocol/spanning_tree/pvst (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_pvst is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_pvst() dire... | [
"Setter",
"method",
"for",
"pvst",
"mapped",
"from",
"YANG",
"variable",
"/",
"protocol",
"/",
"spanning_tree",
"/",
"pvst",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"sourc... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/protocol/spanning_tree/__init__.py#L166-L187 | train | Set the PVST of the current node. |
StackStorm/pybind | pybind/nos/v6_0_2f/protocol/spanning_tree/__init__.py | spanning_tree._set_rpvst | def _set_rpvst(self, v, load=False):
"""
Setter method for rpvst, mapped from YANG variable /protocol/spanning_tree/rpvst (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_rpvst is considered as a private
method. Backends looking to populate this variable s... | python | def _set_rpvst(self, v, load=False):
"""
Setter method for rpvst, mapped from YANG variable /protocol/spanning_tree/rpvst (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_rpvst is considered as a private
method. Backends looking to populate this variable s... | [
"def",
"_set_rpvst",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for rpvst, mapped from YANG variable /protocol/spanning_tree/rpvst (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_rpvst is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_rpvst() ... | [
"Setter",
"method",
"for",
"rpvst",
"mapped",
"from",
"YANG",
"variable",
"/",
"protocol",
"/",
"spanning_tree",
"/",
"rpvst",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"sou... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/protocol/spanning_tree/__init__.py#L199-L220 | train | Sets the value of the rpvst mapped from the spanning tree. |
StackStorm/pybind | pybind/nos/v6_0_2f/protocol/spanning_tree/__init__.py | spanning_tree._set_mstp | def _set_mstp(self, v, load=False):
"""
Setter method for mstp, mapped from YANG variable /protocol/spanning_tree/mstp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mstp is considered as a private
method. Backends looking to populate this variable shoul... | python | def _set_mstp(self, v, load=False):
"""
Setter method for mstp, mapped from YANG variable /protocol/spanning_tree/mstp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mstp is considered as a private
method. Backends looking to populate this variable shoul... | [
"def",
"_set_mstp",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for mstp, mapped from YANG variable /protocol/spanning_tree/mstp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mstp is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_mstp() dire... | [
"Setter",
"method",
"for",
"mstp",
"mapped",
"from",
"YANG",
"variable",
"/",
"protocol",
"/",
"spanning_tree",
"/",
"mstp",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"sourc... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/protocol/spanning_tree/__init__.py#L232-L253 | train | Set the value of the MST property in the tree. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/routing_system/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf/__init__.py | af_vrf._set_af_vrf_name | def _set_af_vrf_name(self, v, load=False):
"""
Setter method for af_vrf_name, mapped from YANG variable /routing_system/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf/af_vrf_name (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_af_vrf_name is considere... | python | def _set_af_vrf_name(self, v, load=False):
"""
Setter method for af_vrf_name, mapped from YANG variable /routing_system/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf/af_vrf_name (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_af_vrf_name is considere... | [
"def",
"_set_af_vrf_name",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"parent",
"=",
"getattr",
"(",
"self",
",",
"\"_parent\"",
",",
"None",
")",
"if",
"parent",
"is",
"not",
"None",
"and",
"load",
"is",
"False",
":",
"raise",
"Attr... | Setter method for af_vrf_name, mapped from YANG variable /routing_system/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf/af_vrf_name (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_af_vrf_name is considered as a private
method. Backends looking to populate... | [
"Setter",
"method",
"for",
"af_vrf_name",
"mapped",
"from",
"YANG",
"variable",
"/",
"routing_system",
"/",
"router",
"/",
"router_bgp",
"/",
"address_family",
"/",
"ipv4",
"/",
"ipv4_unicast",
"/",
"af_vrf",
"/",
"af_vrf_name",
"(",
"string",
")",
"If",
"this... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/routing_system/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf/__init__.py#L124-L150 | train | Sets the af_vrf_name field of the
|
StackStorm/pybind | pybind/slxos/v17r_1_01a/routing_system/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf/__init__.py | af_vrf._set_aggregate_address | def _set_aggregate_address(self, v, load=False):
"""
Setter method for aggregate_address, mapped from YANG variable /routing_system/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf/aggregate_address (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_aggregat... | python | def _set_aggregate_address(self, v, load=False):
"""
Setter method for aggregate_address, mapped from YANG variable /routing_system/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf/aggregate_address (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_aggregat... | [
"def",
"_set_aggregate_address",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",... | Setter method for aggregate_address, mapped from YANG variable /routing_system/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf/aggregate_address (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_aggregate_address is considered as a private
method. Backends loo... | [
"Setter",
"method",
"for",
"aggregate_address",
"mapped",
"from",
"YANG",
"variable",
"/",
"routing_system",
"/",
"router",
"/",
"router_bgp",
"/",
"address_family",
"/",
"ipv4",
"/",
"ipv4_unicast",
"/",
"af_vrf",
"/",
"aggregate_address",
"(",
"list",
")",
"If... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/routing_system/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf/__init__.py#L360-L381 | train | Sets the aggregate_address field of the BGP route |
proycon/python-timbl | timbl.py | b | def b(s):
"""Conversion to bytes"""
if sys.version < '3':
if isinstance(s, unicode): #pylint: disable=undefined-variable
return s.encode('utf-8')
else:
return s | python | def b(s):
"""Conversion to bytes"""
if sys.version < '3':
if isinstance(s, unicode): #pylint: disable=undefined-variable
return s.encode('utf-8')
else:
return s | [
"def",
"b",
"(",
"s",
")",
":",
"if",
"sys",
".",
"version",
"<",
"'3'",
":",
"if",
"isinstance",
"(",
"s",
",",
"unicode",
")",
":",
"#pylint: disable=undefined-variable",
"return",
"s",
".",
"encode",
"(",
"'utf-8'",
")",
"else",
":",
"return",
"s"
] | Conversion to bytes | [
"Conversion",
"to",
"bytes"
] | e3c876711fa7f60648cfb1e4066c421a65faf524 | https://github.com/proycon/python-timbl/blob/e3c876711fa7f60648cfb1e4066c421a65faf524/timbl.py#L35-L41 | train | Conversion to bytes |
proycon/python-timbl | timbl.py | TimblClassifier.validatefeatures | def validatefeatures(self,features):
"""Returns features in validated form, or raises an Exception. Mostly for internal use"""
validatedfeatures = []
for feature in features:
if isinstance(feature, int) or isinstance(feature, float):
validatedfeatures.append( str(feat... | python | def validatefeatures(self,features):
"""Returns features in validated form, or raises an Exception. Mostly for internal use"""
validatedfeatures = []
for feature in features:
if isinstance(feature, int) or isinstance(feature, float):
validatedfeatures.append( str(feat... | [
"def",
"validatefeatures",
"(",
"self",
",",
"features",
")",
":",
"validatedfeatures",
"=",
"[",
"]",
"for",
"feature",
"in",
"features",
":",
"if",
"isinstance",
"(",
"feature",
",",
"int",
")",
"or",
"isinstance",
"(",
"feature",
",",
"float",
")",
":... | Returns features in validated form, or raises an Exception. Mostly for internal use | [
"Returns",
"features",
"in",
"validated",
"form",
"or",
"raises",
"an",
"Exception",
".",
"Mostly",
"for",
"internal",
"use"
] | e3c876711fa7f60648cfb1e4066c421a65faf524 | https://github.com/proycon/python-timbl/blob/e3c876711fa7f60648cfb1e4066c421a65faf524/timbl.py#L102-L114 | train | Validates the features in validated form. |
proycon/python-timbl | timbl.py | TimblClassifier.addinstance | def addinstance(self, testfile, features, classlabel="?"):
"""Adds an instance to a specific file. Especially suitable for generating test files"""
features = self.validatefeatures(features)
if self.delimiter in classlabel:
raise ValueError("Class label contains delimiter: " + self... | python | def addinstance(self, testfile, features, classlabel="?"):
"""Adds an instance to a specific file. Especially suitable for generating test files"""
features = self.validatefeatures(features)
if self.delimiter in classlabel:
raise ValueError("Class label contains delimiter: " + self... | [
"def",
"addinstance",
"(",
"self",
",",
"testfile",
",",
"features",
",",
"classlabel",
"=",
"\"?\"",
")",
":",
"features",
"=",
"self",
".",
"validatefeatures",
"(",
"features",
")",
"if",
"self",
".",
"delimiter",
"in",
"classlabel",
":",
"raise",
"Value... | Adds an instance to a specific file. Especially suitable for generating test files | [
"Adds",
"an",
"instance",
"to",
"a",
"specific",
"file",
".",
"Especially",
"suitable",
"for",
"generating",
"test",
"files"
] | e3c876711fa7f60648cfb1e4066c421a65faf524 | https://github.com/proycon/python-timbl/blob/e3c876711fa7f60648cfb1e4066c421a65faf524/timbl.py#L247-L258 | train | Adds an instance to a specific file. Especially suitable for generating test files. |
proycon/python-timbl | timbl.py | TimblClassifier.crossvalidate | def crossvalidate(self, foldsfile):
"""Train & Test using cross validation, testfile is a file that contains the filenames of all the folds!"""
options = "-F " + self.format + " " + self.timbloptions + " -t cross_validate"
print("Instantiating Timbl API : " + options,file=stderr)
if sys... | python | def crossvalidate(self, foldsfile):
"""Train & Test using cross validation, testfile is a file that contains the filenames of all the folds!"""
options = "-F " + self.format + " " + self.timbloptions + " -t cross_validate"
print("Instantiating Timbl API : " + options,file=stderr)
if sys... | [
"def",
"crossvalidate",
"(",
"self",
",",
"foldsfile",
")",
":",
"options",
"=",
"\"-F \"",
"+",
"self",
".",
"format",
"+",
"\" \"",
"+",
"self",
".",
"timbloptions",
"+",
"\" -t cross_validate\"",
"print",
"(",
"\"Instantiating Timbl API : \"",
"+",
"options",... | Train & Test using cross validation, testfile is a file that contains the filenames of all the folds! | [
"Train",
"&",
"Test",
"using",
"cross",
"validation",
"testfile",
"is",
"a",
"file",
"that",
"contains",
"the",
"filenames",
"of",
"all",
"the",
"folds!"
] | e3c876711fa7f60648cfb1e4066c421a65faf524 | https://github.com/proycon/python-timbl/blob/e3c876711fa7f60648cfb1e4066c421a65faf524/timbl.py#L271-L289 | train | Train & Test using cross validation |
proycon/python-timbl | timbl.py | TimblClassifier.leaveoneout | def leaveoneout(self):
"""Train & Test using leave one out"""
traintestfile = self.fileprefix + '.train'
options = "-F " + self.format + " " + self.timbloptions + " -t leave_one_out"
if sys.version < '3':
self.api = timblapi.TimblAPI(b(options), b"")
else:
... | python | def leaveoneout(self):
"""Train & Test using leave one out"""
traintestfile = self.fileprefix + '.train'
options = "-F " + self.format + " " + self.timbloptions + " -t leave_one_out"
if sys.version < '3':
self.api = timblapi.TimblAPI(b(options), b"")
else:
... | [
"def",
"leaveoneout",
"(",
"self",
")",
":",
"traintestfile",
"=",
"self",
".",
"fileprefix",
"+",
"'.train'",
"options",
"=",
"\"-F \"",
"+",
"self",
".",
"format",
"+",
"\" \"",
"+",
"self",
".",
"timbloptions",
"+",
"\" -t leave_one_out\"",
"if",
"sys",
... | Train & Test using leave one out | [
"Train",
"&",
"Test",
"using",
"leave",
"one",
"out"
] | e3c876711fa7f60648cfb1e4066c421a65faf524 | https://github.com/proycon/python-timbl/blob/e3c876711fa7f60648cfb1e4066c421a65faf524/timbl.py#L293-L311 | train | Train & Test using leave one out |
StackStorm/pybind | pybind/slxos/v17r_1_01a/routing_system/router/__init__.py | router._set_router_bgp | def _set_router_bgp(self, v, load=False):
"""
Setter method for router_bgp, mapped from YANG variable /routing_system/router/router_bgp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_router_bgp is considered as a private
method. Backends looking to popul... | python | def _set_router_bgp(self, v, load=False):
"""
Setter method for router_bgp, mapped from YANG variable /routing_system/router/router_bgp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_router_bgp is considered as a private
method. Backends looking to popul... | [
"def",
"_set_router_bgp",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for router_bgp, mapped from YANG variable /routing_system/router/router_bgp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_router_bgp is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj... | [
"Setter",
"method",
"for",
"router_bgp",
"mapped",
"from",
"YANG",
"variable",
"/",
"routing_system",
"/",
"router",
"/",
"router_bgp",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/routing_system/router/__init__.py#L100-L121 | train | Set the value of the router_bgp property. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/routing_system/router/__init__.py | router._set_isis | def _set_isis(self, v, load=False):
"""
Setter method for isis, mapped from YANG variable /routing_system/router/isis (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_isis is considered as a private
method. Backends looking to populate this variable should... | python | def _set_isis(self, v, load=False):
"""
Setter method for isis, mapped from YANG variable /routing_system/router/isis (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_isis is considered as a private
method. Backends looking to populate this variable should... | [
"def",
"_set_isis",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for isis, mapped from YANG variable /routing_system/router/isis (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_isis is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_isis() direc... | [
"Setter",
"method",
"for",
"isis",
"mapped",
"from",
"YANG",
"variable",
"/",
"routing_system",
"/",
"router",
"/",
"isis",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/routing_system/router/__init__.py#L133-L154 | train | Set the value of isis mapped from YANG variable to a private
. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/routing_system/router/__init__.py | router._set_pim | def _set_pim(self, v, load=False):
"""
Setter method for pim, mapped from YANG variable /routing_system/router/pim (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_pim is considered as a private
method. Backends looking to populate this variable should
do s... | python | def _set_pim(self, v, load=False):
"""
Setter method for pim, mapped from YANG variable /routing_system/router/pim (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_pim is considered as a private
method. Backends looking to populate this variable should
do s... | [
"def",
"_set_pim",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
"... | Setter method for pim, mapped from YANG variable /routing_system/router/pim (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_pim is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_pim() directly. | [
"Setter",
"method",
"for",
"pim",
"mapped",
"from",
"YANG",
"variable",
"/",
"routing_system",
"/",
"router",
"/",
"pim",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"Y... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/routing_system/router/__init__.py#L199-L220 | train | Set the pim property of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/routing_system/router/router_bgp/router_bgp_attributes/__init__.py | router_bgp_attributes._set_cluster_id | def _set_cluster_id(self, v, load=False):
"""
Setter method for cluster_id, mapped from YANG variable /routing_system/router/router_bgp/router_bgp_attributes/cluster_id (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_cluster_id is considered as a private
... | python | def _set_cluster_id(self, v, load=False):
"""
Setter method for cluster_id, mapped from YANG variable /routing_system/router/router_bgp/router_bgp_attributes/cluster_id (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_cluster_id is considered as a private
... | [
"def",
"_set_cluster_id",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for cluster_id, mapped from YANG variable /routing_system/router/router_bgp/router_bgp_attributes/cluster_id (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_cluster_id is considered as a private
method. Backends looking to populate this variable sho... | [
"Setter",
"method",
"for",
"cluster_id",
"mapped",
"from",
"YANG",
"variable",
"/",
"routing_system",
"/",
"router",
"/",
"router_bgp",
"/",
"router_bgp_attributes",
"/",
"cluster_id",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/routing_system/router/router_bgp/router_bgp_attributes/__init__.py#L349-L370 | train | Sets the cluster - id of the node. |
inveniosoftware/invenio-access | invenio_access/ext.py | _AccessState.set_action_cache | def set_action_cache(self, action_key, data):
"""Store action needs and excludes.
.. note:: The action is saved only if a cache system is defined.
:param action_key: The unique action name.
:param data: The action to be saved.
"""
if self.cache:
self.cache.s... | python | def set_action_cache(self, action_key, data):
"""Store action needs and excludes.
.. note:: The action is saved only if a cache system is defined.
:param action_key: The unique action name.
:param data: The action to be saved.
"""
if self.cache:
self.cache.s... | [
"def",
"set_action_cache",
"(",
"self",
",",
"action_key",
",",
"data",
")",
":",
"if",
"self",
".",
"cache",
":",
"self",
".",
"cache",
".",
"set",
"(",
"self",
".",
"app",
".",
"config",
"[",
"'ACCESS_ACTION_CACHE_PREFIX'",
"]",
"+",
"action_key",
",",... | Store action needs and excludes.
.. note:: The action is saved only if a cache system is defined.
:param action_key: The unique action name.
:param data: The action to be saved. | [
"Store",
"action",
"needs",
"and",
"excludes",
"."
] | 3b033a4bdc110eb2f7e9f08f0744a780884bfc80 | https://github.com/inveniosoftware/invenio-access/blob/3b033a4bdc110eb2f7e9f08f0744a780884bfc80/invenio_access/ext.py#L52-L64 | train | Store action needs and excludes. |
inveniosoftware/invenio-access | invenio_access/ext.py | _AccessState.get_action_cache | def get_action_cache(self, action_key):
"""Get action needs and excludes from cache.
.. note:: It returns the action if a cache system is defined.
:param action_key: The unique action name.
:returns: The action stored in cache or ``None``.
"""
data = None
if sel... | python | def get_action_cache(self, action_key):
"""Get action needs and excludes from cache.
.. note:: It returns the action if a cache system is defined.
:param action_key: The unique action name.
:returns: The action stored in cache or ``None``.
"""
data = None
if sel... | [
"def",
"get_action_cache",
"(",
"self",
",",
"action_key",
")",
":",
"data",
"=",
"None",
"if",
"self",
".",
"cache",
":",
"data",
"=",
"self",
".",
"cache",
".",
"get",
"(",
"self",
".",
"app",
".",
"config",
"[",
"'ACCESS_ACTION_CACHE_PREFIX'",
"]",
... | Get action needs and excludes from cache.
.. note:: It returns the action if a cache system is defined.
:param action_key: The unique action name.
:returns: The action stored in cache or ``None``. | [
"Get",
"action",
"needs",
"and",
"excludes",
"from",
"cache",
"."
] | 3b033a4bdc110eb2f7e9f08f0744a780884bfc80 | https://github.com/inveniosoftware/invenio-access/blob/3b033a4bdc110eb2f7e9f08f0744a780884bfc80/invenio_access/ext.py#L66-L80 | train | Get action needs and excludes from cache. |
inveniosoftware/invenio-access | invenio_access/ext.py | _AccessState.delete_action_cache | def delete_action_cache(self, action_key):
"""Delete action needs and excludes from cache.
.. note:: It returns the action if a cache system is defined.
:param action_key: The unique action name.
"""
if self.cache:
self.cache.delete(
self.app.config[... | python | def delete_action_cache(self, action_key):
"""Delete action needs and excludes from cache.
.. note:: It returns the action if a cache system is defined.
:param action_key: The unique action name.
"""
if self.cache:
self.cache.delete(
self.app.config[... | [
"def",
"delete_action_cache",
"(",
"self",
",",
"action_key",
")",
":",
"if",
"self",
".",
"cache",
":",
"self",
".",
"cache",
".",
"delete",
"(",
"self",
".",
"app",
".",
"config",
"[",
"'ACCESS_ACTION_CACHE_PREFIX'",
"]",
"+",
"action_key",
")"
] | Delete action needs and excludes from cache.
.. note:: It returns the action if a cache system is defined.
:param action_key: The unique action name. | [
"Delete",
"action",
"needs",
"and",
"excludes",
"from",
"cache",
"."
] | 3b033a4bdc110eb2f7e9f08f0744a780884bfc80 | https://github.com/inveniosoftware/invenio-access/blob/3b033a4bdc110eb2f7e9f08f0744a780884bfc80/invenio_access/ext.py#L82-L93 | train | Delete action needs and excludes from cache. |
inveniosoftware/invenio-access | invenio_access/ext.py | _AccessState.register_action | def register_action(self, action):
"""Register an action to be showed in the actions list.
.. note:: A action can't be registered two times. If it happens, then
an assert exception will be raised.
:param action: The action to be registered.
"""
assert action.value not i... | python | def register_action(self, action):
"""Register an action to be showed in the actions list.
.. note:: A action can't be registered two times. If it happens, then
an assert exception will be raised.
:param action: The action to be registered.
"""
assert action.value not i... | [
"def",
"register_action",
"(",
"self",
",",
"action",
")",
":",
"assert",
"action",
".",
"value",
"not",
"in",
"self",
".",
"actions",
"self",
".",
"actions",
"[",
"action",
".",
"value",
"]",
"=",
"action"
] | Register an action to be showed in the actions list.
.. note:: A action can't be registered two times. If it happens, then
an assert exception will be raised.
:param action: The action to be registered. | [
"Register",
"an",
"action",
"to",
"be",
"showed",
"in",
"the",
"actions",
"list",
"."
] | 3b033a4bdc110eb2f7e9f08f0744a780884bfc80 | https://github.com/inveniosoftware/invenio-access/blob/3b033a4bdc110eb2f7e9f08f0744a780884bfc80/invenio_access/ext.py#L95-L104 | train | Register an action to be displayed in the actions list. |
inveniosoftware/invenio-access | invenio_access/ext.py | _AccessState.load_entry_point_actions | def load_entry_point_actions(self, entry_point_group):
"""Load actions from an entry point group.
:param entry_point_group: The entrypoint for extensions.
"""
for ep in pkg_resources.iter_entry_points(group=entry_point_group):
self.register_action(ep.load()) | python | def load_entry_point_actions(self, entry_point_group):
"""Load actions from an entry point group.
:param entry_point_group: The entrypoint for extensions.
"""
for ep in pkg_resources.iter_entry_points(group=entry_point_group):
self.register_action(ep.load()) | [
"def",
"load_entry_point_actions",
"(",
"self",
",",
"entry_point_group",
")",
":",
"for",
"ep",
"in",
"pkg_resources",
".",
"iter_entry_points",
"(",
"group",
"=",
"entry_point_group",
")",
":",
"self",
".",
"register_action",
"(",
"ep",
".",
"load",
"(",
")"... | Load actions from an entry point group.
:param entry_point_group: The entrypoint for extensions. | [
"Load",
"actions",
"from",
"an",
"entry",
"point",
"group",
"."
] | 3b033a4bdc110eb2f7e9f08f0744a780884bfc80 | https://github.com/inveniosoftware/invenio-access/blob/3b033a4bdc110eb2f7e9f08f0744a780884bfc80/invenio_access/ext.py#L106-L112 | train | Load actions from an entry point group. |
inveniosoftware/invenio-access | invenio_access/ext.py | _AccessState.register_system_role | def register_system_role(self, system_role):
"""Register a system role.
.. note:: A system role can't be registered two times. If it happens,
then an assert exception will be raised.
:param system_role: The system role to be registered.
"""
assert system_role.value not ... | python | def register_system_role(self, system_role):
"""Register a system role.
.. note:: A system role can't be registered two times. If it happens,
then an assert exception will be raised.
:param system_role: The system role to be registered.
"""
assert system_role.value not ... | [
"def",
"register_system_role",
"(",
"self",
",",
"system_role",
")",
":",
"assert",
"system_role",
".",
"value",
"not",
"in",
"self",
".",
"system_roles",
"self",
".",
"system_roles",
"[",
"system_role",
".",
"value",
"]",
"=",
"system_role"
] | Register a system role.
.. note:: A system role can't be registered two times. If it happens,
then an assert exception will be raised.
:param system_role: The system role to be registered. | [
"Register",
"a",
"system",
"role",
"."
] | 3b033a4bdc110eb2f7e9f08f0744a780884bfc80 | https://github.com/inveniosoftware/invenio-access/blob/3b033a4bdc110eb2f7e9f08f0744a780884bfc80/invenio_access/ext.py#L114-L123 | train | Register a system role. |
inveniosoftware/invenio-access | invenio_access/ext.py | _AccessState.load_entry_point_system_roles | def load_entry_point_system_roles(self, entry_point_group):
"""Load system roles from an entry point group.
:param entry_point_group: The entrypoint for extensions.
"""
for ep in pkg_resources.iter_entry_points(group=entry_point_group):
self.register_system_role(ep.load()) | python | def load_entry_point_system_roles(self, entry_point_group):
"""Load system roles from an entry point group.
:param entry_point_group: The entrypoint for extensions.
"""
for ep in pkg_resources.iter_entry_points(group=entry_point_group):
self.register_system_role(ep.load()) | [
"def",
"load_entry_point_system_roles",
"(",
"self",
",",
"entry_point_group",
")",
":",
"for",
"ep",
"in",
"pkg_resources",
".",
"iter_entry_points",
"(",
"group",
"=",
"entry_point_group",
")",
":",
"self",
".",
"register_system_role",
"(",
"ep",
".",
"load",
... | Load system roles from an entry point group.
:param entry_point_group: The entrypoint for extensions. | [
"Load",
"system",
"roles",
"from",
"an",
"entry",
"point",
"group",
"."
] | 3b033a4bdc110eb2f7e9f08f0744a780884bfc80 | https://github.com/inveniosoftware/invenio-access/blob/3b033a4bdc110eb2f7e9f08f0744a780884bfc80/invenio_access/ext.py#L125-L131 | train | Load system roles from an entry point group. |
inveniosoftware/invenio-access | invenio_access/ext.py | InvenioAccess.init_app | def init_app(self, app, entry_point_actions='invenio_access.actions',
entry_point_system_roles='invenio_access.system_roles',
**kwargs):
"""Flask application initialization.
:param app: The Flask application.
:param entry_point_actions: The entrypoint for actio... | python | def init_app(self, app, entry_point_actions='invenio_access.actions',
entry_point_system_roles='invenio_access.system_roles',
**kwargs):
"""Flask application initialization.
:param app: The Flask application.
:param entry_point_actions: The entrypoint for actio... | [
"def",
"init_app",
"(",
"self",
",",
"app",
",",
"entry_point_actions",
"=",
"'invenio_access.actions'",
",",
"entry_point_system_roles",
"=",
"'invenio_access.system_roles'",
",",
"*",
"*",
"kwargs",
")",
":",
"self",
".",
"init_config",
"(",
"app",
")",
"state",... | Flask application initialization.
:param app: The Flask application.
:param entry_point_actions: The entrypoint for actions extensions.
(Default: ``'invenio_access.actions'``)
:param entry_point_system_roles: The entrypoint for system roles
extensions. (Default: ``'inve... | [
"Flask",
"application",
"initialization",
"."
] | 3b033a4bdc110eb2f7e9f08f0744a780884bfc80 | https://github.com/inveniosoftware/invenio-access/blob/3b033a4bdc110eb2f7e9f08f0744a780884bfc80/invenio_access/ext.py#L145-L169 | train | Initializes the application with the given application. |
StackStorm/pybind | pybind/nos/v7_2_0/rbridge_id/resource_monitor/memory/__init__.py | memory._set_threshold_memory | def _set_threshold_memory(self, v, load=False):
"""
Setter method for threshold_memory, mapped from YANG variable /rbridge_id/resource_monitor/memory/threshold_memory (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_threshold_memory is considered as a private
... | python | def _set_threshold_memory(self, v, load=False):
"""
Setter method for threshold_memory, mapped from YANG variable /rbridge_id/resource_monitor/memory/threshold_memory (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_threshold_memory is considered as a private
... | [
"def",
"_set_threshold_memory",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for threshold_memory, mapped from YANG variable /rbridge_id/resource_monitor/memory/threshold_memory (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_threshold_memory is considered as a private
method. Backends looking to populate this variable should
... | [
"Setter",
"method",
"for",
"threshold_memory",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"resource_monitor",
"/",
"memory",
"/",
"threshold_memory",
"(",
"uint32",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/rbridge_id/resource_monitor/memory/__init__.py#L130-L151 | train | Sets the threshold memory for the
|
StackStorm/pybind | pybind/nos/v7_2_0/rbridge_id/resource_monitor/memory/__init__.py | memory._set_action_memory | def _set_action_memory(self, v, load=False):
"""
Setter method for action_memory, mapped from YANG variable /rbridge_id/resource_monitor/memory/action_memory (resource-monitor-actiontype)
If this variable is read-only (config: false) in the
source YANG file, then _set_action_memory is considered as a pr... | python | def _set_action_memory(self, v, load=False):
"""
Setter method for action_memory, mapped from YANG variable /rbridge_id/resource_monitor/memory/action_memory (resource-monitor-actiontype)
If this variable is read-only (config: false) in the
source YANG file, then _set_action_memory is considered as a pr... | [
"def",
"_set_action_memory",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"... | Setter method for action_memory, mapped from YANG variable /rbridge_id/resource_monitor/memory/action_memory (resource-monitor-actiontype)
If this variable is read-only (config: false) in the
source YANG file, then _set_action_memory is considered as a private
method. Backends looking to populate this varia... | [
"Setter",
"method",
"for",
"action_memory",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"resource_monitor",
"/",
"memory",
"/",
"action_memory",
"(",
"resource",
"-",
"monitor",
"-",
"actiontype",
")",
"If",
"this",
"variable",
"is",
"read",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/rbridge_id/resource_monitor/memory/__init__.py#L163-L184 | train | Sets the action memory for the
|
StackStorm/pybind | pybind/nos/v7_2_0/rbridge_id/resource_monitor/memory/__init__.py | memory._set_logging_rate_memory | def _set_logging_rate_memory(self, v, load=False):
"""
Setter method for logging_rate_memory, mapped from YANG variable /rbridge_id/resource_monitor/memory/logging_rate_memory (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_logging_rate_memory is considered as a... | python | def _set_logging_rate_memory(self, v, load=False):
"""
Setter method for logging_rate_memory, mapped from YANG variable /rbridge_id/resource_monitor/memory/logging_rate_memory (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_logging_rate_memory is considered as a... | [
"def",
"_set_logging_rate_memory",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",... | Setter method for logging_rate_memory, mapped from YANG variable /rbridge_id/resource_monitor/memory/logging_rate_memory (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_logging_rate_memory is considered as a private
method. Backends looking to populate this variable... | [
"Setter",
"method",
"for",
"logging_rate_memory",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"resource_monitor",
"/",
"memory",
"/",
"logging_rate_memory",
"(",
"uint32",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/rbridge_id/resource_monitor/memory/__init__.py#L229-L250 | train | Sets the logging rate for CPU usage monitoring. |
StackStorm/pybind | pybind/nos/v7_2_0/rbridge_id/resource_monitor/memory/__init__.py | memory._set_grace_period_memory | def _set_grace_period_memory(self, v, load=False):
"""
Setter method for grace_period_memory, mapped from YANG variable /rbridge_id/resource_monitor/memory/grace_period_memory (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_grace_period_memory is considered as a... | python | def _set_grace_period_memory(self, v, load=False):
"""
Setter method for grace_period_memory, mapped from YANG variable /rbridge_id/resource_monitor/memory/grace_period_memory (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_grace_period_memory is considered as a... | [
"def",
"_set_grace_period_memory",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",... | Setter method for grace_period_memory, mapped from YANG variable /rbridge_id/resource_monitor/memory/grace_period_memory (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_grace_period_memory is considered as a private
method. Backends looking to populate this variable... | [
"Setter",
"method",
"for",
"grace_period_memory",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"resource_monitor",
"/",
"memory",
"/",
"grace_period_memory",
"(",
"uint32",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/rbridge_id/resource_monitor/memory/__init__.py#L262-L283 | train | Sets the grace period memory for the given sequence of resources. |
StackStorm/pybind | pybind/slxos/v17s_1_02/routing_system/router/isis/router_isis_cmds_holder/address_family/ipv6/af_ipv6_unicast/af_ipv6_attributes/af_common_attributes/redistribute/isis/__init__.py | isis._set_level_1 | def _set_level_1(self, v, load=False):
"""
Setter method for level_1, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/address_family/ipv6/af_ipv6_unicast/af_ipv6_attributes/af_common_attributes/redistribute/isis/level_1 (container)
If this variable is read-only (config: false) ... | python | def _set_level_1(self, v, load=False):
"""
Setter method for level_1, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/address_family/ipv6/af_ipv6_unicast/af_ipv6_attributes/af_common_attributes/redistribute/isis/level_1 (container)
If this variable is read-only (config: false) ... | [
"def",
"_set_level_1",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",... | Setter method for level_1, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/address_family/ipv6/af_ipv6_unicast/af_ipv6_attributes/af_common_attributes/redistribute/isis/level_1 (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_level_1 is c... | [
"Setter",
"method",
"for",
"level_1",
"mapped",
"from",
"YANG",
"variable",
"/",
"routing_system",
"/",
"router",
"/",
"isis",
"/",
"router_isis_cmds_holder",
"/",
"address_family",
"/",
"ipv6",
"/",
"af_ipv6_unicast",
"/",
"af_ipv6_attributes",
"/",
"af_common_attr... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/routing_system/router/isis/router_isis_cmds_holder/address_family/ipv6/af_ipv6_unicast/af_ipv6_attributes/af_common_attributes/redistribute/isis/__init__.py#L94-L115 | train | Sets the level - 1 of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/routing_system/router/isis/router_isis_cmds_holder/address_family/ipv6/af_ipv6_unicast/af_ipv6_attributes/af_common_attributes/redistribute/isis/__init__.py | isis._set_level_2 | def _set_level_2(self, v, load=False):
"""
Setter method for level_2, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/address_family/ipv6/af_ipv6_unicast/af_ipv6_attributes/af_common_attributes/redistribute/isis/level_2 (container)
If this variable is read-only (config: false) ... | python | def _set_level_2(self, v, load=False):
"""
Setter method for level_2, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/address_family/ipv6/af_ipv6_unicast/af_ipv6_attributes/af_common_attributes/redistribute/isis/level_2 (container)
If this variable is read-only (config: false) ... | [
"def",
"_set_level_2",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",... | Setter method for level_2, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/address_family/ipv6/af_ipv6_unicast/af_ipv6_attributes/af_common_attributes/redistribute/isis/level_2 (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_level_2 is c... | [
"Setter",
"method",
"for",
"level_2",
"mapped",
"from",
"YANG",
"variable",
"/",
"routing_system",
"/",
"router",
"/",
"isis",
"/",
"router_isis_cmds_holder",
"/",
"address_family",
"/",
"ipv6",
"/",
"af_ipv6_unicast",
"/",
"af_ipv6_attributes",
"/",
"af_common_attr... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/routing_system/router/isis/router_isis_cmds_holder/address_family/ipv6/af_ipv6_unicast/af_ipv6_attributes/af_common_attributes/redistribute/isis/__init__.py#L127-L148 | train | Sets the level - 2 of the ISIS tree. |
StackStorm/pybind | pybind/slxos/v17s_1_02/hardware/profile/__init__.py | profile._set_vlan_classification | def _set_vlan_classification(self, v, load=False):
"""
Setter method for vlan_classification, mapped from YANG variable /hardware/profile/vlan_classification (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_vlan_classification is considered as a private
me... | python | def _set_vlan_classification(self, v, load=False):
"""
Setter method for vlan_classification, mapped from YANG variable /hardware/profile/vlan_classification (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_vlan_classification is considered as a private
me... | [
"def",
"_set_vlan_classification",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",... | Setter method for vlan_classification, mapped from YANG variable /hardware/profile/vlan_classification (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_vlan_classification is considered as a private
method. Backends looking to populate this variable should
do ... | [
"Setter",
"method",
"for",
"vlan_classification",
"mapped",
"from",
"YANG",
"variable",
"/",
"hardware",
"/",
"profile",
"/",
"vlan_classification",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/hardware/profile/__init__.py#L269-L290 | train | Sets the vlan classification of the
|
StackStorm/pybind | pybind/nos/v6_0_2f/rbridge_id/router/ospf/log/__init__.py | log._set_adjacency | def _set_adjacency(self, v, load=False):
"""
Setter method for adjacency, mapped from YANG variable /rbridge_id/router/ospf/log/adjacency (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_adjacency is considered as a private
method. Backends looking to popu... | python | def _set_adjacency(self, v, load=False):
"""
Setter method for adjacency, mapped from YANG variable /rbridge_id/router/ospf/log/adjacency (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_adjacency is considered as a private
method. Backends looking to popu... | [
"def",
"_set_adjacency",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base... | Setter method for adjacency, mapped from YANG variable /rbridge_id/router/ospf/log/adjacency (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_adjacency is considered as a private
method. Backends looking to populate this variable should
do so via calling thisO... | [
"Setter",
"method",
"for",
"adjacency",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"router",
"/",
"ospf",
"/",
"log",
"/",
"adjacency",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"fa... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/router/ospf/log/__init__.py#L97-L118 | train | Sets the adjacency of the current node. |
StackStorm/pybind | pybind/nos/v6_0_2f/rbridge_id/router/ospf/log/__init__.py | log._set_bad_packet | def _set_bad_packet(self, v, load=False):
"""
Setter method for bad_packet, mapped from YANG variable /rbridge_id/router/ospf/log/bad_packet (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bad_packet is considered as a private
method. Backends looking to ... | python | def _set_bad_packet(self, v, load=False):
"""
Setter method for bad_packet, mapped from YANG variable /rbridge_id/router/ospf/log/bad_packet (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bad_packet is considered as a private
method. Backends looking to ... | [
"def",
"_set_bad_packet",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for bad_packet, mapped from YANG variable /rbridge_id/router/ospf/log/bad_packet (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bad_packet is considered as a private
method. Backends looking to populate this variable should
do so via calling th... | [
"Setter",
"method",
"for",
"bad_packet",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"router",
"/",
"ospf",
"/",
"log",
"/",
"bad_packet",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/router/ospf/log/__init__.py#L163-L184 | train | Sets the bad packet of the current node. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/isis_state/router_isis_config/__init__.py | router_isis_config._set_isis_system_info | def _set_isis_system_info(self, v, load=False):
"""
Setter method for isis_system_info, mapped from YANG variable /isis_state/router_isis_config/isis_system_info (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_isis_system_info is considered as a private
m... | python | def _set_isis_system_info(self, v, load=False):
"""
Setter method for isis_system_info, mapped from YANG variable /isis_state/router_isis_config/isis_system_info (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_isis_system_info is considered as a private
m... | [
"def",
"_set_isis_system_info",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for isis_system_info, mapped from YANG variable /isis_state/router_isis_config/isis_system_info (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_isis_system_info is considered as a private
method. Backends looking to populate this variable should
... | [
"Setter",
"method",
"for",
"isis_system_info",
"mapped",
"from",
"YANG",
"variable",
"/",
"isis_state",
"/",
"router_isis_config",
"/",
"isis_system_info",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/isis_state/router_isis_config/__init__.py#L1034-L1057 | train | Set the isis - system - info variable. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/isis_state/router_isis_config/__init__.py | router_isis_config._set_log_handler | def _set_log_handler(self, v, load=False):
"""
Setter method for log_handler, mapped from YANG variable /isis_state/router_isis_config/log_handler (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_log_handler is considered as a private
method. Backends look... | python | def _set_log_handler(self, v, load=False):
"""
Setter method for log_handler, mapped from YANG variable /isis_state/router_isis_config/log_handler (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_log_handler is considered as a private
method. Backends look... | [
"def",
"_set_log_handler",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for log_handler, mapped from YANG variable /isis_state/router_isis_config/log_handler (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_log_handler is considered as a private
method. Backends looking to populate this variable should
do so via call... | [
"Setter",
"method",
"for",
"log_handler",
"mapped",
"from",
"YANG",
"variable",
"/",
"isis_state",
"/",
"router_isis_config",
"/",
"log_handler",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"i... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/isis_state/router_isis_config/__init__.py#L1145-L1168 | train | Sets the log - handler for the IS - IS logging container. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/isis_state/router_isis_config/__init__.py | router_isis_config._set_l2_spf_timer | def _set_l2_spf_timer(self, v, load=False):
"""
Setter method for l2_spf_timer, mapped from YANG variable /isis_state/router_isis_config/l2_spf_timer (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_l2_spf_timer is considered as a private
method. Backends ... | python | def _set_l2_spf_timer(self, v, load=False):
"""
Setter method for l2_spf_timer, mapped from YANG variable /isis_state/router_isis_config/l2_spf_timer (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_l2_spf_timer is considered as a private
method. Backends ... | [
"def",
"_set_l2_spf_timer",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"b... | Setter method for l2_spf_timer, mapped from YANG variable /isis_state/router_isis_config/l2_spf_timer (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_l2_spf_timer is considered as a private
method. Backends looking to populate this variable should
do so via c... | [
"Setter",
"method",
"for",
"l2_spf_timer",
"mapped",
"from",
"YANG",
"variable",
"/",
"isis_state",
"/",
"router_isis_config",
"/",
"l2_spf_timer",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/isis_state/router_isis_config/__init__.py#L1219-L1242 | train | Sets the timer for IS - IS Level - 2 SPF calculation for IPv4
|
StackStorm/pybind | pybind/slxos/v17r_1_01a/isis_state/router_isis_config/__init__.py | router_isis_config._set_pspf_timer | def _set_pspf_timer(self, v, load=False):
"""
Setter method for pspf_timer, mapped from YANG variable /isis_state/router_isis_config/pspf_timer (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_pspf_timer is considered as a private
method. Backends looking ... | python | def _set_pspf_timer(self, v, load=False):
"""
Setter method for pspf_timer, mapped from YANG variable /isis_state/router_isis_config/pspf_timer (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_pspf_timer is considered as a private
method. Backends looking ... | [
"def",
"_set_pspf_timer",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for pspf_timer, mapped from YANG variable /isis_state/router_isis_config/pspf_timer (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_pspf_timer is considered as a private
method. Backends looking to populate this variable should
do so via calling... | [
"Setter",
"method",
"for",
"pspf_timer",
"mapped",
"from",
"YANG",
"variable",
"/",
"isis_state",
"/",
"router_isis_config",
"/",
"pspf_timer",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/isis_state/router_isis_config/__init__.py#L1330-L1353 | train | Sets the timer for IS - IS Partial SPF calculation for IPv4
|
StackStorm/pybind | pybind/slxos/v17r_1_01a/isis_state/router_isis_config/__init__.py | router_isis_config._set_pspf6_timer | def _set_pspf6_timer(self, v, load=False):
"""
Setter method for pspf6_timer, mapped from YANG variable /isis_state/router_isis_config/pspf6_timer (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_pspf6_timer is considered as a private
method. Backends look... | python | def _set_pspf6_timer(self, v, load=False):
"""
Setter method for pspf6_timer, mapped from YANG variable /isis_state/router_isis_config/pspf6_timer (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_pspf6_timer is considered as a private
method. Backends look... | [
"def",
"_set_pspf6_timer",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for pspf6_timer, mapped from YANG variable /isis_state/router_isis_config/pspf6_timer (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_pspf6_timer is considered as a private
method. Backends looking to populate this variable should
do so via call... | [
"Setter",
"method",
"for",
"pspf6_timer",
"mapped",
"from",
"YANG",
"variable",
"/",
"isis_state",
"/",
"router_isis_config",
"/",
"pspf6_timer",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"i... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/isis_state/router_isis_config/__init__.py#L1367-L1390 | train | Sets the timer for IS - IS Partial SPF calculation for IPv6
|
StackStorm/pybind | pybind/slxos/v17r_1_01a/isis_state/router_isis_config/__init__.py | router_isis_config._set_is_address_family_v4 | def _set_is_address_family_v4(self, v, load=False):
"""
Setter method for is_address_family_v4, mapped from YANG variable /isis_state/router_isis_config/is_address_family_v4 (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_is_address_family_v4 is considered as... | python | def _set_is_address_family_v4(self, v, load=False):
"""
Setter method for is_address_family_v4, mapped from YANG variable /isis_state/router_isis_config/is_address_family_v4 (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_is_address_family_v4 is considered as... | [
"def",
"_set_is_address_family_v4",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
"... | Setter method for is_address_family_v4, mapped from YANG variable /isis_state/router_isis_config/is_address_family_v4 (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_is_address_family_v4 is considered as a private
method. Backends looking to populate this variabl... | [
"Setter",
"method",
"for",
"is_address_family_v4",
"mapped",
"from",
"YANG",
"variable",
"/",
"isis_state",
"/",
"router_isis_config",
"/",
"is_address_family_v4",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"f... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/isis_state/router_isis_config/__init__.py#L1404-L1427 | train | Sets is_address_family_v4 mapped from YANG variable is_address_family_v4 |
StackStorm/pybind | pybind/slxos/v17r_1_01a/isis_state/router_isis_config/__init__.py | router_isis_config._set_is_address_family_v6 | def _set_is_address_family_v6(self, v, load=False):
"""
Setter method for is_address_family_v6, mapped from YANG variable /isis_state/router_isis_config/is_address_family_v6 (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_is_address_family_v6 is considered as... | python | def _set_is_address_family_v6(self, v, load=False):
"""
Setter method for is_address_family_v6, mapped from YANG variable /isis_state/router_isis_config/is_address_family_v6 (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_is_address_family_v6 is considered as... | [
"def",
"_set_is_address_family_v6",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
"... | Setter method for is_address_family_v6, mapped from YANG variable /isis_state/router_isis_config/is_address_family_v6 (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_is_address_family_v6 is considered as a private
method. Backends looking to populate this variabl... | [
"Setter",
"method",
"for",
"is_address_family_v6",
"mapped",
"from",
"YANG",
"variable",
"/",
"isis_state",
"/",
"router_isis_config",
"/",
"is_address_family_v6",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"f... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/isis_state/router_isis_config/__init__.py#L1441-L1464 | train | Sets is_address_family_v6 mapped from YANG variable is_address_family_v6 |
StackStorm/pybind | pybind/slxos/v17r_1_01a/isis_state/router_isis_config/__init__.py | router_isis_config._set_debug_handler | def _set_debug_handler(self, v, load=False):
"""
Setter method for debug_handler, mapped from YANG variable /isis_state/router_isis_config/debug_handler (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_debug_handler is considered as a private
method. Backe... | python | def _set_debug_handler(self, v, load=False):
"""
Setter method for debug_handler, mapped from YANG variable /isis_state/router_isis_config/debug_handler (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_debug_handler is considered as a private
method. Backe... | [
"def",
"_set_debug_handler",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"... | Setter method for debug_handler, mapped from YANG variable /isis_state/router_isis_config/debug_handler (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_debug_handler is considered as a private
method. Backends looking to populate this variable should
do so vi... | [
"Setter",
"method",
"for",
"debug_handler",
"mapped",
"from",
"YANG",
"variable",
"/",
"isis_state",
"/",
"router_isis_config",
"/",
"debug_handler",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/isis_state/router_isis_config/__init__.py#L1515-L1538 | train | Sets the debug handler of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/routing_system/interface/ve/ipv6/ipv6_vrrp_extended/auth_type/__init__.py | auth_type._set_md5_auth | def _set_md5_auth(self, v, load=False):
"""
Setter method for md5_auth, mapped from YANG variable /routing_system/interface/ve/ipv6/ipv6_vrrp_extended/auth_type/md5_auth (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_md5_auth is considered as a private
m... | python | def _set_md5_auth(self, v, load=False):
"""
Setter method for md5_auth, mapped from YANG variable /routing_system/interface/ve/ipv6/ipv6_vrrp_extended/auth_type/md5_auth (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_md5_auth is considered as a private
m... | [
"def",
"_set_md5_auth",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for md5_auth, mapped from YANG variable /routing_system/interface/ve/ipv6/ipv6_vrrp_extended/auth_type/md5_auth (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_md5_auth is considered as a private
method. Backends looking to populate this variable sh... | [
"Setter",
"method",
"for",
"md5_auth",
"mapped",
"from",
"YANG",
"variable",
"/",
"routing_system",
"/",
"interface",
"/",
"ve",
"/",
"ipv6",
"/",
"ipv6_vrrp_extended",
"/",
"auth_type",
"/",
"md5_auth",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/routing_system/interface/ve/ipv6/ipv6_vrrp_extended/auth_type/__init__.py#L96-L119 | train | Set the MD5 authentication for the
|
StackStorm/pybind | pybind/slxos/v17r_1_01a/routing_system/router/router_bgp/address_family/vpnv4/__init__.py | vpnv4._set_vpnv4_unicast | def _set_vpnv4_unicast(self, v, load=False):
"""
Setter method for vpnv4_unicast, mapped from YANG variable /routing_system/router/router_bgp/address_family/vpnv4/vpnv4_unicast (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_vpnv4_unicast is considered as a p... | python | def _set_vpnv4_unicast(self, v, load=False):
"""
Setter method for vpnv4_unicast, mapped from YANG variable /routing_system/router/router_bgp/address_family/vpnv4/vpnv4_unicast (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_vpnv4_unicast is considered as a p... | [
"def",
"_set_vpnv4_unicast",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"... | Setter method for vpnv4_unicast, mapped from YANG variable /routing_system/router/router_bgp/address_family/vpnv4/vpnv4_unicast (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_vpnv4_unicast is considered as a private
method. Backends looking to populate this vari... | [
"Setter",
"method",
"for",
"vpnv4_unicast",
"mapped",
"from",
"YANG",
"variable",
"/",
"routing_system",
"/",
"router",
"/",
"router_bgp",
"/",
"address_family",
"/",
"vpnv4",
"/",
"vpnv4_unicast",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/routing_system/router/router_bgp/address_family/vpnv4/__init__.py#L92-L113 | train | Sets the value of the isUnicast parameter in the virtual network. |
BD2KGenomics/protect | src/protect/mutation_translation.py | run_transgene | def run_transgene(job, snpeffed_file, rna_bam, univ_options, transgene_options, tumor_dna_bam=None,
fusion_calls=None):
"""
Run transgene on an input snpeffed vcf file and return the peptides for MHC prediction.
:param toil.fileStore.FileID snpeffed_file: fsID for snpeffed vcf
:param... | python | def run_transgene(job, snpeffed_file, rna_bam, univ_options, transgene_options, tumor_dna_bam=None,
fusion_calls=None):
"""
Run transgene on an input snpeffed vcf file and return the peptides for MHC prediction.
:param toil.fileStore.FileID snpeffed_file: fsID for snpeffed vcf
:param... | [
"def",
"run_transgene",
"(",
"job",
",",
"snpeffed_file",
",",
"rna_bam",
",",
"univ_options",
",",
"transgene_options",
",",
"tumor_dna_bam",
"=",
"None",
",",
"fusion_calls",
"=",
"None",
")",
":",
"assert",
"snpeffed_file",
"or",
"fusion_calls",
"work_dir",
"... | Run transgene on an input snpeffed vcf file and return the peptides for MHC prediction.
:param toil.fileStore.FileID snpeffed_file: fsID for snpeffed vcf
:param dict rna_bam: The dict of bams returned by running star
:param dict univ_options: Dict of universal options used by almost all tools
:param d... | [
"Run",
"transgene",
"on",
"an",
"input",
"snpeffed",
"vcf",
"file",
"and",
"return",
"the",
"peptides",
"for",
"MHC",
"prediction",
"."
] | 06310682c50dcf8917b912c8e551299ff7ee41ce | https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/src/protect/mutation_translation.py#L36-L149 | train | This function runs transgene on the input snpeffed vcf file and returns the peptides for MHC prediction. |
StackStorm/pybind | pybind/slxos/v17s_1_02/resource_monitor/cpu/__init__.py | cpu._set_sample_rate_cpu | def _set_sample_rate_cpu(self, v, load=False):
"""
Setter method for sample_rate_cpu, mapped from YANG variable /resource_monitor/cpu/sample_rate_cpu (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_sample_rate_cpu is considered as a private
method. Backends ... | python | def _set_sample_rate_cpu(self, v, load=False):
"""
Setter method for sample_rate_cpu, mapped from YANG variable /resource_monitor/cpu/sample_rate_cpu (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_sample_rate_cpu is considered as a private
method. Backends ... | [
"def",
"_set_sample_rate_cpu",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for sample_rate_cpu, mapped from YANG variable /resource_monitor/cpu/sample_rate_cpu (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_sample_rate_cpu is considered as a private
method. Backends looking to populate this variable should
do so via call... | [
"Setter",
"method",
"for",
"sample_rate_cpu",
"mapped",
"from",
"YANG",
"variable",
"/",
"resource_monitor",
"/",
"cpu",
"/",
"sample_rate_cpu",
"(",
"uint32",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/resource_monitor/cpu/__init__.py#L196-L217 | train | Sets the sample rate for the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/resource_monitor/cpu/__init__.py | cpu._set_offset_cpu | def _set_offset_cpu(self, v, load=False):
"""
Setter method for offset_cpu, mapped from YANG variable /resource_monitor/cpu/offset_cpu (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_offset_cpu is considered as a private
method. Backends looking to populate ... | python | def _set_offset_cpu(self, v, load=False):
"""
Setter method for offset_cpu, mapped from YANG variable /resource_monitor/cpu/offset_cpu (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_offset_cpu is considered as a private
method. Backends looking to populate ... | [
"def",
"_set_offset_cpu",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for offset_cpu, mapped from YANG variable /resource_monitor/cpu/offset_cpu (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_offset_cpu is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._se... | [
"Setter",
"method",
"for",
"offset_cpu",
"mapped",
"from",
"YANG",
"variable",
"/",
"resource_monitor",
"/",
"cpu",
"/",
"offset_cpu",
"(",
"uint32",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/resource_monitor/cpu/__init__.py#L295-L316 | train | Sets the cpu offset for the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/policy/traffic_engineering/traffic_eng_ospf/__init__.py | traffic_eng_ospf._set_area | def _set_area(self, v, load=False):
"""
Setter method for area, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/policy/traffic_engineering/traffic_eng_ospf/area (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_area is considered as a privat... | python | def _set_area(self, v, load=False):
"""
Setter method for area, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/policy/traffic_engineering/traffic_eng_ospf/area (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_area is considered as a privat... | [
"def",
"_set_area",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for area, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/policy/traffic_engineering/traffic_eng_ospf/area (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_area is considered as a private
method. Backends looking to populate this ... | [
"Setter",
"method",
"for",
"area",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_config",
"/",
"router",
"/",
"mpls",
"/",
"mpls_cmds_holder",
"/",
"policy",
"/",
"traffic_engineering",
"/",
"traffic_eng_ospf",
"/",
"area",
"(",
"container",
")",
"If",
"thi... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/policy/traffic_engineering/traffic_eng_ospf/__init__.py#L92-L113 | train | Sets the area of the
|
StackStorm/pybind | pybind/nos/v7_2_0/rbridge_id/resource_monitor/__init__.py | resource_monitor._set_process | def _set_process(self, v, load=False):
"""
Setter method for process, mapped from YANG variable /rbridge_id/resource_monitor/process (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_process is considered as a private
method. Backends looking to populate th... | python | def _set_process(self, v, load=False):
"""
Setter method for process, mapped from YANG variable /rbridge_id/resource_monitor/process (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_process is considered as a private
method. Backends looking to populate th... | [
"def",
"_set_process",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",... | Setter method for process, mapped from YANG variable /rbridge_id/resource_monitor/process (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_process is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._s... | [
"Setter",
"method",
"for",
"process",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"resource_monitor",
"/",
"process",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/rbridge_id/resource_monitor/__init__.py#L162-L183 | train | Sets the process property of the
|
StackStorm/pybind | pybind/slxos/v17r_1_01a/routing_system/__init__.py | routing_system._set_route_map | def _set_route_map(self, v, load=False):
"""
Setter method for route_map, mapped from YANG variable /routing_system/route_map (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_route_map is considered as a private
method. Backends looking to populate this variabl... | python | def _set_route_map(self, v, load=False):
"""
Setter method for route_map, mapped from YANG variable /routing_system/route_map (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_route_map is considered as a private
method. Backends looking to populate this variabl... | [
"def",
"_set_route_map",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base... | Setter method for route_map, mapped from YANG variable /routing_system/route_map (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_route_map is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_route_map... | [
"Setter",
"method",
"for",
"route_map",
"mapped",
"from",
"YANG",
"variable",
"/",
"routing_system",
"/",
"route_map",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/routing_system/__init__.py#L320-L343 | train | Sets the route_map property of the
based on the given list of action - rm instances. |
StackStorm/pybind | pybind/slxos/v17s_1_02/mac_address_table/static/__init__.py | static._set_static_mac | def _set_static_mac(self, v, load=False):
"""
Setter method for static_mac, mapped from YANG variable /mac_address_table/static/static_mac (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_static_mac is considered as a private
method. Backends looking to populat... | python | def _set_static_mac(self, v, load=False):
"""
Setter method for static_mac, mapped from YANG variable /mac_address_table/static/static_mac (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_static_mac is considered as a private
method. Backends looking to populat... | [
"def",
"_set_static_mac",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for static_mac, mapped from YANG variable /mac_address_table/static/static_mac (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_static_mac is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._... | [
"Setter",
"method",
"for",
"static_mac",
"mapped",
"from",
"YANG",
"variable",
"/",
"mac_address_table",
"/",
"static",
"/",
"static_mac",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mac_address_table/static/__init__.py#L94-L115 | train | Set the value of static_mac mapped from a list of MAC addresses. |
StackStorm/pybind | pybind/slxos/v17s_1_02/mac_address_table/static/__init__.py | static._set_static_ac_lif | def _set_static_ac_lif(self, v, load=False):
"""
Setter method for static_ac_lif, mapped from YANG variable /mac_address_table/static/static_ac_lif (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_static_ac_lif is considered as a private
method. Backends lookin... | python | def _set_static_ac_lif(self, v, load=False):
"""
Setter method for static_ac_lif, mapped from YANG variable /mac_address_table/static/static_ac_lif (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_static_ac_lif is considered as a private
method. Backends lookin... | [
"def",
"_set_static_ac_lif",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"... | Setter method for static_ac_lif, mapped from YANG variable /mac_address_table/static/static_ac_lif (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_static_ac_lif is considered as a private
method. Backends looking to populate this variable should
do so via calling ... | [
"Setter",
"method",
"for",
"static_ac_lif",
"mapped",
"from",
"YANG",
"variable",
"/",
"mac_address_table",
"/",
"static",
"/",
"static_ac_lif",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mac_address_table/static/__init__.py#L127-L148 | train | Sets the value of static_ac_lif in the given order |
StackStorm/pybind | pybind/slxos/v17r_1_01a/protocol/cfm/__init__.py | cfm._set_y1731 | def _set_y1731(self, v, load=False):
"""
Setter method for y1731, mapped from YANG variable /protocol/cfm/y1731 (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_y1731 is considered as a private
method. Backends looking to populate this variable should
... | python | def _set_y1731(self, v, load=False):
"""
Setter method for y1731, mapped from YANG variable /protocol/cfm/y1731 (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_y1731 is considered as a private
method. Backends looking to populate this variable should
... | [
"def",
"_set_y1731",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for y1731, mapped from YANG variable /protocol/cfm/y1731 (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_y1731 is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_y1731() directly. | [
"Setter",
"method",
"for",
"y1731",
"mapped",
"from",
"YANG",
"variable",
"/",
"protocol",
"/",
"cfm",
"/",
"y1731",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"Y... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/protocol/cfm/__init__.py#L94-L115 | train | Set the Y1731 test list. |
StackStorm/pybind | pybind/nos/v6_0_2f/rbridge_id/fcsp/__init__.py | fcsp._set_auth | def _set_auth(self, v, load=False):
"""
Setter method for auth, mapped from YANG variable /rbridge_id/fcsp/auth (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_auth is considered as a private
method. Backends looking to populate this variable should
d... | python | def _set_auth(self, v, load=False):
"""
Setter method for auth, mapped from YANG variable /rbridge_id/fcsp/auth (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_auth is considered as a private
method. Backends looking to populate this variable should
d... | [
"def",
"_set_auth",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for auth, mapped from YANG variable /rbridge_id/fcsp/auth (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_auth is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_auth() directly. | [
"Setter",
"method",
"for",
"auth",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"fcsp",
"/",
"auth",
"(",
"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/rbridge_id/fcsp/__init__.py#L92-L113 | train | Set the authentication of the
|
StackStorm/pybind | pybind/nos/v6_0_2f/rbridge_id/route_map/content/match/__init__.py | match._set_route_type | def _set_route_type(self, v, load=False):
"""
Setter method for route_type, mapped from YANG variable /rbridge_id/route_map/content/match/route_type (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_route_type is considered as a private
method. Backends loo... | python | def _set_route_type(self, v, load=False):
"""
Setter method for route_type, mapped from YANG variable /rbridge_id/route_map/content/match/route_type (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_route_type is considered as a private
method. Backends loo... | [
"def",
"_set_route_type",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for route_type, mapped from YANG variable /rbridge_id/route_map/content/match/route_type (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_route_type is considered as a private
method. Backends looking to populate this variable should
do so via ca... | [
"Setter",
"method",
"for",
"route_type",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"route_map",
"/",
"content",
"/",
"match",
"/",
"route_type",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/route_map/content/match/__init__.py#L339-L362 | train | Sets the route type of the
|
StackStorm/pybind | pybind/slxos/v17r_2_00/hardware/profile/tcam/__init__.py | tcam._set_cam_share | def _set_cam_share(self, v, load=False):
"""
Setter method for cam_share, mapped from YANG variable /hardware/profile/tcam/cam_share (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_cam_share is considered as a private
method. Backends looking to populate ... | python | def _set_cam_share(self, v, load=False):
"""
Setter method for cam_share, mapped from YANG variable /hardware/profile/tcam/cam_share (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_cam_share is considered as a private
method. Backends looking to populate ... | [
"def",
"_set_cam_share",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base... | Setter method for cam_share, mapped from YANG variable /hardware/profile/tcam/cam_share (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_cam_share is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._s... | [
"Setter",
"method",
"for",
"cam_share",
"mapped",
"from",
"YANG",
"variable",
"/",
"hardware",
"/",
"profile",
"/",
"tcam",
"/",
"cam_share",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"i... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/hardware/profile/tcam/__init__.py#L129-L150 | train | Sets the value of the
property. |
StackStorm/pybind | pybind/slxos/v17r_2_00/hardware/profile/tcam/__init__.py | tcam._set_limit | def _set_limit(self, v, load=False):
"""
Setter method for limit, mapped from YANG variable /hardware/profile/tcam/limit (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_limit is considered as a private
method. Backends looking to populate this variable sh... | python | def _set_limit(self, v, load=False):
"""
Setter method for limit, mapped from YANG variable /hardware/profile/tcam/limit (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_limit is considered as a private
method. Backends looking to populate this variable sh... | [
"def",
"_set_limit",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for limit, mapped from YANG variable /hardware/profile/tcam/limit (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_limit is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_limit() d... | [
"Setter",
"method",
"for",
"limit",
"mapped",
"from",
"YANG",
"variable",
"/",
"hardware",
"/",
"profile",
"/",
"tcam",
"/",
"limit",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"t... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/hardware/profile/tcam/__init__.py#L162-L183 | train | Sets the limit of the
|
StackStorm/pybind | pybind/nos/v6_0_2f/interface/fortygigabitethernet/ipv6/ipv6_config/address/__init__.py | address._set_ipv6_address | def _set_ipv6_address(self, v, load=False):
"""
Setter method for ipv6_address, mapped from YANG variable /interface/fortygigabitethernet/ipv6/ipv6_config/address/ipv6_address (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ipv6_address is considered as a private
... | python | def _set_ipv6_address(self, v, load=False):
"""
Setter method for ipv6_address, mapped from YANG variable /interface/fortygigabitethernet/ipv6/ipv6_config/address/ipv6_address (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ipv6_address is considered as a private
... | [
"def",
"_set_ipv6_address",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"b... | Setter method for ipv6_address, mapped from YANG variable /interface/fortygigabitethernet/ipv6/ipv6_config/address/ipv6_address (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ipv6_address is considered as a private
method. Backends looking to populate this variable s... | [
"Setter",
"method",
"for",
"ipv6_address",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"fortygigabitethernet",
"/",
"ipv6",
"/",
"ipv6_config",
"/",
"address",
"/",
"ipv6_address",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/fortygigabitethernet/ipv6/ipv6_config/address/__init__.py#L161-L182 | train | Set the ipv6 address of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/isis_state/interface_detail/isis_intf/__init__.py | isis_intf._set_l1_circ_metrics | def _set_l1_circ_metrics(self, v, load=False):
"""
Setter method for l1_circ_metrics, mapped from YANG variable /isis_state/interface_detail/isis_intf/l1_circ_metrics (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_l1_circ_metrics is considered as a private
... | python | def _set_l1_circ_metrics(self, v, load=False):
"""
Setter method for l1_circ_metrics, mapped from YANG variable /isis_state/interface_detail/isis_intf/l1_circ_metrics (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_l1_circ_metrics is considered as a private
... | [
"def",
"_set_l1_circ_metrics",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for l1_circ_metrics, mapped from YANG variable /isis_state/interface_detail/isis_intf/l1_circ_metrics (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_l1_circ_metrics is considered as a private
method. Backends looking to populate this variable shoul... | [
"Setter",
"method",
"for",
"l1_circ_metrics",
"mapped",
"from",
"YANG",
"variable",
"/",
"isis_state",
"/",
"interface_detail",
"/",
"isis_intf",
"/",
"l1_circ_metrics",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/isis_state/interface_detail/isis_intf/__init__.py#L981-L1002 | train | Sets the metrics of the last 2 circles in the sequence. |
StackStorm/pybind | pybind/slxos/v17s_1_02/isis_state/interface_detail/isis_intf/__init__.py | isis_intf._set_l2_circ_metrics | def _set_l2_circ_metrics(self, v, load=False):
"""
Setter method for l2_circ_metrics, mapped from YANG variable /isis_state/interface_detail/isis_intf/l2_circ_metrics (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_l2_circ_metrics is considered as a private
... | python | def _set_l2_circ_metrics(self, v, load=False):
"""
Setter method for l2_circ_metrics, mapped from YANG variable /isis_state/interface_detail/isis_intf/l2_circ_metrics (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_l2_circ_metrics is considered as a private
... | [
"def",
"_set_l2_circ_metrics",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for l2_circ_metrics, mapped from YANG variable /isis_state/interface_detail/isis_intf/l2_circ_metrics (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_l2_circ_metrics is considered as a private
method. Backends looking to populate this variable shoul... | [
"Setter",
"method",
"for",
"l2_circ_metrics",
"mapped",
"from",
"YANG",
"variable",
"/",
"isis_state",
"/",
"interface_detail",
"/",
"isis_intf",
"/",
"l2_circ_metrics",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/isis_state/interface_detail/isis_intf/__init__.py#L1014-L1035 | train | Sets the metrics of the last 2 circles in the sequence. |
StackStorm/pybind | pybind/slxos/v17s_1_02/qos_mpls/map_/traffic_class_exp/__init__.py | traffic_class_exp._set_priority | def _set_priority(self, v, load=False):
"""
Setter method for priority, mapped from YANG variable /qos_mpls/map/traffic_class_exp/priority (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_priority is considered as a private
method. Backends looking to populate ... | python | def _set_priority(self, v, load=False):
"""
Setter method for priority, mapped from YANG variable /qos_mpls/map/traffic_class_exp/priority (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_priority is considered as a private
method. Backends looking to populate ... | [
"def",
"_set_priority",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for priority, mapped from YANG variable /qos_mpls/map/traffic_class_exp/priority (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_priority is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._... | [
"Setter",
"method",
"for",
"priority",
"mapped",
"from",
"YANG",
"variable",
"/",
"qos_mpls",
"/",
"map",
"/",
"traffic_class_exp",
"/",
"priority",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/qos_mpls/map_/traffic_class_exp/__init__.py#L131-L152 | train | Sets the priority of the
based on priority in the list provided. |
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/__init__.py | extended._set_ext_seq | def _set_ext_seq(self, v, load=False):
"""
Setter method for ext_seq, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_seq is considered as a private
method. Backends looking to popu... | python | def _set_ext_seq(self, v, load=False):
"""
Setter method for ext_seq, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_seq is considered as a private
method. Backends looking to popu... | [
"def",
"_set_ext_seq",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",... | Setter method for ext_seq, mapped from YANG variable /overlay/access_list/type/vxlan/extended/ext_seq (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ext_seq is considered as a private
method. Backends looking to populate this variable should
do so via calling thi... | [
"Setter",
"method",
"for",
"ext_seq",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"extended",
"/",
"ext_seq",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"confi... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/extended/__init__.py#L131-L152 | train | Sets the value of ext_seq mapped from YANG variable ext_seq_num |
StackStorm/pybind | pybind/nos/v7_2_0/event_handler/__init__.py | event_handler._set_event_handler_list | def _set_event_handler_list(self, v, load=False):
"""
Setter method for event_handler_list, mapped from YANG variable /event_handler/event_handler_list (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_event_handler_list is considered as a private
method. Backen... | python | def _set_event_handler_list(self, v, load=False):
"""
Setter method for event_handler_list, mapped from YANG variable /event_handler/event_handler_list (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_event_handler_list is considered as a private
method. Backen... | [
"def",
"_set_event_handler_list",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
","... | Setter method for event_handler_list, mapped from YANG variable /event_handler/event_handler_list (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_event_handler_list is considered as a private
method. Backends looking to populate this variable should
do so via call... | [
"Setter",
"method",
"for",
"event_handler_list",
"mapped",
"from",
"YANG",
"variable",
"/",
"event_handler",
"/",
"event_handler_list",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"sou... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/event_handler/__init__.py#L94-L115 | train | Sets the event handler list for the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/routing_system/router/isis/router_isis_cmds_holder/address_family/ipv6/af_ipv6_unicast/af_ipv6_attributes/af_common_attributes/redistribute/isis/level_1/into/__init__.py | into._set_level1_into_level2 | def _set_level1_into_level2(self, v, load=False):
"""
Setter method for level1_into_level2, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/address_family/ipv6/af_ipv6_unicast/af_ipv6_attributes/af_common_attributes/redistribute/isis/level_1/into/level1_into_level2 (container)
... | python | def _set_level1_into_level2(self, v, load=False):
"""
Setter method for level1_into_level2, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/address_family/ipv6/af_ipv6_unicast/af_ipv6_attributes/af_common_attributes/redistribute/isis/level_1/into/level1_into_level2 (container)
... | [
"def",
"_set_level1_into_level2",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
","... | Setter method for level1_into_level2, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/address_family/ipv6/af_ipv6_unicast/af_ipv6_attributes/af_common_attributes/redistribute/isis/level_1/into/level1_into_level2 (container)
If this variable is read-only (config: false) in the
sourc... | [
"Setter",
"method",
"for",
"level1_into_level2",
"mapped",
"from",
"YANG",
"variable",
"/",
"routing_system",
"/",
"router",
"/",
"isis",
"/",
"router_isis_cmds_holder",
"/",
"address_family",
"/",
"ipv6",
"/",
"af_ipv6_unicast",
"/",
"af_ipv6_attributes",
"/",
"af_... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/routing_system/router/isis/router_isis_cmds_holder/address_family/ipv6/af_ipv6_unicast/af_ipv6_attributes/af_common_attributes/redistribute/isis/level_1/into/__init__.py#L92-L113 | train | Sets the value of level - 2 in the hierarchy. |
StackStorm/pybind | pybind/nos/v6_0_2f/overlay_gateway/__init__.py | overlay_gateway._set_attach | def _set_attach(self, v, load=False):
"""
Setter method for attach, mapped from YANG variable /overlay_gateway/attach (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_attach is considered as a private
method. Backends looking to populate this variable shou... | python | def _set_attach(self, v, load=False):
"""
Setter method for attach, mapped from YANG variable /overlay_gateway/attach (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_attach is considered as a private
method. Backends looking to populate this variable shou... | [
"def",
"_set_attach",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for attach, mapped from YANG variable /overlay_gateway/attach (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_attach is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_attach() dir... | [
"Setter",
"method",
"for",
"attach",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay_gateway",
"/",
"attach",
"(",
"container",
")",
"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/overlay_gateway/__init__.py#L223-L244 | train | Sets the attach property of the
|
StackStorm/pybind | pybind/nos/v6_0_2f/overlay_gateway/__init__.py | overlay_gateway._set_monitor | def _set_monitor(self, v, load=False):
"""
Setter method for monitor, mapped from YANG variable /overlay_gateway/monitor (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_monitor is considered as a private
method. Backends looking to populate this variable shoul... | python | def _set_monitor(self, v, load=False):
"""
Setter method for monitor, mapped from YANG variable /overlay_gateway/monitor (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_monitor is considered as a private
method. Backends looking to populate this variable shoul... | [
"def",
"_set_monitor",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",... | Setter method for monitor, mapped from YANG variable /overlay_gateway/monitor (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_monitor is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_monitor() dire... | [
"Setter",
"method",
"for",
"monitor",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay_gateway",
"/",
"monitor",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"f... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/overlay_gateway/__init__.py#L361-L382 | train | Sets the monitor field of the
|
StackStorm/pybind | pybind/nos/v6_0_2f/overlay_gateway/__init__.py | overlay_gateway._set_sflow | def _set_sflow(self, v, load=False):
"""
Setter method for sflow, mapped from YANG variable /overlay_gateway/sflow (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_sflow is considered as a private
method. Backends looking to populate this variable should
do... | python | def _set_sflow(self, v, load=False):
"""
Setter method for sflow, mapped from YANG variable /overlay_gateway/sflow (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_sflow is considered as a private
method. Backends looking to populate this variable should
do... | [
"def",
"_set_sflow",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for sflow, mapped from YANG variable /overlay_gateway/sflow (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_sflow is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_sflow() directly. | [
"Setter",
"method",
"for",
"sflow",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay_gateway",
"/",
"sflow",
"(",
"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/overlay_gateway/__init__.py#L394-L415 | train | Sets the sflow property of the
|
StackStorm/pybind | pybind/slxos/v17r_1_01a/interface_vlan/vlan/ipv6/__init__.py | ipv6._set_mldPIM | def _set_mldPIM(self, v, load=False):
"""
Setter method for mldPIM, mapped from YANG variable /interface_vlan/vlan/ipv6/mldPIM (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mldPIM is considered as a private
method. Backends looking to populate this vari... | python | def _set_mldPIM(self, v, load=False):
"""
Setter method for mldPIM, mapped from YANG variable /interface_vlan/vlan/ipv6/mldPIM (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mldPIM is considered as a private
method. Backends looking to populate this vari... | [
"def",
"_set_mldPIM",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for mldPIM, mapped from YANG variable /interface_vlan/vlan/ipv6/mldPIM (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mldPIM is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_mld... | [
"Setter",
"method",
"for",
"mldPIM",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface_vlan",
"/",
"vlan",
"/",
"ipv6",
"/",
"mldPIM",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/interface_vlan/vlan/ipv6/__init__.py#L96-L117 | train | Set the value of the mldPIM property. |
StackStorm/pybind | pybind/slxos/v17s_1_02/routing_system/router/isis/router_isis_cmds_holder/address_family/ipv4/af_ipv4_unicast/af_ipv4_attributes/__init__.py | af_ipv4_attributes._set_ldp_sync | def _set_ldp_sync(self, v, load=False):
"""
Setter method for ldp_sync, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/address_family/ipv4/af_ipv4_unicast/af_ipv4_attributes/ldp_sync (container)
If this variable is read-only (config: false) in the
source YANG file, then _s... | python | def _set_ldp_sync(self, v, load=False):
"""
Setter method for ldp_sync, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/address_family/ipv4/af_ipv4_unicast/af_ipv4_attributes/ldp_sync (container)
If this variable is read-only (config: false) in the
source YANG file, then _s... | [
"def",
"_set_ldp_sync",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for ldp_sync, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/address_family/ipv4/af_ipv4_unicast/af_ipv4_attributes/ldp_sync (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ldp_sync is considered as a private
method. B... | [
"Setter",
"method",
"for",
"ldp_sync",
"mapped",
"from",
"YANG",
"variable",
"/",
"routing_system",
"/",
"router",
"/",
"isis",
"/",
"router_isis_cmds_holder",
"/",
"address_family",
"/",
"ipv4",
"/",
"af_ipv4_unicast",
"/",
"af_ipv4_attributes",
"/",
"ldp_sync",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/routing_system/router/isis/router_isis_cmds_holder/address_family/ipv4/af_ipv4_unicast/af_ipv4_attributes/__init__.py#L166-L187 | train | Sets the ldp - sync property of the node. |
StackStorm/pybind | pybind/slxos/v17s_1_02/brocade_interface_ext_rpc/get_media_detail/output/interface/on_board/__init__.py | on_board._set_speed | def _set_speed(self, v, load=False):
"""
Setter method for speed, mapped from YANG variable /brocade_interface_ext_rpc/get_media_detail/output/interface/on_board/speed (line-speed)
If this variable is read-only (config: false) in the
source YANG file, then _set_speed is considered as a private
metho... | python | def _set_speed(self, v, load=False):
"""
Setter method for speed, mapped from YANG variable /brocade_interface_ext_rpc/get_media_detail/output/interface/on_board/speed (line-speed)
If this variable is read-only (config: false) in the
source YANG file, then _set_speed is considered as a private
metho... | [
"def",
"_set_speed",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for speed, mapped from YANG variable /brocade_interface_ext_rpc/get_media_detail/output/interface/on_board/speed (line-speed)
If this variable is read-only (config: false) in the
source YANG file, then _set_speed is considered as a private
method. Backends looking to populate this variable sho... | [
"Setter",
"method",
"for",
"speed",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_interface_ext_rpc",
"/",
"get_media_detail",
"/",
"output",
"/",
"interface",
"/",
"on_board",
"/",
"speed",
"(",
"line",
"-",
"speed",
")",
"If",
"this",
"variable",
"is",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_interface_ext_rpc/get_media_detail/output/interface/on_board/__init__.py#L99-L122 | train | Sets the speed of the
|
mjj4791/python-buienradar | buienradar/__main__.py | main | def main(argv=sys.argv[1:]):
"""Parse argument and start main program."""
args = docopt(__doc__, argv=argv,
version=pkg_resources.require('buienradar')[0].version)
level = logging.ERROR
if args['-v']:
level = logging.INFO
if args['-v'] == 2:
level = logging.DEBUG
... | python | def main(argv=sys.argv[1:]):
"""Parse argument and start main program."""
args = docopt(__doc__, argv=argv,
version=pkg_resources.require('buienradar')[0].version)
level = logging.ERROR
if args['-v']:
level = logging.INFO
if args['-v'] == 2:
level = logging.DEBUG
... | [
"def",
"main",
"(",
"argv",
"=",
"sys",
".",
"argv",
"[",
"1",
":",
"]",
")",
":",
"args",
"=",
"docopt",
"(",
"__doc__",
",",
"argv",
"=",
"argv",
",",
"version",
"=",
"pkg_resources",
".",
"require",
"(",
"'buienradar'",
")",
"[",
"0",
"]",
"."... | Parse argument and start main program. | [
"Parse",
"argument",
"and",
"start",
"main",
"program",
"."
] | a70436f54e007ce921d5210cb296cf3e4adf9d09 | https://github.com/mjj4791/python-buienradar/blob/a70436f54e007ce921d5210cb296cf3e4adf9d09/buienradar/__main__.py#L29-L62 | train | Parse argument and start main program. |
StackStorm/pybind | pybind/nos/v6_0_2f/interface_vlan/interface/vlan/ipv6/mldVlan/snooping/__init__.py | snooping._set_mrouter | def _set_mrouter(self, v, load=False):
"""
Setter method for mrouter, mapped from YANG variable /interface_vlan/interface/vlan/ipv6/mldVlan/snooping/mrouter (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mrouter is considered as a private
method. Backend... | python | def _set_mrouter(self, v, load=False):
"""
Setter method for mrouter, mapped from YANG variable /interface_vlan/interface/vlan/ipv6/mldVlan/snooping/mrouter (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mrouter is considered as a private
method. Backend... | [
"def",
"_set_mrouter",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",... | Setter method for mrouter, mapped from YANG variable /interface_vlan/interface/vlan/ipv6/mldVlan/snooping/mrouter (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mrouter is considered as a private
method. Backends looking to populate this variable should
do s... | [
"Setter",
"method",
"for",
"mrouter",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface_vlan",
"/",
"interface",
"/",
"vlan",
"/",
"ipv6",
"/",
"mldVlan",
"/",
"snooping",
"/",
"mrouter",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface_vlan/interface/vlan/ipv6/mldVlan/snooping/__init__.py#L263-L284 | train | Sets the mrouter property. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/qos/cpu/slot/port_group/group/group_config_shaper_wfq/__init__.py | group_config_shaper_wfq._set_group_prio | def _set_group_prio(self, v, load=False):
"""
Setter method for group_prio, mapped from YANG variable /qos/cpu/slot/port_group/group/group_config_shaper_wfq/group_prio (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_group_prio is considered as a private
method... | python | def _set_group_prio(self, v, load=False):
"""
Setter method for group_prio, mapped from YANG variable /qos/cpu/slot/port_group/group/group_config_shaper_wfq/group_prio (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_group_prio is considered as a private
method... | [
"def",
"_set_group_prio",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for group_prio, mapped from YANG variable /qos/cpu/slot/port_group/group/group_config_shaper_wfq/group_prio (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_group_prio is considered as a private
method. Backends looking to populate this variable should
... | [
"Setter",
"method",
"for",
"group_prio",
"mapped",
"from",
"YANG",
"variable",
"/",
"qos",
"/",
"cpu",
"/",
"slot",
"/",
"port_group",
"/",
"group",
"/",
"group_config_shaper_wfq",
"/",
"group_prio",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/qos/cpu/slot/port_group/group/group_config_shaper_wfq/__init__.py#L162-L183 | train | Sets the group priority parameters for the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/cluster/client/__init__.py | client._set_client_interface | def _set_client_interface(self, v, load=False):
"""
Setter method for client_interface, mapped from YANG variable /cluster/client/client_interface (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_client_interface is considered as a private
method. Backends... | python | def _set_client_interface(self, v, load=False):
"""
Setter method for client_interface, mapped from YANG variable /cluster/client/client_interface (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_client_interface is considered as a private
method. Backends... | [
"def",
"_set_client_interface",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for client_interface, mapped from YANG variable /cluster/client/client_interface (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_client_interface is considered as a private
method. Backends looking to populate this variable should
do so via call... | [
"Setter",
"method",
"for",
"client_interface",
"mapped",
"from",
"YANG",
"variable",
"/",
"cluster",
"/",
"client",
"/",
"client_interface",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/cluster/client/__init__.py#L173-L194 | train | Sets the client interface for the cluster node. |
StackStorm/pybind | pybind/slxos/v17s_1_02/brocade_mpls_rpc/show_mpls_ldp_fec_vc_id/output/__init__.py | output._set_ldp_fec_prefix_pend_notif | def _set_ldp_fec_prefix_pend_notif(self, v, load=False):
"""
Setter method for ldp_fec_prefix_pend_notif, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_fec_vc_id/output/ldp_fec_prefix_pend_notif (ldp-fec-pend-notify)
If this variable is read-only (config: false) in the
source YANG file, then... | python | def _set_ldp_fec_prefix_pend_notif(self, v, load=False):
"""
Setter method for ldp_fec_prefix_pend_notif, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_fec_vc_id/output/ldp_fec_prefix_pend_notif (ldp-fec-pend-notify)
If this variable is read-only (config: false) in the
source YANG file, then... | [
"def",
"_set_ldp_fec_prefix_pend_notif",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v"... | Setter method for ldp_fec_prefix_pend_notif, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_fec_vc_id/output/ldp_fec_prefix_pend_notif (ldp-fec-pend-notify)
If this variable is read-only (config: false) in the
source YANG file, then _set_ldp_fec_prefix_pend_notif is considered as a private
method... | [
"Setter",
"method",
"for",
"ldp_fec_prefix_pend_notif",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_mpls_rpc",
"/",
"show_mpls_ldp_fec_vc_id",
"/",
"output",
"/",
"ldp_fec_prefix_pend_notif",
"(",
"ldp",
"-",
"fec",
"-",
"pend",
"-",
"notify",
")",
"If",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/show_mpls_ldp_fec_vc_id/output/__init__.py#L222-L245 | train | Sets pend_notif property of the last ND - FEC notification. |
StackStorm/pybind | pybind/nos/v6_0_2f/interface/fortygigabitethernet/dot1x/__init__.py | dot1x._set_port_control | def _set_port_control(self, v, load=False):
"""
Setter method for port_control, mapped from YANG variable /interface/fortygigabitethernet/dot1x/port_control (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_port_control is considered as a private
method. ... | python | def _set_port_control(self, v, load=False):
"""
Setter method for port_control, mapped from YANG variable /interface/fortygigabitethernet/dot1x/port_control (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_port_control is considered as a private
method. ... | [
"def",
"_set_port_control",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"b... | Setter method for port_control, mapped from YANG variable /interface/fortygigabitethernet/dot1x/port_control (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_port_control is considered as a private
method. Backends looking to populate this variable should
do... | [
"Setter",
"method",
"for",
"port_control",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"fortygigabitethernet",
"/",
"dot1x",
"/",
"port_control",
"(",
"enumeration",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/fortygigabitethernet/dot1x/__init__.py#L156-L187 | train | Sets the port control of the
|
StackStorm/pybind | pybind/nos/v6_0_2f/interface/fortygigabitethernet/dot1x/__init__.py | dot1x._set_timeout | def _set_timeout(self, v, load=False):
"""
Setter method for timeout, mapped from YANG variable /interface/fortygigabitethernet/dot1x/timeout (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_timeout is considered as a private
method. Backends looking to po... | python | def _set_timeout(self, v, load=False):
"""
Setter method for timeout, mapped from YANG variable /interface/fortygigabitethernet/dot1x/timeout (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_timeout is considered as a private
method. Backends looking to po... | [
"def",
"_set_timeout",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",... | Setter method for timeout, mapped from YANG variable /interface/fortygigabitethernet/dot1x/timeout (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_timeout is considered as a private
method. Backends looking to populate this variable should
do so via calling t... | [
"Setter",
"method",
"for",
"timeout",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"fortygigabitethernet",
"/",
"dot1x",
"/",
"timeout",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/fortygigabitethernet/dot1x/__init__.py#L368-L392 | train | Sets the timeout parameter of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/qos/cpu/slot/port_group/group/group_config_shaper_wfq/group_prio/group_prio_config_shaper_wfq/__init__.py | group_prio_config_shaper_wfq._set_group_prio_wfq | def _set_group_prio_wfq(self, v, load=False):
"""
Setter method for group_prio_wfq, mapped from YANG variable /qos/cpu/slot/port_group/group/group_config_shaper_wfq/group_prio/group_prio_config_shaper_wfq/group_prio_wfq (container)
If this variable is read-only (config: false) in the
source YANG file, t... | python | def _set_group_prio_wfq(self, v, load=False):
"""
Setter method for group_prio_wfq, mapped from YANG variable /qos/cpu/slot/port_group/group/group_config_shaper_wfq/group_prio/group_prio_config_shaper_wfq/group_prio_wfq (container)
If this variable is read-only (config: false) in the
source YANG file, t... | [
"def",
"_set_group_prio_wfq",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for group_prio_wfq, mapped from YANG variable /qos/cpu/slot/port_group/group/group_config_shaper_wfq/group_prio/group_prio_config_shaper_wfq/group_prio_wfq (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_group_prio_wfq is considered as a private
met... | [
"Setter",
"method",
"for",
"group_prio_wfq",
"mapped",
"from",
"YANG",
"variable",
"/",
"qos",
"/",
"cpu",
"/",
"slot",
"/",
"port_group",
"/",
"group",
"/",
"group_config_shaper_wfq",
"/",
"group_prio",
"/",
"group_prio_config_shaper_wfq",
"/",
"group_prio_wfq",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/qos/cpu/slot/port_group/group/group_config_shaper_wfq/group_prio/group_prio_config_shaper_wfq/__init__.py#L127-L148 | train | Sets the group priority wfq for the group |
StackStorm/pybind | pybind/slxos/v17s_1_02/protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/__init__.py | mep._set_mep_id | def _set_mep_id(self, v, load=False):
"""
Setter method for mep_id, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/mep_id (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_mep_id is considered as a private
method. Backends ... | python | def _set_mep_id(self, v, load=False):
"""
Setter method for mep_id, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/mep_id (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_mep_id is considered as a private
method. Backends ... | [
"def",
"_set_mep_id",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"parent",
"=",
"getattr",
"(",
"self",
",",
"\"_parent\"",
",",
"None",
")",
"if",
"parent",
"is",
"not",
"None",
"and",
"load",
"is",
"False",
":",
"raise",
"Attribute... | Setter method for mep_id, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/mep_id (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_mep_id is considered as a private
method. Backends looking to populate this variable should
do so... | [
"Setter",
"method",
"for",
"mep_id",
"mapped",
"from",
"YANG",
"variable",
"/",
"protocol",
"/",
"cfm",
"/",
"domain_name",
"/",
"ma_name",
"/",
"cfm_ma_sub_commands",
"/",
"mep",
"/",
"mep_id",
"(",
"uint32",
")",
"If",
"this",
"variable",
"is",
"read",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/__init__.py#L97-L123 | train | Sets the mep_id of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/__init__.py | mep._set_mep_down_up | def _set_mep_down_up(self, v, load=False):
"""
Setter method for mep_down_up, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/mep_down_up (mep-down-up-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_mep_down_up is considered as a... | python | def _set_mep_down_up(self, v, load=False):
"""
Setter method for mep_down_up, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/mep_down_up (mep-down-up-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_mep_down_up is considered as a... | [
"def",
"_set_mep_down_up",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for mep_down_up, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/mep_down_up (mep-down-up-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_mep_down_up is considered as a private
method. Backends looking to populate this ... | [
"Setter",
"method",
"for",
"mep_down_up",
"mapped",
"from",
"YANG",
"variable",
"/",
"protocol",
"/",
"cfm",
"/",
"domain_name",
"/",
"ma_name",
"/",
"cfm_ma_sub_commands",
"/",
"mep",
"/",
"mep_down_up",
"(",
"mep",
"-",
"down",
"-",
"up",
"-",
"type",
")... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/__init__.py#L135-L156 | train | Sets the value of the mep - down - up variable in the sequence. |
StackStorm/pybind | pybind/slxos/v17s_1_02/protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/__init__.py | mep._set_mep_intf_name | def _set_mep_intf_name(self, v, load=False):
"""
Setter method for mep_intf_name, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/mep_intf_name (dot1ag-interface-name)
If this variable is read-only (config: false) in the
source YANG file, then _set_mep_intf_name is co... | python | def _set_mep_intf_name(self, v, load=False):
"""
Setter method for mep_intf_name, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/mep_intf_name (dot1ag-interface-name)
If this variable is read-only (config: false) in the
source YANG file, then _set_mep_intf_name is co... | [
"def",
"_set_mep_intf_name",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"... | Setter method for mep_intf_name, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/mep_intf_name (dot1ag-interface-name)
If this variable is read-only (config: false) in the
source YANG file, then _set_mep_intf_name is considered as a private
method. Backends looking to pop... | [
"Setter",
"method",
"for",
"mep_intf_name",
"mapped",
"from",
"YANG",
"variable",
"/",
"protocol",
"/",
"cfm",
"/",
"domain_name",
"/",
"ma_name",
"/",
"cfm_ma_sub_commands",
"/",
"mep",
"/",
"mep_intf_name",
"(",
"dot1ag",
"-",
"interface",
"-",
"name",
")",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/__init__.py#L234-L255 | train | Sets the name of the MEP interface. |
StackStorm/pybind | pybind/nos/v6_0_2f/qos/__init__.py | qos._set_red_profile | def _set_red_profile(self, v, load=False):
"""
Setter method for red_profile, mapped from YANG variable /qos/red_profile (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_red_profile is considered as a private
method. Backends looking to populate this variable s... | python | def _set_red_profile(self, v, load=False):
"""
Setter method for red_profile, mapped from YANG variable /qos/red_profile (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_red_profile is considered as a private
method. Backends looking to populate this variable s... | [
"def",
"_set_red_profile",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for red_profile, mapped from YANG variable /qos/red_profile (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_red_profile is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_red_profile() ... | [
"Setter",
"method",
"for",
"red_profile",
"mapped",
"from",
"YANG",
"variable",
"/",
"qos",
"/",
"red_profile",
"(",
"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/qos/__init__.py#L131-L152 | train | Set red profile of the
|
StackStorm/pybind | pybind/nos/v6_0_2f/qos/__init__.py | qos._set_queue | def _set_queue(self, v, load=False):
"""
Setter method for queue, mapped from YANG variable /qos/queue (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_queue is considered as a private
method. Backends looking to populate this variable should
do so via... | python | def _set_queue(self, v, load=False):
"""
Setter method for queue, mapped from YANG variable /qos/queue (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_queue is considered as a private
method. Backends looking to populate this variable should
do so via... | [
"def",
"_set_queue",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for queue, mapped from YANG variable /qos/queue (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_queue is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_queue() directly. | [
"Setter",
"method",
"for",
"queue",
"mapped",
"from",
"YANG",
"variable",
"/",
"qos",
"/",
"queue",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"file",
"th... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/qos/__init__.py#L164-L185 | train | Sets the queue of the
based on the specified queue. |
StackStorm/pybind | pybind/slxos/v17r_2_00/mpls_state/policy/__init__.py | policy._set_cspf_group_computation_mode | def _set_cspf_group_computation_mode(self, v, load=False):
"""
Setter method for cspf_group_computation_mode, mapped from YANG variable /mpls_state/policy/cspf_group_computation_mode (mpls-cspf-grp-comp-mode)
If this variable is read-only (config: false) in the
source YANG file, then _set_cspf_group_com... | python | def _set_cspf_group_computation_mode(self, v, load=False):
"""
Setter method for cspf_group_computation_mode, mapped from YANG variable /mpls_state/policy/cspf_group_computation_mode (mpls-cspf-grp-comp-mode)
If this variable is read-only (config: false) in the
source YANG file, then _set_cspf_group_com... | [
"def",
"_set_cspf_group_computation_mode",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"... | Setter method for cspf_group_computation_mode, mapped from YANG variable /mpls_state/policy/cspf_group_computation_mode (mpls-cspf-grp-comp-mode)
If this variable is read-only (config: false) in the
source YANG file, then _set_cspf_group_computation_mode is considered as a private
method. Backends looking t... | [
"Setter",
"method",
"for",
"cspf_group_computation_mode",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_state",
"/",
"policy",
"/",
"cspf_group_computation_mode",
"(",
"mpls",
"-",
"cspf",
"-",
"grp",
"-",
"comp",
"-",
"mode",
")",
"If",
"this",
"variable",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/mpls_state/policy/__init__.py#L162-L185 | train | Sets the cspf - group - compute - mode of the cluster. |
StackStorm/pybind | pybind/slxos/v17r_2_00/mpls_state/policy/__init__.py | policy._set_te_policy_protocol | def _set_te_policy_protocol(self, v, load=False):
"""
Setter method for te_policy_protocol, mapped from YANG variable /mpls_state/policy/te_policy_protocol (te-protocol)
If this variable is read-only (config: false) in the
source YANG file, then _set_te_policy_protocol is considered as a private
met... | python | def _set_te_policy_protocol(self, v, load=False):
"""
Setter method for te_policy_protocol, mapped from YANG variable /mpls_state/policy/te_policy_protocol (te-protocol)
If this variable is read-only (config: false) in the
source YANG file, then _set_te_policy_protocol is considered as a private
met... | [
"def",
"_set_te_policy_protocol",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
","... | Setter method for te_policy_protocol, mapped from YANG variable /mpls_state/policy/te_policy_protocol (te-protocol)
If this variable is read-only (config: false) in the
source YANG file, then _set_te_policy_protocol is considered as a private
method. Backends looking to populate this variable should
do ... | [
"Setter",
"method",
"for",
"te_policy_protocol",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_state",
"/",
"policy",
"/",
"te_policy_protocol",
"(",
"te",
"-",
"protocol",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"fal... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/mpls_state/policy/__init__.py#L532-L555 | train | Set the TE - Protocol of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/igmp_snooping_state/igmp_statistics/__init__.py | igmp_statistics._set_igmp_statistics | def _set_igmp_statistics(self, v, load=False):
"""
Setter method for igmp_statistics, mapped from YANG variable /igmp_snooping_state/igmp_statistics/igmp_statistics (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_igmp_statistics is considered as a private
meth... | python | def _set_igmp_statistics(self, v, load=False):
"""
Setter method for igmp_statistics, mapped from YANG variable /igmp_snooping_state/igmp_statistics/igmp_statistics (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_igmp_statistics is considered as a private
meth... | [
"def",
"_set_igmp_statistics",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for igmp_statistics, mapped from YANG variable /igmp_snooping_state/igmp_statistics/igmp_statistics (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_igmp_statistics is considered as a private
method. Backends looking to populate this variable should
d... | [
"Setter",
"method",
"for",
"igmp_statistics",
"mapped",
"from",
"YANG",
"variable",
"/",
"igmp_snooping_state",
"/",
"igmp_statistics",
"/",
"igmp_statistics",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/igmp_snooping_state/igmp_statistics/__init__.py#L94-L115 | train | Set the values of the igmp_statistics variable in the IGMP header. |
StackStorm/pybind | pybind/nos/v6_0_2f/fcoe/__init__.py | fcoe._set_fcoe_fabric_map | def _set_fcoe_fabric_map(self, v, load=False):
"""
Setter method for fcoe_fabric_map, mapped from YANG variable /fcoe/fcoe_fabric_map (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_fabric_map is considered as a private
method. Backends looking to populat... | python | def _set_fcoe_fabric_map(self, v, load=False):
"""
Setter method for fcoe_fabric_map, mapped from YANG variable /fcoe/fcoe_fabric_map (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_fabric_map is considered as a private
method. Backends looking to populat... | [
"def",
"_set_fcoe_fabric_map",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for fcoe_fabric_map, mapped from YANG variable /fcoe/fcoe_fabric_map (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_fabric_map is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_f... | [
"Setter",
"method",
"for",
"fcoe_fabric_map",
"mapped",
"from",
"YANG",
"variable",
"/",
"fcoe",
"/",
"fcoe_fabric_map",
"(",
"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/fcoe/__init__.py#L99-L122 | train | Set the FCoE Fabric - map for the current node. |
StackStorm/pybind | pybind/nos/v6_0_2f/fcoe/__init__.py | fcoe._set_fcoe_map | def _set_fcoe_map(self, v, load=False):
"""
Setter method for fcoe_map, mapped from YANG variable /fcoe/fcoe_map (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_map is considered as a private
method. Backends looking to populate this variable should
d... | python | def _set_fcoe_map(self, v, load=False):
"""
Setter method for fcoe_map, mapped from YANG variable /fcoe/fcoe_map (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_map is considered as a private
method. Backends looking to populate this variable should
d... | [
"def",
"_set_fcoe_map",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for fcoe_map, mapped from YANG variable /fcoe/fcoe_map (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_map is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_fcoe_map() directly.
... | [
"Setter",
"method",
"for",
"fcoe_map",
"mapped",
"from",
"YANG",
"variable",
"/",
"fcoe",
"/",
"fcoe_map",
"(",
"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/fcoe/__init__.py#L137-L161 | train | Set the value of the FCoE Map field in the order they are defined. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.