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/nos/v7_2_0/rbridge_id/__init__.py
rbridge_id._set_maps
def _set_maps(self, v, load=False): """ Setter method for maps, mapped from YANG variable /rbridge_id/maps (container) If this variable is read-only (config: false) in the source YANG file, then _set_maps is considered as a private method. Backends looking to populate this variable should do so ...
python
def _set_maps(self, v, load=False): """ Setter method for maps, mapped from YANG variable /rbridge_id/maps (container) If this variable is read-only (config: false) in the source YANG file, then _set_maps is considered as a private method. Backends looking to populate this variable should do so ...
[ "def", "_set_maps", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base", ...
Setter method for maps, mapped from YANG variable /rbridge_id/maps (container) If this variable is read-only (config: false) in the source YANG file, then _set_maps is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_maps() directly.
[ "Setter", "method", "for", "maps", "mapped", "from", "YANG", "variable", "/", "rbridge_id", "/", "maps", "(", "container", ")", "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/rbridge_id/__init__.py#L1462-L1483
train
Sets the maps property of the based on the given parameters.
StackStorm/pybind
pybind/nos/v7_2_0/rbridge_id/__init__.py
rbridge_id._set_telnet
def _set_telnet(self, v, load=False): """ Setter method for telnet, mapped from YANG variable /rbridge_id/telnet (container) If this variable is read-only (config: false) in the source YANG file, then _set_telnet is considered as a private method. Backends looking to populate this variable should ...
python
def _set_telnet(self, v, load=False): """ Setter method for telnet, mapped from YANG variable /rbridge_id/telnet (container) If this variable is read-only (config: false) in the source YANG file, then _set_telnet is considered as a private method. Backends looking to populate this variable should ...
[ "def", "_set_telnet", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base", ...
Setter method for telnet, mapped from YANG variable /rbridge_id/telnet (container) If this variable is read-only (config: false) in the source YANG file, then _set_telnet is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_telnet() directly...
[ "Setter", "method", "for", "telnet", "mapped", "from", "YANG", "variable", "/", "rbridge_id", "/", "telnet", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG", "fil...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/rbridge_id/__init__.py#L1598-L1619
train
Set the telnet of the sequence.
StackStorm/pybind
pybind/nos/v7_2_0/rbridge_id/__init__.py
rbridge_id._set_ssh
def _set_ssh(self, v, load=False): """ Setter method for ssh, mapped from YANG variable /rbridge_id/ssh (container) If this variable is read-only (config: false) in the source YANG file, then _set_ssh is considered as a private method. Backends looking to populate this variable should do so via ...
python
def _set_ssh(self, v, load=False): """ Setter method for ssh, mapped from YANG variable /rbridge_id/ssh (container) If this variable is read-only (config: false) in the source YANG file, then _set_ssh is considered as a private method. Backends looking to populate this variable should do so via ...
[ "def", "_set_ssh", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base", "...
Setter method for ssh, mapped from YANG variable /rbridge_id/ssh (container) If this variable is read-only (config: false) in the source YANG file, then _set_ssh is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_ssh() directly.
[ "Setter", "method", "for", "ssh", "mapped", "from", "YANG", "variable", "/", "rbridge_id", "/", "ssh", "(", "container", ")", "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/rbridge_id/__init__.py#L1631-L1652
train
Set the value of _ssh
StackStorm/pybind
pybind/nos/v6_0_2f/brocade_nameserver_rpc/get_nameserver_detail/output/show_nameserver/__init__.py
show_nameserver._set_nameserver_fc4s
def _set_nameserver_fc4s(self, v, load=False): """ Setter method for nameserver_fc4s, mapped from YANG variable /brocade_nameserver_rpc/get_nameserver_detail/output/show_nameserver/nameserver_fc4s (nameserver-fc4s-type) If this variable is read-only (config: false) in the source YANG file, then _set_nam...
python
def _set_nameserver_fc4s(self, v, load=False): """ Setter method for nameserver_fc4s, mapped from YANG variable /brocade_nameserver_rpc/get_nameserver_detail/output/show_nameserver/nameserver_fc4s (nameserver-fc4s-type) If this variable is read-only (config: false) in the source YANG file, then _set_nam...
[ "def", "_set_nameserver_fc4s", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for nameserver_fc4s, mapped from YANG variable /brocade_nameserver_rpc/get_nameserver_detail/output/show_nameserver/nameserver_fc4s (nameserver-fc4s-type) If this variable is read-only (config: false) in the source YANG file, then _set_nameserver_fc4s is considered as a private method. Backend...
[ "Setter", "method", "for", "nameserver_fc4s", "mapped", "from", "YANG", "variable", "/", "brocade_nameserver_rpc", "/", "get_nameserver_detail", "/", "output", "/", "show_nameserver", "/", "nameserver_fc4s", "(", "nameserver", "-", "fc4s", "-", "type", ")", "If", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_nameserver_rpc/get_nameserver_detail/output/show_nameserver/__init__.py#L278-L302
train
Sets the nameserver_fc4s variable.
StackStorm/pybind
pybind/nos/v6_0_2f/brocade_nameserver_rpc/get_nameserver_detail/output/show_nameserver/__init__.py
show_nameserver._set_nameserver_devicetype
def _set_nameserver_devicetype(self, v, load=False): """ Setter method for nameserver_devicetype, mapped from YANG variable /brocade_nameserver_rpc/get_nameserver_detail/output/show_nameserver/nameserver_devicetype (nameserver-devicetype-type) If this variable is read-only (config: false) in the source ...
python
def _set_nameserver_devicetype(self, v, load=False): """ Setter method for nameserver_devicetype, mapped from YANG variable /brocade_nameserver_rpc/get_nameserver_detail/output/show_nameserver/nameserver_devicetype (nameserver-devicetype-type) If this variable is read-only (config: false) in the source ...
[ "def", "_set_nameserver_devicetype", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ...
Setter method for nameserver_devicetype, mapped from YANG variable /brocade_nameserver_rpc/get_nameserver_detail/output/show_nameserver/nameserver_devicetype (nameserver-devicetype-type) If this variable is read-only (config: false) in the source YANG file, then _set_nameserver_devicetype is considered as a pri...
[ "Setter", "method", "for", "nameserver_devicetype", "mapped", "from", "YANG", "variable", "/", "brocade_nameserver_rpc", "/", "get_nameserver_detail", "/", "output", "/", "show_nameserver", "/", "nameserver_devicetype", "(", "nameserver", "-", "devicetype", "-", "type",...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_nameserver_rpc/get_nameserver_detail/output/show_nameserver/__init__.py#L471-L495
train
Sets the nameserver - devicetype for the given nameserver
StackStorm/pybind
pybind/nos/v6_0_2f/brocade_nameserver_rpc/get_nameserver_detail/output/show_nameserver/__init__.py
show_nameserver._set_nameserver_cos
def _set_nameserver_cos(self, v, load=False): """ Setter method for nameserver_cos, mapped from YANG variable /brocade_nameserver_rpc/get_nameserver_detail/output/show_nameserver/nameserver_cos (nameserver-cos-type) If this variable is read-only (config: false) in the source YANG file, then _set_nameser...
python
def _set_nameserver_cos(self, v, load=False): """ Setter method for nameserver_cos, mapped from YANG variable /brocade_nameserver_rpc/get_nameserver_detail/output/show_nameserver/nameserver_cos (nameserver-cos-type) If this variable is read-only (config: false) in the source YANG file, then _set_nameser...
[ "def", "_set_nameserver_cos", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for nameserver_cos, mapped from YANG variable /brocade_nameserver_rpc/get_nameserver_detail/output/show_nameserver/nameserver_cos (nameserver-cos-type) If this variable is read-only (config: false) in the source YANG file, then _set_nameserver_cos is considered as a private method. Backends lo...
[ "Setter", "method", "for", "nameserver_cos", "mapped", "from", "YANG", "variable", "/", "brocade_nameserver_rpc", "/", "get_nameserver_detail", "/", "output", "/", "show_nameserver", "/", "nameserver_cos", "(", "nameserver", "-", "cos", "-", "type", ")", "If", "th...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_nameserver_rpc/get_nameserver_detail/output/show_nameserver/__init__.py#L586-L610
train
Set the nameserver - cos for the given nameserver - cos
StackStorm/pybind
pybind/nos/v6_0_2f/brocade_interface_ext_rpc/__init__.py
brocade_interface_ext._set_get_ip_interface
def _set_get_ip_interface(self, v, load=False): """ Setter method for get_ip_interface, mapped from YANG variable /brocade_interface_ext_rpc/get_ip_interface (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_get_ip_interface is considered as a private method. Bac...
python
def _set_get_ip_interface(self, v, load=False): """ Setter method for get_ip_interface, mapped from YANG variable /brocade_interface_ext_rpc/get_ip_interface (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_get_ip_interface is considered as a private method. Bac...
[ "def", "_set_get_ip_interface", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for get_ip_interface, mapped from YANG variable /brocade_interface_ext_rpc/get_ip_interface (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_get_ip_interface is considered as a private method. Backends looking to populate this variable should do so via...
[ "Setter", "method", "for", "get_ip_interface", "mapped", "from", "YANG", "variable", "/", "brocade_interface_ext_rpc", "/", "get_ip_interface", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the",...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_interface_ext_rpc/__init__.py#L224-L250
train
Sets the variable get_ip_interface
StackStorm/pybind
pybind/nos/v6_0_2f/brocade_interface_ext_rpc/__init__.py
brocade_interface_ext._set_get_media_detail
def _set_get_media_detail(self, v, load=False): """ Setter method for get_media_detail, mapped from YANG variable /brocade_interface_ext_rpc/get_media_detail (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_get_media_detail is considered as a private method. Bac...
python
def _set_get_media_detail(self, v, load=False): """ Setter method for get_media_detail, mapped from YANG variable /brocade_interface_ext_rpc/get_media_detail (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_get_media_detail is considered as a private method. Bac...
[ "def", "_set_get_media_detail", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for get_media_detail, mapped from YANG variable /brocade_interface_ext_rpc/get_media_detail (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_get_media_detail is considered as a private method. Backends looking to populate this variable should do so via...
[ "Setter", "method", "for", "get_media_detail", "mapped", "from", "YANG", "variable", "/", "brocade_interface_ext_rpc", "/", "get_media_detail", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the",...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_interface_ext_rpc/__init__.py#L310-L334
train
Sets the get_media_detail variable in the managed entity.
StackStorm/pybind
pybind/nos/v6_0_2f/rbridge_id/ag/nport_menu/__init__.py
nport_menu._set_nport_interface
def _set_nport_interface(self, v, load=False): """ Setter method for nport_interface, mapped from YANG variable /rbridge_id/ag/nport_menu/nport_interface (container) If this variable is read-only (config: false) in the source YANG file, then _set_nport_interface is considered as a private method. Ba...
python
def _set_nport_interface(self, v, load=False): """ Setter method for nport_interface, mapped from YANG variable /rbridge_id/ag/nport_menu/nport_interface (container) If this variable is read-only (config: false) in the source YANG file, then _set_nport_interface is considered as a private method. Ba...
[ "def", "_set_nport_interface", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for nport_interface, mapped from YANG variable /rbridge_id/ag/nport_menu/nport_interface (container) If this variable is read-only (config: false) in the source YANG file, then _set_nport_interface is considered as a private method. Backends looking to populate this variable should do so v...
[ "Setter", "method", "for", "nport_interface", "mapped", "from", "YANG", "variable", "/", "rbridge_id", "/", "ag", "/", "nport_menu", "/", "nport_interface", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "fals...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/ag/nport_menu/__init__.py#L92-L113
train
Sets the nport interface for the
StackStorm/pybind
pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/policy/__init__.py
policy._set_global_auto_bandwidth
def _set_global_auto_bandwidth(self, v, load=False): """ Setter method for global_auto_bandwidth, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/policy/global_auto_bandwidth (container) If this variable is read-only (config: false) in the source YANG file, then _set_global_auto_band...
python
def _set_global_auto_bandwidth(self, v, load=False): """ Setter method for global_auto_bandwidth, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/policy/global_auto_bandwidth (container) If this variable is read-only (config: false) in the source YANG file, then _set_global_auto_band...
[ "def", "_set_global_auto_bandwidth", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ...
Setter method for global_auto_bandwidth, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/policy/global_auto_bandwidth (container) If this variable is read-only (config: false) in the source YANG file, then _set_global_auto_bandwidth is considered as a private method. Backends looking to ...
[ "Setter", "method", "for", "global_auto_bandwidth", "mapped", "from", "YANG", "variable", "/", "mpls_config", "/", "router", "/", "mpls", "/", "mpls_cmds_holder", "/", "policy", "/", "global_auto_bandwidth", "(", "container", ")", "If", "this", "variable", "is", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/policy/__init__.py#L580-L601
train
Sets global auto - bandwidth for the cluster.
StackStorm/pybind
pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/interface_dynamic_bypass/mpls_interface_dynamic_bypass_sub_cmds/__init__.py
mpls_interface_dynamic_bypass_sub_cmds._set_interface_dynamic_bypass_primary_path
def _set_interface_dynamic_bypass_primary_path(self, v, load=False): """ Setter method for interface_dynamic_bypass_primary_path, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/interface_dynamic_bypass/mpls_interface_dynamic_bypass_sub_cmds/interface_dynamic_bypass_primary_pa...
python
def _set_interface_dynamic_bypass_primary_path(self, v, load=False): """ Setter method for interface_dynamic_bypass_primary_path, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/interface_dynamic_bypass/mpls_interface_dynamic_bypass_sub_cmds/interface_dynamic_bypass_primary_pa...
[ "def", "_set_interface_dynamic_bypass_primary_path", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", ...
Setter method for interface_dynamic_bypass_primary_path, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/interface_dynamic_bypass/mpls_interface_dynamic_bypass_sub_cmds/interface_dynamic_bypass_primary_path (string) If this variable is read-only (config: false) in the source Y...
[ "Setter", "method", "for", "interface_dynamic_bypass_primary_path", "mapped", "from", "YANG", "variable", "/", "mpls_config", "/", "router", "/", "mpls", "/", "mpls_cmds_holder", "/", "mpls_interface", "/", "interface_dynamic_bypass", "/", "mpls_interface_dynamic_bypass_sub...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/interface_dynamic_bypass/mpls_interface_dynamic_bypass_sub_cmds/__init__.py#L506-L527
train
Sets the primary path of the orphan tree.
StackStorm/pybind
pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/interface_dynamic_bypass/mpls_interface_dynamic_bypass_sub_cmds/__init__.py
mpls_interface_dynamic_bypass_sub_cmds._set_interface_dynamic_bypass_name_prefix
def _set_interface_dynamic_bypass_name_prefix(self, v, load=False): """ Setter method for interface_dynamic_bypass_name_prefix, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/interface_dynamic_bypass/mpls_interface_dynamic_bypass_sub_cmds/interface_dynamic_bypass_name_prefix ...
python
def _set_interface_dynamic_bypass_name_prefix(self, v, load=False): """ Setter method for interface_dynamic_bypass_name_prefix, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/interface_dynamic_bypass/mpls_interface_dynamic_bypass_sub_cmds/interface_dynamic_bypass_name_prefix ...
[ "def", "_set_interface_dynamic_bypass_name_prefix", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", ...
Setter method for interface_dynamic_bypass_name_prefix, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/interface_dynamic_bypass/mpls_interface_dynamic_bypass_sub_cmds/interface_dynamic_bypass_name_prefix (string) If this variable is read-only (config: false) in the source YAN...
[ "Setter", "method", "for", "interface_dynamic_bypass_name_prefix", "mapped", "from", "YANG", "variable", "/", "mpls_config", "/", "router", "/", "mpls", "/", "mpls_cmds_holder", "/", "mpls_interface", "/", "interface_dynamic_bypass", "/", "mpls_interface_dynamic_bypass_sub_...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/interface_dynamic_bypass/mpls_interface_dynamic_bypass_sub_cmds/__init__.py#L539-L560
train
Sets the name - prefix of the node.
StackStorm/pybind
pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/interface_dynamic_bypass/mpls_interface_dynamic_bypass_sub_cmds/__init__.py
mpls_interface_dynamic_bypass_sub_cmds._set_traffic_eng
def _set_traffic_eng(self, v, load=False): """ Setter method for traffic_eng, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/interface_dynamic_bypass/mpls_interface_dynamic_bypass_sub_cmds/traffic_eng (container) If this variable is read-only (config: false) in the so...
python
def _set_traffic_eng(self, v, load=False): """ Setter method for traffic_eng, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/interface_dynamic_bypass/mpls_interface_dynamic_bypass_sub_cmds/traffic_eng (container) If this variable is read-only (config: false) in the so...
[ "def", "_set_traffic_eng", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "ba...
Setter method for traffic_eng, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/interface_dynamic_bypass/mpls_interface_dynamic_bypass_sub_cmds/traffic_eng (container) If this variable is read-only (config: false) in the source YANG file, then _set_traffic_eng is considered as ...
[ "Setter", "method", "for", "traffic_eng", "mapped", "from", "YANG", "variable", "/", "mpls_config", "/", "router", "/", "mpls", "/", "mpls_cmds_holder", "/", "mpls_interface", "/", "interface_dynamic_bypass", "/", "mpls_interface_dynamic_bypass_sub_cmds", "/", "traffic_...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/interface_dynamic_bypass/mpls_interface_dynamic_bypass_sub_cmds/__init__.py#L671-L692
train
Sets the value of traffic_eng in the MPLS file.
APSL/django-kaio
kaio/mixins/logs.py
LogsMixin.EXTRA_LOGGING
def EXTRA_LOGGING(self): """ lista modulos con los distintos niveles a logear y su nivel de debug Por ejemplo: [Logs] EXTRA_LOGGING = oscar.paypal:DEBUG, django.db:INFO """ input_text = get('EXTRA_LOGGING', '') modules = input_text.spli...
python
def EXTRA_LOGGING(self): """ lista modulos con los distintos niveles a logear y su nivel de debug Por ejemplo: [Logs] EXTRA_LOGGING = oscar.paypal:DEBUG, django.db:INFO """ input_text = get('EXTRA_LOGGING', '') modules = input_text.spli...
[ "def", "EXTRA_LOGGING", "(", "self", ")", ":", "input_text", "=", "get", "(", "'EXTRA_LOGGING'", ",", "''", ")", "modules", "=", "input_text", ".", "split", "(", "','", ")", "if", "input_text", ":", "modules", "=", "input_text", ".", "split", "(", "','",...
lista modulos con los distintos niveles a logear y su nivel de debug Por ejemplo: [Logs] EXTRA_LOGGING = oscar.paypal:DEBUG, django.db:INFO
[ "lista", "modulos", "con", "los", "distintos", "niveles", "a", "logear", "y", "su", "nivel", "de", "debug" ]
b74b109bcfba31d973723bc419e2c95d190b80b7
https://github.com/APSL/django-kaio/blob/b74b109bcfba31d973723bc419e2c95d190b80b7/kaio/mixins/logs.py#L26-L45
train
Get the list of modules that are used in EXTRA_LOGGING.
StackStorm/pybind
pybind/nos/v6_0_2f/rbridge_id/route_map/content/set_/ip/__init__.py
ip._set_dscp
def _set_dscp(self, v, load=False): """ Setter method for dscp, mapped from YANG variable /rbridge_id/route_map/content/set/ip/dscp (container) If this variable is read-only (config: false) in the source YANG file, then _set_dscp is considered as a private method. Backends looking to populate this v...
python
def _set_dscp(self, v, load=False): """ Setter method for dscp, mapped from YANG variable /rbridge_id/route_map/content/set/ip/dscp (container) If this variable is read-only (config: false) in the source YANG file, then _set_dscp is considered as a private method. Backends looking to populate this v...
[ "def", "_set_dscp", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base", ...
Setter method for dscp, mapped from YANG variable /rbridge_id/route_map/content/set/ip/dscp (container) If this variable is read-only (config: false) in the source YANG file, then _set_dscp is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._se...
[ "Setter", "method", "for", "dscp", "mapped", "from", "YANG", "variable", "/", "rbridge_id", "/", "route_map", "/", "content", "/", "set", "/", "ip", "/", "dscp", "(", "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/set_/ip/__init__.py#L106-L129
train
Sets the Dscp property of the .
StackStorm/pybind
pybind/nos/v6_0_2f/brocade_mac_address_table_rpc/__init__.py
brocade_mac_address_table._set_get_mac_address_table
def _set_get_mac_address_table(self, v, load=False): """ Setter method for get_mac_address_table, mapped from YANG variable /brocade_mac_address_table_rpc/get_mac_address_table (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_get_mac_address_table is considered as a...
python
def _set_get_mac_address_table(self, v, load=False): """ Setter method for get_mac_address_table, mapped from YANG variable /brocade_mac_address_table_rpc/get_mac_address_table (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_get_mac_address_table is considered as a...
[ "def", "_set_get_mac_address_table", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ...
Setter method for get_mac_address_table, mapped from YANG variable /brocade_mac_address_table_rpc/get_mac_address_table (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_get_mac_address_table is considered as a private method. Backends looking to populate this variable s...
[ "Setter", "method", "for", "get_mac_address_table", "mapped", "from", "YANG", "variable", "/", "brocade_mac_address_table_rpc", "/", "get_mac_address_table", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_mac_address_table_rpc/__init__.py#L110-L147
train
This method is used to set the value of get_mac_address_table in the virtual network.
StackStorm/pybind
pybind/nos/v7_2_0/vcs/__init__.py
vcs._set_virtual_fabric
def _set_virtual_fabric(self, v, load=False): """ Setter method for virtual_fabric, mapped from YANG variable /vcs/virtual_fabric (container) If this variable is read-only (config: false) in the source YANG file, then _set_virtual_fabric is considered as a private method. Backends looking to populat...
python
def _set_virtual_fabric(self, v, load=False): """ Setter method for virtual_fabric, mapped from YANG variable /vcs/virtual_fabric (container) If this variable is read-only (config: false) in the source YANG file, then _set_virtual_fabric is considered as a private method. Backends looking to populat...
[ "def", "_set_virtual_fabric", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for virtual_fabric, mapped from YANG variable /vcs/virtual_fabric (container) If this variable is read-only (config: false) in the source YANG file, then _set_virtual_fabric is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_...
[ "Setter", "method", "for", "virtual_fabric", "mapped", "from", "YANG", "variable", "/", "vcs", "/", "virtual_fabric", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", "YANG...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/vcs/__init__.py#L131-L154
train
Sets the value of virtual_fabric in the virtual tree.
StackStorm/pybind
pybind/nos/v7_2_0/vcs/__init__.py
vcs._set_auto_config_backup
def _set_auto_config_backup(self, v, load=False): """ Setter method for auto_config_backup, mapped from YANG variable /vcs/auto_config_backup (container) If this variable is read-only (config: false) in the source YANG file, then _set_auto_config_backup is considered as a private method. Backends lo...
python
def _set_auto_config_backup(self, v, load=False): """ Setter method for auto_config_backup, mapped from YANG variable /vcs/auto_config_backup (container) If this variable is read-only (config: false) in the source YANG file, then _set_auto_config_backup is considered as a private method. Backends lo...
[ "def", "_set_auto_config_backup", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ","...
Setter method for auto_config_backup, mapped from YANG variable /vcs/auto_config_backup (container) If this variable is read-only (config: false) in the source YANG file, then _set_auto_config_backup is considered as a private method. Backends looking to populate this variable should do so via calling t...
[ "Setter", "method", "for", "auto_config_backup", "mapped", "from", "YANG", "variable", "/", "vcs", "/", "auto_config_backup", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source",...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/vcs/__init__.py#L168-L191
train
Sets auto - config backup for the
nepalicalendar/nepalicalendar-py
nepalicalendar/nepdate.py
NepDate.from_ad_date
def from_ad_date(cls, date): """ Gets a NepDate object from gregorian calendar date """ functions.check_valid_ad_range(date) days = values.START_EN_DATE - date # Add the required number of days to the start nepali date start_date = NepDate(values.START_NP_YEAR, 1, 1) # N...
python
def from_ad_date(cls, date): """ Gets a NepDate object from gregorian calendar date """ functions.check_valid_ad_range(date) days = values.START_EN_DATE - date # Add the required number of days to the start nepali date start_date = NepDate(values.START_NP_YEAR, 1, 1) # N...
[ "def", "from_ad_date", "(", "cls", ",", "date", ")", ":", "functions", ".", "check_valid_ad_range", "(", "date", ")", "days", "=", "values", ".", "START_EN_DATE", "-", "date", "# Add the required number of days to the start nepali date", "start_date", "=", "NepDate", ...
Gets a NepDate object from gregorian calendar date
[ "Gets", "a", "NepDate", "object", "from", "gregorian", "calendar", "date" ]
a589c28b8e085049f30a7287753476b59eca6f50
https://github.com/nepalicalendar/nepalicalendar-py/blob/a589c28b8e085049f30a7287753476b59eca6f50/nepalicalendar/nepdate.py#L207-L215
train
Gets a NepDate object from a gregorian calendar date
nepalicalendar/nepalicalendar-py
nepalicalendar/nepdate.py
NepDate.from_bs_date
def from_bs_date(cls, year, month, day): """ Create and update an NepDate object for bikram sambat date """ return NepDate(year, month, day).update()
python
def from_bs_date(cls, year, month, day): """ Create and update an NepDate object for bikram sambat date """ return NepDate(year, month, day).update()
[ "def", "from_bs_date", "(", "cls", ",", "year", ",", "month", ",", "day", ")", ":", "return", "NepDate", "(", "year", ",", "month", ",", "day", ")", ".", "update", "(", ")" ]
Create and update an NepDate object for bikram sambat date
[ "Create", "and", "update", "an", "NepDate", "object", "for", "bikram", "sambat", "date" ]
a589c28b8e085049f30a7287753476b59eca6f50
https://github.com/nepalicalendar/nepalicalendar-py/blob/a589c28b8e085049f30a7287753476b59eca6f50/nepalicalendar/nepdate.py#L218-L220
train
Create and update an NepDate object for bikram sambat date
nepalicalendar/nepalicalendar-py
nepalicalendar/nepdate.py
NepDate.events_list
def events_list(self): """ Returns the events today """ evt = [] evt.extend(events.NEPALI_EVENTS[self.month, self.day]) evt.extend(events.ENGLISH_EVENTS[self.en_date.month, self.en_date.day]) return evt
python
def events_list(self): """ Returns the events today """ evt = [] evt.extend(events.NEPALI_EVENTS[self.month, self.day]) evt.extend(events.ENGLISH_EVENTS[self.en_date.month, self.en_date.day]) return evt
[ "def", "events_list", "(", "self", ")", ":", "evt", "=", "[", "]", "evt", ".", "extend", "(", "events", ".", "NEPALI_EVENTS", "[", "self", ".", "month", ",", "self", ".", "day", "]", ")", "evt", ".", "extend", "(", "events", ".", "ENGLISH_EVENTS", ...
Returns the events today
[ "Returns", "the", "events", "today" ]
a589c28b8e085049f30a7287753476b59eca6f50
https://github.com/nepalicalendar/nepalicalendar-py/blob/a589c28b8e085049f30a7287753476b59eca6f50/nepalicalendar/nepdate.py#L269-L274
train
Returns the events today
nepalicalendar/nepalicalendar-py
nepalicalendar/nepdate.py
NepDate.update
def update(self): """ Updates information about the NepDate """ functions.check_valid_bs_range(self) # Here's a trick to find the gregorian date: # We find the number of days from earliest nepali date to the current # day. We then add the number of days to the earliest english da...
python
def update(self): """ Updates information about the NepDate """ functions.check_valid_bs_range(self) # Here's a trick to find the gregorian date: # We find the number of days from earliest nepali date to the current # day. We then add the number of days to the earliest english da...
[ "def", "update", "(", "self", ")", ":", "functions", ".", "check_valid_bs_range", "(", "self", ")", "# Here's a trick to find the gregorian date:", "# We find the number of days from earliest nepali date to the current", "# day. We then add the number of days to the earliest english date...
Updates information about the NepDate
[ "Updates", "information", "about", "the", "NepDate" ]
a589c28b8e085049f30a7287753476b59eca6f50
https://github.com/nepalicalendar/nepalicalendar-py/blob/a589c28b8e085049f30a7287753476b59eca6f50/nepalicalendar/nepdate.py#L291-L305
train
Updates the NepDate object with the information about the current NepDate object.
StackStorm/pybind
pybind/nos/v7_2_0/isns/isns_vrf/__init__.py
isns_vrf._set_isns_vrf_instance
def _set_isns_vrf_instance(self, v, load=False): """ Setter method for isns_vrf_instance, mapped from YANG variable /isns/isns_vrf/isns_vrf_instance (isns-vrf-type) If this variable is read-only (config: false) in the source YANG file, then _set_isns_vrf_instance is considered as a private method. B...
python
def _set_isns_vrf_instance(self, v, load=False): """ Setter method for isns_vrf_instance, mapped from YANG variable /isns/isns_vrf/isns_vrf_instance (isns-vrf-type) If this variable is read-only (config: false) in the source YANG file, then _set_isns_vrf_instance is considered as a private method. B...
[ "def", "_set_isns_vrf_instance", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "parent", "=", "getattr", "(", "self", ",", "\"_parent\"", ",", "None", ")", "if", "parent", "is", "not", "None", "and", "load", "is", "False", ":", "raise", ...
Setter method for isns_vrf_instance, mapped from YANG variable /isns/isns_vrf/isns_vrf_instance (isns-vrf-type) If this variable is read-only (config: false) in the source YANG file, then _set_isns_vrf_instance is considered as a private method. Backends looking to populate this variable should do so vi...
[ "Setter", "method", "for", "isns_vrf_instance", "mapped", "from", "YANG", "variable", "/", "isns", "/", "isns_vrf", "/", "isns_vrf_instance", "(", "isns", "-", "vrf", "-", "type", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":"...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/isns/isns_vrf/__init__.py#L101-L129
train
Sets the value of isns_vrf_instance in the base node of the iSNS vrf.
StackStorm/pybind
pybind/nos/v7_2_0/isns/isns_vrf/__init__.py
isns_vrf._set_isns_ipaddress
def _set_isns_ipaddress(self, v, load=False): """ Setter method for isns_ipaddress, mapped from YANG variable /isns/isns_vrf/isns_ipaddress (inet:ip-address) If this variable is read-only (config: false) in the source YANG file, then _set_isns_ipaddress is considered as a private method. Backends lo...
python
def _set_isns_ipaddress(self, v, load=False): """ Setter method for isns_ipaddress, mapped from YANG variable /isns/isns_vrf/isns_ipaddress (inet:ip-address) If this variable is read-only (config: false) in the source YANG file, then _set_isns_ipaddress is considered as a private method. Backends lo...
[ "def", "_set_isns_ipaddress", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for isns_ipaddress, mapped from YANG variable /isns/isns_vrf/isns_ipaddress (inet:ip-address) If this variable is read-only (config: false) in the source YANG file, then _set_isns_ipaddress is considered as a private method. Backends looking to populate this variable should do so via calli...
[ "Setter", "method", "for", "isns_ipaddress", "mapped", "from", "YANG", "variable", "/", "isns", "/", "isns_vrf", "/", "isns_ipaddress", "(", "inet", ":", "ip", "-", "address", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/isns/isns_vrf/__init__.py#L143-L166
train
Sets the IP address of the isns vrf.
StackStorm/pybind
pybind/nos/v7_2_0/isns/isns_vrf/__init__.py
isns_vrf._set_esi_timeout
def _set_esi_timeout(self, v, load=False): """ Setter method for esi_timeout, mapped from YANG variable /isns/isns_vrf/esi_timeout (esi-time) If this variable is read-only (config: false) in the source YANG file, then _set_esi_timeout is considered as a private method. Backends looking to populate t...
python
def _set_esi_timeout(self, v, load=False): """ Setter method for esi_timeout, mapped from YANG variable /isns/isns_vrf/esi_timeout (esi-time) If this variable is read-only (config: false) in the source YANG file, then _set_esi_timeout is considered as a private method. Backends looking to populate t...
[ "def", "_set_esi_timeout", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "ba...
Setter method for esi_timeout, mapped from YANG variable /isns/isns_vrf/esi_timeout (esi-time) If this variable is read-only (config: false) in the source YANG file, then _set_esi_timeout is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_...
[ "Setter", "method", "for", "esi_timeout", "mapped", "from", "YANG", "variable", "/", "isns", "/", "isns_vrf", "/", "esi_timeout", "(", "esi", "-", "time", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/isns/isns_vrf/__init__.py#L180-L203
train
Set the esi timeout for the cluster.
StackStorm/pybind
pybind/nos/v7_2_0/isns/isns_vrf/__init__.py
isns_vrf._set_isns_discovery_domain
def _set_isns_discovery_domain(self, v, load=False): """ Setter method for isns_discovery_domain, mapped from YANG variable /isns/isns_vrf/isns_discovery_domain (list) If this variable is read-only (config: false) in the source YANG file, then _set_isns_discovery_domain is considered as a private me...
python
def _set_isns_discovery_domain(self, v, load=False): """ Setter method for isns_discovery_domain, mapped from YANG variable /isns/isns_vrf/isns_discovery_domain (list) If this variable is read-only (config: false) in the source YANG file, then _set_isns_discovery_domain is considered as a private me...
[ "def", "_set_isns_discovery_domain", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ...
Setter method for isns_discovery_domain, mapped from YANG variable /isns/isns_vrf/isns_discovery_domain (list) If this variable is read-only (config: false) in the source YANG file, then _set_isns_discovery_domain is considered as a private method. Backends looking to populate this variable should do so...
[ "Setter", "method", "for", "isns_discovery_domain", "mapped", "from", "YANG", "variable", "/", "isns", "/", "isns_vrf", "/", "isns_discovery_domain", "(", "list", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/isns/isns_vrf/__init__.py#L217-L240
train
Sets the isns - discovery - domain of the isns vrf
StackStorm/pybind
pybind/nos/v7_2_0/isns/isns_vrf/__init__.py
isns_vrf._set_isns_discovery_domain_set
def _set_isns_discovery_domain_set(self, v, load=False): """ Setter method for isns_discovery_domain_set, mapped from YANG variable /isns/isns_vrf/isns_discovery_domain_set (list) If this variable is read-only (config: false) in the source YANG file, then _set_isns_discovery_domain_set is considered as ...
python
def _set_isns_discovery_domain_set(self, v, load=False): """ Setter method for isns_discovery_domain_set, mapped from YANG variable /isns/isns_vrf/isns_discovery_domain_set (list) If this variable is read-only (config: false) in the source YANG file, then _set_isns_discovery_domain_set is considered as ...
[ "def", "_set_isns_discovery_domain_set", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v"...
Setter method for isns_discovery_domain_set, mapped from YANG variable /isns/isns_vrf/isns_discovery_domain_set (list) If this variable is read-only (config: false) in the source YANG file, then _set_isns_discovery_domain_set is considered as a private method. Backends looking to populate this variable shou...
[ "Setter", "method", "for", "isns_discovery_domain_set", "mapped", "from", "YANG", "variable", "/", "isns", "/", "isns_vrf", "/", "isns_discovery_domain_set", "(", "list", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/isns/isns_vrf/__init__.py#L254-L277
train
Sets the isns - discovery - domain - set of the isns - vrf
StackStorm/pybind
pybind/slxos/v17s_1_02/mpls_state/ldp/ldp_session/session_ldp_stats/__init__.py
session_ldp_stats._set_ldp_protocol_errors_instance_total
def _set_ldp_protocol_errors_instance_total(self, v, load=False): """ Setter method for ldp_protocol_errors_instance_total, mapped from YANG variable /mpls_state/ldp/ldp_session/session_ldp_stats/ldp_protocol_errors_instance_total (container) If this variable is read-only (config: false) in the source Y...
python
def _set_ldp_protocol_errors_instance_total(self, v, load=False): """ Setter method for ldp_protocol_errors_instance_total, mapped from YANG variable /mpls_state/ldp/ldp_session/session_ldp_stats/ldp_protocol_errors_instance_total (container) If this variable is read-only (config: false) in the source Y...
[ "def", "_set_ldp_protocol_errors_instance_total", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "...
Setter method for ldp_protocol_errors_instance_total, mapped from YANG variable /mpls_state/ldp/ldp_session/session_ldp_stats/ldp_protocol_errors_instance_total (container) If this variable is read-only (config: false) in the source YANG file, then _set_ldp_protocol_errors_instance_total is considered as a priv...
[ "Setter", "method", "for", "ldp_protocol_errors_instance_total", "mapped", "from", "YANG", "variable", "/", "mpls_state", "/", "ldp", "/", "ldp_session", "/", "session_ldp_stats", "/", "ldp_protocol_errors_instance_total", "(", "container", ")", "If", "this", "variable"...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_state/ldp/ldp_session/session_ldp_stats/__init__.py#L96-L117
train
Sets the ldp protocol errors total for the current session.
BD2KGenomics/protect
attic/precision_immuno.py
spawn_radia
def spawn_radia(job, rna_bam, tumor_bam, normal_bam, univ_options, radia_options): """ This module will spawn a radia job for each chromosome, on the RNA and DNA. ARGUMENTS 1. rna_bam: Dict of input STAR bams rna_bam |- 'rnaAligned.sortedByCoord.out.bam': REFER run_star() ...
python
def spawn_radia(job, rna_bam, tumor_bam, normal_bam, univ_options, radia_options): """ This module will spawn a radia job for each chromosome, on the RNA and DNA. ARGUMENTS 1. rna_bam: Dict of input STAR bams rna_bam |- 'rnaAligned.sortedByCoord.out.bam': REFER run_star() ...
[ "def", "spawn_radia", "(", "job", ",", "rna_bam", ",", "tumor_bam", ",", "normal_bam", ",", "univ_options", ",", "radia_options", ")", ":", "job", ".", "fileStore", ".", "logToMaster", "(", "'Running spawn_radia on %s'", "%", "univ_options", "[", "'patient'", "]...
This module will spawn a radia job for each chromosome, on the RNA and DNA. ARGUMENTS 1. rna_bam: Dict of input STAR bams rna_bam |- 'rnaAligned.sortedByCoord.out.bam': REFER run_star() |- 'rna_fix_pg_sorted.bam': <JSid> +- '...
[ "This", "module", "will", "spawn", "a", "radia", "job", "for", "each", "chromosome", "on", "the", "RNA", "and", "DNA", ".", "ARGUMENTS", "1", ".", "rna_bam", ":", "Dict", "of", "input", "STAR", "bams", "rna_bam", "|", "-", "rnaAligned", ".", "sortedByCoo...
06310682c50dcf8917b912c8e551299ff7ee41ce
https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/attic/precision_immuno.py#L642-L693
train
This module spawns a radia job for each chromosome on the RNA and DNA bams.
BD2KGenomics/protect
attic/precision_immuno.py
spawn_mutect
def spawn_mutect(job, tumor_bam, normal_bam, univ_options, mutect_options): """ This module will spawn a mutect job for each chromosome on the DNA bams. ARGUMENTS 1. tumor_bam: Dict of input tumor WGS/WSQ bam + bai tumor_bam |- 'tumor_fix_pg_sorted.bam': <JSid> +- 't...
python
def spawn_mutect(job, tumor_bam, normal_bam, univ_options, mutect_options): """ This module will spawn a mutect job for each chromosome on the DNA bams. ARGUMENTS 1. tumor_bam: Dict of input tumor WGS/WSQ bam + bai tumor_bam |- 'tumor_fix_pg_sorted.bam': <JSid> +- 't...
[ "def", "spawn_mutect", "(", "job", ",", "tumor_bam", ",", "normal_bam", ",", "univ_options", ",", "mutect_options", ")", ":", "job", ".", "fileStore", ".", "logToMaster", "(", "'Running spawn_mutect on %s'", "%", "univ_options", "[", "'patient'", "]", ")", "# Ma...
This module will spawn a mutect job for each chromosome on the DNA bams. ARGUMENTS 1. tumor_bam: Dict of input tumor WGS/WSQ bam + bai tumor_bam |- 'tumor_fix_pg_sorted.bam': <JSid> +- 'tumor_fix_pg_sorted.bam.bai': <JSid> 2. normal_bam: Dict of input normal WGS/WSQ bam ...
[ "This", "module", "will", "spawn", "a", "mutect", "job", "for", "each", "chromosome", "on", "the", "DNA", "bams", ".", "ARGUMENTS", "1", ".", "tumor_bam", ":", "Dict", "of", "input", "tumor", "WGS", "/", "WSQ", "bam", "+", "bai", "tumor_bam", "|", "-",...
06310682c50dcf8917b912c8e551299ff7ee41ce
https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/attic/precision_immuno.py#L875-L918
train
This module spawns a mutect job for each chromosome on the DNA bams.
BD2KGenomics/protect
attic/precision_immuno.py
get_file_from_s3
def get_file_from_s3(job, s3_url, encryption_key=None, write_to_jobstore=True): """ Downloads a supplied URL that points to an unencrypted, unprotected file on Amazon S3. The file is downloaded and a subsequently written to the jobstore and the return value is a the path to the file in the jobstore. ...
python
def get_file_from_s3(job, s3_url, encryption_key=None, write_to_jobstore=True): """ Downloads a supplied URL that points to an unencrypted, unprotected file on Amazon S3. The file is downloaded and a subsequently written to the jobstore and the return value is a the path to the file in the jobstore. ...
[ "def", "get_file_from_s3", "(", "job", ",", "s3_url", ",", "encryption_key", "=", "None", ",", "write_to_jobstore", "=", "True", ")", ":", "work_dir", "=", "job", ".", "fileStore", ".", "getLocalTempDir", "(", ")", "filename", "=", "'/'", ".", "join", "(",...
Downloads a supplied URL that points to an unencrypted, unprotected file on Amazon S3. The file is downloaded and a subsequently written to the jobstore and the return value is a the path to the file in the jobstore.
[ "Downloads", "a", "supplied", "URL", "that", "points", "to", "an", "unencrypted", "unprotected", "file", "on", "Amazon", "S3", ".", "The", "file", "is", "downloaded", "and", "a", "subsequently", "written", "to", "the", "jobstore", "and", "the", "return", "va...
06310682c50dcf8917b912c8e551299ff7ee41ce
https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/attic/precision_immuno.py#L2159-L2191
train
Download a file from an Amazon S3 URL and return the path to it.
StackStorm/pybind
pybind/nos/v7_2_0/rbridge_id/evpn_instance/vni/__init__.py
vni._set_vni_add
def _set_vni_add(self, v, load=False): """ Setter method for vni_add, mapped from YANG variable /rbridge_id/evpn_instance/vni/vni_add (container) If this variable is read-only (config: false) in the source YANG file, then _set_vni_add is considered as a private method. Backends looking to populate t...
python
def _set_vni_add(self, v, load=False): """ Setter method for vni_add, mapped from YANG variable /rbridge_id/evpn_instance/vni/vni_add (container) If this variable is read-only (config: false) in the source YANG file, then _set_vni_add is considered as a private method. Backends looking to populate t...
[ "def", "_set_vni_add", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base",...
Setter method for vni_add, mapped from YANG variable /rbridge_id/evpn_instance/vni/vni_add (container) If this variable is read-only (config: false) in the source YANG file, then _set_vni_add is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._...
[ "Setter", "method", "for", "vni_add", "mapped", "from", "YANG", "variable", "/", "rbridge_id", "/", "evpn_instance", "/", "vni", "/", "vni_add", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/rbridge_id/evpn_instance/vni/__init__.py#L94-L115
train
Set the value of the VNI add in the EVPN Instance.
StackStorm/pybind
pybind/slxos/v17s_1_02/qos/cpu/slot/port_group/port/__init__.py
port._set_port_shaper
def _set_port_shaper(self, v, load=False): """ Setter method for port_shaper, mapped from YANG variable /qos/cpu/slot/port_group/port/port_shaper (container) If this variable is read-only (config: false) in the source YANG file, then _set_port_shaper is considered as a private method. Backends looki...
python
def _set_port_shaper(self, v, load=False): """ Setter method for port_shaper, mapped from YANG variable /qos/cpu/slot/port_group/port/port_shaper (container) If this variable is read-only (config: false) in the source YANG file, then _set_port_shaper is considered as a private method. Backends looki...
[ "def", "_set_port_shaper", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "ba...
Setter method for port_shaper, mapped from YANG variable /qos/cpu/slot/port_group/port/port_shaper (container) If this variable is read-only (config: false) in the source YANG file, then _set_port_shaper is considered as a private method. Backends looking to populate this variable should do so via calli...
[ "Setter", "method", "for", "port_shaper", "mapped", "from", "YANG", "variable", "/", "qos", "/", "cpu", "/", "slot", "/", "port_group", "/", "port", "/", "port_shaper", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "con...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/qos/cpu/slot/port_group/port/__init__.py#L92-L113
train
Sets the port - shaper variable for the
StackStorm/pybind
pybind/slxos/v17s_1_02/qos_mpls/map_/inexp_outexp/__init__.py
inexp_outexp._set_in_exp
def _set_in_exp(self, v, load=False): """ Setter method for in_exp, mapped from YANG variable /qos_mpls/map/inexp_outexp/in_exp (list) If this variable is read-only (config: false) in the source YANG file, then _set_in_exp is considered as a private method. Backends looking to populate this variable...
python
def _set_in_exp(self, v, load=False): """ Setter method for in_exp, mapped from YANG variable /qos_mpls/map/inexp_outexp/in_exp (list) If this variable is read-only (config: false) in the source YANG file, then _set_in_exp is considered as a private method. Backends looking to populate this variable...
[ "def", "_set_in_exp", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base", ...
Setter method for in_exp, mapped from YANG variable /qos_mpls/map/inexp_outexp/in_exp (list) If this variable is read-only (config: false) in the source YANG file, then _set_in_exp is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_in_exp(...
[ "Setter", "method", "for", "in_exp", "mapped", "from", "YANG", "variable", "/", "qos_mpls", "/", "map", "/", "inexp_outexp", "/", "in_exp", "(", "list", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/qos_mpls/map_/inexp_outexp/__init__.py#L131-L152
train
Sets the value of the in - exp field in the .
StackStorm/pybind
pybind/slxos/v17s_1_02/overlay_policy_map_state/__init__.py
overlay_policy_map_state._set_active_on
def _set_active_on(self, v, load=False): """ Setter method for active_on, mapped from YANG variable /overlay_policy_map_state/active_on (container) If this variable is read-only (config: false) in the source YANG file, then _set_active_on is considered as a private method. Backends looking to popula...
python
def _set_active_on(self, v, load=False): """ Setter method for active_on, mapped from YANG variable /overlay_policy_map_state/active_on (container) If this variable is read-only (config: false) in the source YANG file, then _set_active_on is considered as a private method. Backends looking to popula...
[ "def", "_set_active_on", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base...
Setter method for active_on, mapped from YANG variable /overlay_policy_map_state/active_on (container) If this variable is read-only (config: false) in the source YANG file, then _set_active_on is considered as a private method. Backends looking to populate this variable should do so via calling thisObj...
[ "Setter", "method", "for", "active_on", "mapped", "from", "YANG", "variable", "/", "overlay_policy_map_state", "/", "active_on", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "sourc...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay_policy_map_state/__init__.py#L141-L164
train
Sets the active_on property of the
StackStorm/pybind
pybind/slxos/v17s_1_02/mpls_state/rsvp/__init__.py
rsvp._set_igp_sync
def _set_igp_sync(self, v, load=False): """ Setter method for igp_sync, mapped from YANG variable /mpls_state/rsvp/igp_sync (container) If this variable is read-only (config: false) in the source YANG file, then _set_igp_sync is considered as a private method. Backends looking to populate this varia...
python
def _set_igp_sync(self, v, load=False): """ Setter method for igp_sync, mapped from YANG variable /mpls_state/rsvp/igp_sync (container) If this variable is read-only (config: false) in the source YANG file, then _set_igp_sync is considered as a private method. Backends looking to populate this varia...
[ "def", "_set_igp_sync", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base"...
Setter method for igp_sync, mapped from YANG variable /mpls_state/rsvp/igp_sync (container) If this variable is read-only (config: false) in the source YANG file, then _set_igp_sync is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._set_igp_sy...
[ "Setter", "method", "for", "igp_sync", "mapped", "from", "YANG", "variable", "/", "mpls_state", "/", "rsvp", "/", "igp_sync", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "sour...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_state/rsvp/__init__.py#L407-L430
train
Set the IGP Synchronization information for the IGP sequence.
StackStorm/pybind
pybind/slxos/v17r_1_01a/routing_system/route_map/content/set_/__init__.py
set_._set_extcommunity
def _set_extcommunity(self, v, load=False): """ Setter method for extcommunity, mapped from YANG variable /routing_system/route_map/content/set/extcommunity (container) If this variable is read-only (config: false) in the source YANG file, then _set_extcommunity is considered as a private method. Ba...
python
def _set_extcommunity(self, v, load=False): """ Setter method for extcommunity, mapped from YANG variable /routing_system/route_map/content/set/extcommunity (container) If this variable is read-only (config: false) in the source YANG file, then _set_extcommunity is considered as a private method. Ba...
[ "def", "_set_extcommunity", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "b...
Setter method for extcommunity, mapped from YANG variable /routing_system/route_map/content/set/extcommunity (container) If this variable is read-only (config: false) in the source YANG file, then _set_extcommunity is considered as a private method. Backends looking to populate this variable should do s...
[ "Setter", "method", "for", "extcommunity", "mapped", "from", "YANG", "variable", "/", "routing_system", "/", "route_map", "/", "content", "/", "set", "/", "extcommunity", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "confi...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/routing_system/route_map/content/set_/__init__.py#L235-L258
train
Set the value of the extcommunity property.
StackStorm/pybind
pybind/slxos/v17r_1_01a/routing_system/route_map/content/set_/__init__.py
set_._set_community
def _set_community(self, v, load=False): """ Setter method for community, mapped from YANG variable /routing_system/route_map/content/set/community (container) If this variable is read-only (config: false) in the source YANG file, then _set_community is considered as a private method. Backends looki...
python
def _set_community(self, v, load=False): """ Setter method for community, mapped from YANG variable /routing_system/route_map/content/set/community (container) If this variable is read-only (config: false) in the source YANG file, then _set_community is considered as a private method. Backends looki...
[ "def", "_set_community", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base...
Setter method for community, mapped from YANG variable /routing_system/route_map/content/set/community (container) If this variable is read-only (config: false) in the source YANG file, then _set_community is considered as a private method. Backends looking to populate this variable should do so via cal...
[ "Setter", "method", "for", "community", "mapped", "from", "YANG", "variable", "/", "routing_system", "/", "route_map", "/", "content", "/", "set", "/", "community", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/routing_system/route_map/content/set_/__init__.py#L270-L291
train
Set the community of the
StackStorm/pybind
pybind/slxos/v17r_1_01a/routing_system/route_map/content/set_/__init__.py
set_._set_weight
def _set_weight(self, v, load=False): """ Setter method for weight, mapped from YANG variable /routing_system/route_map/content/set/weight (container) If this variable is read-only (config: false) in the source YANG file, then _set_weight is considered as a private method. Backends looking to popula...
python
def _set_weight(self, v, load=False): """ Setter method for weight, mapped from YANG variable /routing_system/route_map/content/set/weight (container) If this variable is read-only (config: false) in the source YANG file, then _set_weight is considered as a private method. Backends looking to popula...
[ "def", "_set_weight", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base", ...
Setter method for weight, mapped from YANG variable /routing_system/route_map/content/set/weight (container) If this variable is read-only (config: false) in the source YANG file, then _set_weight is considered as a private method. Backends looking to populate this variable should do so via calling this...
[ "Setter", "method", "for", "weight", "mapped", "from", "YANG", "variable", "/", "routing_system", "/", "route_map", "/", "content", "/", "set", "/", "weight", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/routing_system/route_map/content/set_/__init__.py#L453-L476
train
Sets the weight of the BGP routing table.
StackStorm/pybind
pybind/slxos/v17r_1_01a/routing_system/route_map/content/set_/__init__.py
set_._set_automatic_tag
def _set_automatic_tag(self, v, load=False): """ Setter method for automatic_tag, mapped from YANG variable /routing_system/route_map/content/set/automatic_tag (container) If this variable is read-only (config: false) in the source YANG file, then _set_automatic_tag is considered as a private method...
python
def _set_automatic_tag(self, v, load=False): """ Setter method for automatic_tag, mapped from YANG variable /routing_system/route_map/content/set/automatic_tag (container) If this variable is read-only (config: false) in the source YANG file, then _set_automatic_tag is considered as a private method...
[ "def", "_set_automatic_tag", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "...
Setter method for automatic_tag, mapped from YANG variable /routing_system/route_map/content/set/automatic_tag (container) If this variable is read-only (config: false) in the source YANG file, then _set_automatic_tag is considered as a private method. Backends looking to populate this variable should d...
[ "Setter", "method", "for", "automatic_tag", "mapped", "from", "YANG", "variable", "/", "routing_system", "/", "route_map", "/", "content", "/", "set", "/", "automatic_tag", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "con...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/routing_system/route_map/content/set_/__init__.py#L527-L550
train
Sets the automatic tag of the node.
StackStorm/pybind
pybind/slxos/v17r_1_01a/routing_system/route_map/content/set_/__init__.py
set_._set_local_preference
def _set_local_preference(self, v, load=False): """ Setter method for local_preference, mapped from YANG variable /routing_system/route_map/content/set/local_preference (container) If this variable is read-only (config: false) in the source YANG file, then _set_local_preference is considered as a privat...
python
def _set_local_preference(self, v, load=False): """ Setter method for local_preference, mapped from YANG variable /routing_system/route_map/content/set/local_preference (container) If this variable is read-only (config: false) in the source YANG file, then _set_local_preference is considered as a privat...
[ "def", "_set_local_preference", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for local_preference, mapped from YANG variable /routing_system/route_map/content/set/local_preference (container) If this variable is read-only (config: false) in the source YANG file, then _set_local_preference is considered as a private method. Backends looking to populate this variable sho...
[ "Setter", "method", "for", "local_preference", "mapped", "from", "YANG", "variable", "/", "routing_system", "/", "route_map", "/", "content", "/", "set", "/", "local_preference", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/routing_system/route_map/content/set_/__init__.py#L638-L661
train
Sets the local preference of the
StackStorm/pybind
pybind/slxos/v17r_1_01a/routing_system/route_map/content/set_/__init__.py
set_._set_origin
def _set_origin(self, v, load=False): """ Setter method for origin, mapped from YANG variable /routing_system/route_map/content/set/origin (container) If this variable is read-only (config: false) in the source YANG file, then _set_origin is considered as a private method. Backends looking to popula...
python
def _set_origin(self, v, load=False): """ Setter method for origin, mapped from YANG variable /routing_system/route_map/content/set/origin (container) If this variable is read-only (config: false) in the source YANG file, then _set_origin is considered as a private method. Backends looking to popula...
[ "def", "_set_origin", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base", ...
Setter method for origin, mapped from YANG variable /routing_system/route_map/content/set/origin (container) If this variable is read-only (config: false) in the source YANG file, then _set_origin is considered as a private method. Backends looking to populate this variable should do so via calling this...
[ "Setter", "method", "for", "origin", "mapped", "from", "YANG", "variable", "/", "routing_system", "/", "route_map", "/", "content", "/", "set", "/", "origin", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/routing_system/route_map/content/set_/__init__.py#L675-L698
train
Sets the origin of the BGP origin list.
StackStorm/pybind
pybind/slxos/v17r_1_01a/routing_system/route_map/content/set_/__init__.py
set_._set_metric_type
def _set_metric_type(self, v, load=False): """ Setter method for metric_type, mapped from YANG variable /routing_system/route_map/content/set/metric_type (container) If this variable is read-only (config: false) in the source YANG file, then _set_metric_type is considered as a private method. Backen...
python
def _set_metric_type(self, v, load=False): """ Setter method for metric_type, mapped from YANG variable /routing_system/route_map/content/set/metric_type (container) If this variable is read-only (config: false) in the source YANG file, then _set_metric_type is considered as a private method. Backen...
[ "def", "_set_metric_type", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "ba...
Setter method for metric_type, mapped from YANG variable /routing_system/route_map/content/set/metric_type (container) If this variable is read-only (config: false) in the source YANG file, then _set_metric_type is considered as a private method. Backends looking to populate this variable should do so v...
[ "Setter", "method", "for", "metric_type", "mapped", "from", "YANG", "variable", "/", "routing_system", "/", "route_map", "/", "content", "/", "set", "/", "metric_type", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config"...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/routing_system/route_map/content/set_/__init__.py#L712-L735
train
Sets the metric type of the
StackStorm/pybind
pybind/slxos/v17s_1_02/routing_system/evpn_config/evpn/evpn_instance/bridge_domain/__init__.py
bridge_domain._set_bd_add
def _set_bd_add(self, v, load=False): """ Setter method for bd_add, mapped from YANG variable /routing_system/evpn_config/evpn/evpn_instance/bridge_domain/bd_add (container) If this variable is read-only (config: false) in the source YANG file, then _set_bd_add is considered as a private method. Bac...
python
def _set_bd_add(self, v, load=False): """ Setter method for bd_add, mapped from YANG variable /routing_system/evpn_config/evpn/evpn_instance/bridge_domain/bd_add (container) If this variable is read-only (config: false) in the source YANG file, then _set_bd_add is considered as a private method. Bac...
[ "def", "_set_bd_add", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base", ...
Setter method for bd_add, mapped from YANG variable /routing_system/evpn_config/evpn/evpn_instance/bridge_domain/bd_add (container) If this variable is read-only (config: false) in the source YANG file, then _set_bd_add is considered as a private method. Backends looking to populate this variable should ...
[ "Setter", "method", "for", "bd_add", "mapped", "from", "YANG", "variable", "/", "routing_system", "/", "evpn_config", "/", "evpn", "/", "evpn_instance", "/", "bridge_domain", "/", "bd_add", "(", "container", ")", "If", "this", "variable", "is", "read", "-", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/routing_system/evpn_config/evpn/evpn_instance/bridge_domain/__init__.py#L94-L115
train
Set the value of the BD_ADD variable.
StackStorm/pybind
pybind/slxos/v17s_1_02/routing_system/evpn_config/evpn/evpn_instance/bridge_domain/__init__.py
bridge_domain._set_evpn_bd
def _set_evpn_bd(self, v, load=False): """ Setter method for evpn_bd, mapped from YANG variable /routing_system/evpn_config/evpn/evpn_instance/bridge_domain/evpn_bd (list) If this variable is read-only (config: false) in the source YANG file, then _set_evpn_bd is considered as a private method. Back...
python
def _set_evpn_bd(self, v, load=False): """ Setter method for evpn_bd, mapped from YANG variable /routing_system/evpn_config/evpn/evpn_instance/bridge_domain/evpn_bd (list) If this variable is read-only (config: false) in the source YANG file, then _set_evpn_bd is considered as a private method. Back...
[ "def", "_set_evpn_bd", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base",...
Setter method for evpn_bd, mapped from YANG variable /routing_system/evpn_config/evpn/evpn_instance/bridge_domain/evpn_bd (list) If this variable is read-only (config: false) in the source YANG file, then _set_evpn_bd is considered as a private method. Backends looking to populate this variable should d...
[ "Setter", "method", "for", "evpn_bd", "mapped", "from", "YANG", "variable", "/", "routing_system", "/", "evpn_config", "/", "evpn", "/", "evpn_instance", "/", "bridge_domain", "/", "evpn_bd", "(", "list", ")", "If", "this", "variable", "is", "read", "-", "on...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/routing_system/evpn_config/evpn/evpn_instance/bridge_domain/__init__.py#L129-L152
train
Set the value of EVPN_BD in the EVPN bridge domain config.
StackStorm/pybind
pybind/nos/v6_0_2f/interface/port_channel/spanning_tree/__init__.py
spanning_tree._set_portfast
def _set_portfast(self, v, load=False): """ Setter method for portfast, mapped from YANG variable /interface/port_channel/spanning_tree/portfast (container) If this variable is read-only (config: false) in the source YANG file, then _set_portfast is considered as a private method. Backends looking t...
python
def _set_portfast(self, v, load=False): """ Setter method for portfast, mapped from YANG variable /interface/port_channel/spanning_tree/portfast (container) If this variable is read-only (config: false) in the source YANG file, then _set_portfast is considered as a private method. Backends looking t...
[ "def", "_set_portfast", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base"...
Setter method for portfast, mapped from YANG variable /interface/port_channel/spanning_tree/portfast (container) If this variable is read-only (config: false) in the source YANG file, then _set_portfast is considered as a private method. Backends looking to populate this variable should do so via callin...
[ "Setter", "method", "for", "portfast", "mapped", "from", "YANG", "variable", "/", "interface", "/", "port_channel", "/", "spanning_tree", "/", "portfast", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false"...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/port_channel/spanning_tree/__init__.py#L176-L197
train
Set the portfast property of the
StackStorm/pybind
pybind/nos/v6_0_2f/interface/port_channel/spanning_tree/__init__.py
spanning_tree._set_edgeport
def _set_edgeport(self, v, load=False): """ Setter method for edgeport, mapped from YANG variable /interface/port_channel/spanning_tree/edgeport (container) If this variable is read-only (config: false) in the source YANG file, then _set_edgeport is considered as a private method. Backends looking t...
python
def _set_edgeport(self, v, load=False): """ Setter method for edgeport, mapped from YANG variable /interface/port_channel/spanning_tree/edgeport (container) If this variable is read-only (config: false) in the source YANG file, then _set_edgeport is considered as a private method. Backends looking t...
[ "def", "_set_edgeport", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base"...
Setter method for edgeport, mapped from YANG variable /interface/port_channel/spanning_tree/edgeport (container) If this variable is read-only (config: false) in the source YANG file, then _set_edgeport is considered as a private method. Backends looking to populate this variable should do so via callin...
[ "Setter", "method", "for", "edgeport", "mapped", "from", "YANG", "variable", "/", "interface", "/", "port_channel", "/", "spanning_tree", "/", "edgeport", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false"...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/port_channel/spanning_tree/__init__.py#L209-L230
train
Set the edgeport of the candidate node.
StackStorm/pybind
pybind/nos/v6_0_2f/interface/port_channel/spanning_tree/__init__.py
spanning_tree._set_guard
def _set_guard(self, v, load=False): """ Setter method for guard, mapped from YANG variable /interface/port_channel/spanning_tree/guard (container) If this variable is read-only (config: false) in the source YANG file, then _set_guard is considered as a private method. Backends looking to populate t...
python
def _set_guard(self, v, load=False): """ Setter method for guard, mapped from YANG variable /interface/port_channel/spanning_tree/guard (container) If this variable is read-only (config: false) in the source YANG file, then _set_guard is considered as a private method. Backends looking to populate t...
[ "def", "_set_guard", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base", ...
Setter method for guard, mapped from YANG variable /interface/port_channel/spanning_tree/guard (container) If this variable is read-only (config: false) in the source YANG file, then _set_guard is considered as a private method. Backends looking to populate this variable should do so via calling thisObj...
[ "Setter", "method", "for", "guard", "mapped", "from", "YANG", "variable", "/", "interface", "/", "port_channel", "/", "spanning_tree", "/", "guard", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/port_channel/spanning_tree/__init__.py#L242-L263
train
Set the guard variable for the
StackStorm/pybind
pybind/nos/v6_0_2f/interface/port_channel/spanning_tree/__init__.py
spanning_tree._set_bpdu_mac
def _set_bpdu_mac(self, v, load=False): """ Setter method for bpdu_mac, mapped from YANG variable /interface/port_channel/spanning_tree/bpdu_mac (enumeration) If this variable is read-only (config: false) in the source YANG file, then _set_bpdu_mac is considered as a private method. Backends looking...
python
def _set_bpdu_mac(self, v, load=False): """ Setter method for bpdu_mac, mapped from YANG variable /interface/port_channel/spanning_tree/bpdu_mac (enumeration) If this variable is read-only (config: false) in the source YANG file, then _set_bpdu_mac is considered as a private method. Backends looking...
[ "def", "_set_bpdu_mac", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base"...
Setter method for bpdu_mac, mapped from YANG variable /interface/port_channel/spanning_tree/bpdu_mac (enumeration) If this variable is read-only (config: false) in the source YANG file, then _set_bpdu_mac is considered as a private method. Backends looking to populate this variable should do so via call...
[ "Setter", "method", "for", "bpdu_mac", "mapped", "from", "YANG", "variable", "/", "interface", "/", "port_channel", "/", "spanning_tree", "/", "bpdu_mac", "(", "enumeration", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "fals...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/port_channel/spanning_tree/__init__.py#L308-L329
train
Set the value of the BPDU_MAC variable.
StackStorm/pybind
pybind/nos/v6_0_2f/interface/port_channel/spanning_tree/__init__.py
spanning_tree._set_restricted_role
def _set_restricted_role(self, v, load=False): """ Setter method for restricted_role, mapped from YANG variable /interface/port_channel/spanning_tree/restricted_role (empty) If this variable is read-only (config: false) in the source YANG file, then _set_restricted_role is considered as a private me...
python
def _set_restricted_role(self, v, load=False): """ Setter method for restricted_role, mapped from YANG variable /interface/port_channel/spanning_tree/restricted_role (empty) If this variable is read-only (config: false) in the source YANG file, then _set_restricted_role is considered as a private me...
[ "def", "_set_restricted_role", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for restricted_role, mapped from YANG variable /interface/port_channel/spanning_tree/restricted_role (empty) If this variable is read-only (config: false) in the source YANG file, then _set_restricted_role is considered as a private method. Backends looking to populate this variable should ...
[ "Setter", "method", "for", "restricted_role", "mapped", "from", "YANG", "variable", "/", "interface", "/", "port_channel", "/", "spanning_tree", "/", "restricted_role", "(", "empty", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":",...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/port_channel/spanning_tree/__init__.py#L407-L428
train
Sets the restricted role of the node.
StackStorm/pybind
pybind/nos/v6_0_2f/interface/port_channel/spanning_tree/__init__.py
spanning_tree._set_instance
def _set_instance(self, v, load=False): """ Setter method for instance, mapped from YANG variable /interface/port_channel/spanning_tree/instance (list) If this variable is read-only (config: false) in the source YANG file, then _set_instance is considered as a private method. Backends looking to pop...
python
def _set_instance(self, v, load=False): """ Setter method for instance, mapped from YANG variable /interface/port_channel/spanning_tree/instance (list) If this variable is read-only (config: false) in the source YANG file, then _set_instance is considered as a private method. Backends looking to pop...
[ "def", "_set_instance", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base"...
Setter method for instance, mapped from YANG variable /interface/port_channel/spanning_tree/instance (list) If this variable is read-only (config: false) in the source YANG file, then _set_instance is considered as a private method. Backends looking to populate this variable should do so via calling thi...
[ "Setter", "method", "for", "instance", "mapped", "from", "YANG", "variable", "/", "interface", "/", "port_channel", "/", "spanning_tree", "/", "instance", "(", "list", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", "...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/port_channel/spanning_tree/__init__.py#L539-L560
train
Set the instance of the based on the list of ID values.
StackStorm/pybind
pybind/slxos/v17s_1_02/routing_system/ip/dhcp/relay/__init__.py
relay._set_information
def _set_information(self, v, load=False): """ Setter method for information, mapped from YANG variable /routing_system/ip/dhcp/relay/information (container) If this variable is read-only (config: false) in the source YANG file, then _set_information is considered as a private method. Backends looki...
python
def _set_information(self, v, load=False): """ Setter method for information, mapped from YANG variable /routing_system/ip/dhcp/relay/information (container) If this variable is read-only (config: false) in the source YANG file, then _set_information is considered as a private method. Backends looki...
[ "def", "_set_information", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "ba...
Setter method for information, mapped from YANG variable /routing_system/ip/dhcp/relay/information (container) If this variable is read-only (config: false) in the source YANG file, then _set_information is considered as a private method. Backends looking to populate this variable should do so via calli...
[ "Setter", "method", "for", "information", "mapped", "from", "YANG", "variable", "/", "routing_system", "/", "ip", "/", "dhcp", "/", "relay", "/", "information", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":",...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/routing_system/ip/dhcp/relay/__init__.py#L96-L119
train
Sets the information field of the .
StackStorm/pybind
pybind/slxos/v17s_1_02/ipv6/ipv6_global_cmds/nd_global/__init__.py
nd_global._set_dns_server_global
def _set_dns_server_global(self, v, load=False): """ Setter method for dns_server_global, mapped from YANG variable /ipv6/ipv6_global_cmds/nd_global/dns_server_global (list) If this variable is read-only (config: false) in the source YANG file, then _set_dns_server_global is considered as a private ...
python
def _set_dns_server_global(self, v, load=False): """ Setter method for dns_server_global, mapped from YANG variable /ipv6/ipv6_global_cmds/nd_global/dns_server_global (list) If this variable is read-only (config: false) in the source YANG file, then _set_dns_server_global is considered as a private ...
[ "def", "_set_dns_server_global", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",",...
Setter method for dns_server_global, mapped from YANG variable /ipv6/ipv6_global_cmds/nd_global/dns_server_global (list) If this variable is read-only (config: false) in the source YANG file, then _set_dns_server_global is considered as a private method. Backends looking to populate this variable should ...
[ "Setter", "method", "for", "dns_server_global", "mapped", "from", "YANG", "variable", "/", "ipv6", "/", "ipv6_global_cmds", "/", "nd_global", "/", "dns_server_global", "(", "list", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/ipv6/ipv6_global_cmds/nd_global/__init__.py#L163-L184
train
Sets dns server global values for the ND6 global list.
StackStorm/pybind
pybind/slxos/v17s_1_02/ipv6/ipv6_global_cmds/nd_global/__init__.py
nd_global._set_domain_name_global
def _set_domain_name_global(self, v, load=False): """ Setter method for domain_name_global, mapped from YANG variable /ipv6/ipv6_global_cmds/nd_global/domain_name_global (list) If this variable is read-only (config: false) in the source YANG file, then _set_domain_name_global is considered as a private ...
python
def _set_domain_name_global(self, v, load=False): """ Setter method for domain_name_global, mapped from YANG variable /ipv6/ipv6_global_cmds/nd_global/domain_name_global (list) If this variable is read-only (config: false) in the source YANG file, then _set_domain_name_global is considered as a private ...
[ "def", "_set_domain_name_global", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ","...
Setter method for domain_name_global, mapped from YANG variable /ipv6/ipv6_global_cmds/nd_global/domain_name_global (list) If this variable is read-only (config: false) in the source YANG file, then _set_domain_name_global is considered as a private method. Backends looking to populate this variable should ...
[ "Setter", "method", "for", "domain_name_global", "mapped", "from", "YANG", "variable", "/", "ipv6", "/", "ipv6_global_cmds", "/", "nd_global", "/", "domain_name_global", "(", "list", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":",...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/ipv6/ipv6_global_cmds/nd_global/__init__.py#L196-L217
train
Set global domain name option for ND6 ND - RA
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_show_mpls_te_path
def _set_show_mpls_te_path(self, v, load=False): """ Setter method for show_mpls_te_path, mapped from YANG variable /brocade_mpls_rpc/show_mpls_te_path (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_te_path is considered as a private method. Backends...
python
def _set_show_mpls_te_path(self, v, load=False): """ Setter method for show_mpls_te_path, mapped from YANG variable /brocade_mpls_rpc/show_mpls_te_path (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_te_path is considered as a private method. Backends...
[ "def", "_set_show_mpls_te_path", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",",...
Setter method for show_mpls_te_path, mapped from YANG variable /brocade_mpls_rpc/show_mpls_te_path (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_te_path is considered as a private method. Backends looking to populate this variable should do so via calli...
[ "Setter", "method", "for", "show_mpls_te_path", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "show_mpls_te_path", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "sou...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L294-L315
train
Set the show - mpls - te - path property.
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_show_mpls_ldp_targeted_peer_one
def _set_show_mpls_ldp_targeted_peer_one(self, v, load=False): """ Setter method for show_mpls_ldp_targeted_peer_one, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_targeted_peer_one (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_ldp_targeted_...
python
def _set_show_mpls_ldp_targeted_peer_one(self, v, load=False): """ Setter method for show_mpls_ldp_targeted_peer_one, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_targeted_peer_one (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_ldp_targeted_...
[ "def", "_set_show_mpls_ldp_targeted_peer_one", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(",...
Setter method for show_mpls_ldp_targeted_peer_one, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_targeted_peer_one (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_ldp_targeted_peer_one is considered as a private method. Backends looking to populat...
[ "Setter", "method", "for", "show_mpls_ldp_targeted_peer_one", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "show_mpls_ldp_targeted_peer_one", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L492-L513
train
Set the value of show_mpls_ldp_targeted_peer_one in the MPLs object.
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_show_mpls_ldp_peer_br
def _set_show_mpls_ldp_peer_br(self, v, load=False): """ Setter method for show_mpls_ldp_peer_br, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_peer_br (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_ldp_peer_br is considered as a private ...
python
def _set_show_mpls_ldp_peer_br(self, v, load=False): """ Setter method for show_mpls_ldp_peer_br, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_peer_br (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_ldp_peer_br is considered as a private ...
[ "def", "_set_show_mpls_ldp_peer_br", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ...
Setter method for show_mpls_ldp_peer_br, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_peer_br (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_ldp_peer_br is considered as a private method. Backends looking to populate this variable should do ...
[ "Setter", "method", "for", "show_mpls_ldp_peer_br", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "show_mpls_ldp_peer_br", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the"...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L822-L843
train
Set show - mpls - ldp - peer - br property.
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_show_mpls_interface_one_interface
def _set_show_mpls_interface_one_interface(self, v, load=False): """ Setter method for show_mpls_interface_one_interface, mapped from YANG variable /brocade_mpls_rpc/show_mpls_interface_one_interface (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_interfa...
python
def _set_show_mpls_interface_one_interface(self, v, load=False): """ Setter method for show_mpls_interface_one_interface, mapped from YANG variable /brocade_mpls_rpc/show_mpls_interface_one_interface (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_interfa...
[ "def", "_set_show_mpls_interface_one_interface", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(...
Setter method for show_mpls_interface_one_interface, mapped from YANG variable /brocade_mpls_rpc/show_mpls_interface_one_interface (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_interface_one_interface is considered as a private method. Backends looking to p...
[ "Setter", "method", "for", "show_mpls_interface_one_interface", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "show_mpls_interface_one_interface", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false"...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L1020-L1041
train
Set the value of show_mpls_interface_one_interface mapped from YANG variable to a private .
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_show_mpls_rsvp_statistics
def _set_show_mpls_rsvp_statistics(self, v, load=False): """ Setter method for show_mpls_rsvp_statistics, mapped from YANG variable /brocade_mpls_rpc/show_mpls_rsvp_statistics (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_rsvp_statistics is considered a...
python
def _set_show_mpls_rsvp_statistics(self, v, load=False): """ Setter method for show_mpls_rsvp_statistics, mapped from YANG variable /brocade_mpls_rpc/show_mpls_rsvp_statistics (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_rsvp_statistics is considered a...
[ "def", "_set_show_mpls_rsvp_statistics", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v"...
Setter method for show_mpls_rsvp_statistics, mapped from YANG variable /brocade_mpls_rpc/show_mpls_rsvp_statistics (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_rsvp_statistics is considered as a private method. Backends looking to populate this variable sh...
[ "Setter", "method", "for", "show_mpls_rsvp_statistics", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "show_mpls_rsvp_statistics", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in",...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L1086-L1107
train
Set show - mpls - rsvp - statistics for the MPLs server.
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_show_mpls_ldp_statistics
def _set_show_mpls_ldp_statistics(self, v, load=False): """ Setter method for show_mpls_ldp_statistics, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_statistics (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_ldp_statistics is considered as a ...
python
def _set_show_mpls_ldp_statistics(self, v, load=False): """ Setter method for show_mpls_ldp_statistics, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_statistics (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_ldp_statistics is considered as a ...
[ "def", "_set_show_mpls_ldp_statistics", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v",...
Setter method for show_mpls_ldp_statistics, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_statistics (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_ldp_statistics is considered as a private method. Backends looking to populate this variable shoul...
[ "Setter", "method", "for", "show_mpls_ldp_statistics", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "show_mpls_ldp_statistics", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L1119-L1140
train
Set show - mpls - ldp - statistics for the cluster.
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_show_mpls_rsvp_session_wide
def _set_show_mpls_rsvp_session_wide(self, v, load=False): """ Setter method for show_mpls_rsvp_session_wide, mapped from YANG variable /brocade_mpls_rpc/show_mpls_rsvp_session_wide (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_rsvp_session_wide is cons...
python
def _set_show_mpls_rsvp_session_wide(self, v, load=False): """ Setter method for show_mpls_rsvp_session_wide, mapped from YANG variable /brocade_mpls_rpc/show_mpls_rsvp_session_wide (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_rsvp_session_wide is cons...
[ "def", "_set_show_mpls_rsvp_session_wide", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "...
Setter method for show_mpls_rsvp_session_wide, mapped from YANG variable /brocade_mpls_rpc/show_mpls_rsvp_session_wide (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_rsvp_session_wide is considered as a private method. Backends looking to populate this varia...
[ "Setter", "method", "for", "show_mpls_rsvp_session_wide", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "show_mpls_rsvp_session_wide", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L1383-L1404
train
Set the show - mpls - rsvp - session - wide property of the cluster.
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_show_mpls_lsp_name_debug
def _set_show_mpls_lsp_name_debug(self, v, load=False): """ Setter method for show_mpls_lsp_name_debug, mapped from YANG variable /brocade_mpls_rpc/show_mpls_lsp_name_debug (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_lsp_name_debug is considered as a ...
python
def _set_show_mpls_lsp_name_debug(self, v, load=False): """ Setter method for show_mpls_lsp_name_debug, mapped from YANG variable /brocade_mpls_rpc/show_mpls_lsp_name_debug (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_lsp_name_debug is considered as a ...
[ "def", "_set_show_mpls_lsp_name_debug", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v",...
Setter method for show_mpls_lsp_name_debug, mapped from YANG variable /brocade_mpls_rpc/show_mpls_lsp_name_debug (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_lsp_name_debug is considered as a private method. Backends looking to populate this variable shoul...
[ "Setter", "method", "for", "show_mpls_lsp_name_debug", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "show_mpls_lsp_name_debug", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L1713-L1734
train
Set show - mpls - lsp - name - debug value.
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_show_mpls_route
def _set_show_mpls_route(self, v, load=False): """ Setter method for show_mpls_route, mapped from YANG variable /brocade_mpls_rpc/show_mpls_route (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_route is considered as a private method. Backends looking...
python
def _set_show_mpls_route(self, v, load=False): """ Setter method for show_mpls_route, mapped from YANG variable /brocade_mpls_rpc/show_mpls_route (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_route is considered as a private method. Backends looking...
[ "def", "_set_show_mpls_route", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for show_mpls_route, mapped from YANG variable /brocade_mpls_rpc/show_mpls_route (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_route is considered as a private method. Backends looking to populate this variable should do so via calling thi...
[ "Setter", "method", "for", "show_mpls_route", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "show_mpls_route", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source"...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L2439-L2460
train
Set the show - mpls - route for the cluster.
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_clear_mpls_lsp
def _set_clear_mpls_lsp(self, v, load=False): """ Setter method for clear_mpls_lsp, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_lsp (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_lsp is considered as a private method. Backends looking to ...
python
def _set_clear_mpls_lsp(self, v, load=False): """ Setter method for clear_mpls_lsp, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_lsp (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_lsp is considered as a private method. Backends looking to ...
[ "def", "_set_clear_mpls_lsp", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for clear_mpls_lsp, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_lsp (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_lsp is considered as a private method. Backends looking to populate this variable should do so via calling thisOb...
[ "Setter", "method", "for", "clear_mpls_lsp", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "clear_mpls_lsp", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L2472-L2493
train
Set the flag to clear_mpls_lsp.
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_mpls_reopt_lsp
def _set_mpls_reopt_lsp(self, v, load=False): """ Setter method for mpls_reopt_lsp, mapped from YANG variable /brocade_mpls_rpc/mpls_reopt_lsp (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_mpls_reopt_lsp is considered as a private method. Backends looking to ...
python
def _set_mpls_reopt_lsp(self, v, load=False): """ Setter method for mpls_reopt_lsp, mapped from YANG variable /brocade_mpls_rpc/mpls_reopt_lsp (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_mpls_reopt_lsp is considered as a private method. Backends looking to ...
[ "def", "_set_mpls_reopt_lsp", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for mpls_reopt_lsp, mapped from YANG variable /brocade_mpls_rpc/mpls_reopt_lsp (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_mpls_reopt_lsp is considered as a private method. Backends looking to populate this variable should do so via calling thisOb...
[ "Setter", "method", "for", "mpls_reopt_lsp", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "mpls_reopt_lsp", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L2538-L2559
train
Set the value of the field.
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_clear_mpls_rsvp_statistics
def _set_clear_mpls_rsvp_statistics(self, v, load=False): """ Setter method for clear_mpls_rsvp_statistics, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_rsvp_statistics (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_rsvp_statistics is consider...
python
def _set_clear_mpls_rsvp_statistics(self, v, load=False): """ Setter method for clear_mpls_rsvp_statistics, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_rsvp_statistics (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_rsvp_statistics is consider...
[ "def", "_set_clear_mpls_rsvp_statistics", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v...
Setter method for clear_mpls_rsvp_statistics, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_rsvp_statistics (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_rsvp_statistics is considered as a private method. Backends looking to populate this variable...
[ "Setter", "method", "for", "clear_mpls_rsvp_statistics", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "clear_mpls_rsvp_statistics", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L2571-L2592
train
Set the statistics of the rsvp statistics of the MPLs.
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_clear_mpls_rsvp_statistics_neighbor
def _set_clear_mpls_rsvp_statistics_neighbor(self, v, load=False): """ Setter method for clear_mpls_rsvp_statistics_neighbor, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_rsvp_statistics_neighbor (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_...
python
def _set_clear_mpls_rsvp_statistics_neighbor(self, v, load=False): """ Setter method for clear_mpls_rsvp_statistics_neighbor, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_rsvp_statistics_neighbor (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_...
[ "def", "_set_clear_mpls_rsvp_statistics_neighbor", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", ...
Setter method for clear_mpls_rsvp_statistics_neighbor, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_rsvp_statistics_neighbor (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_rsvp_statistics_neighbor is considered as a private method. Backends lookin...
[ "Setter", "method", "for", "clear_mpls_rsvp_statistics_neighbor", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "clear_mpls_rsvp_statistics_neighbor", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "fa...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L2604-L2625
train
Set the neighbors of the rsvp statistics.
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_clear_mpls_ldp_statistics
def _set_clear_mpls_ldp_statistics(self, v, load=False): """ Setter method for clear_mpls_ldp_statistics, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_ldp_statistics (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_ldp_statistics is considered a...
python
def _set_clear_mpls_ldp_statistics(self, v, load=False): """ Setter method for clear_mpls_ldp_statistics, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_ldp_statistics (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_ldp_statistics is considered a...
[ "def", "_set_clear_mpls_ldp_statistics", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v"...
Setter method for clear_mpls_ldp_statistics, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_ldp_statistics (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_ldp_statistics is considered as a private method. Backends looking to populate this variable sh...
[ "Setter", "method", "for", "clear_mpls_ldp_statistics", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "clear_mpls_ldp_statistics", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in",...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L2637-L2658
train
Set the statistics of the NDP segmented MPLs.
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_clear_mpls_statistics
def _set_clear_mpls_statistics(self, v, load=False): """ Setter method for clear_mpls_statistics, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_statistics (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_statistics is considered as a private ...
python
def _set_clear_mpls_statistics(self, v, load=False): """ Setter method for clear_mpls_statistics, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_statistics (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_statistics is considered as a private ...
[ "def", "_set_clear_mpls_statistics", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ...
Setter method for clear_mpls_statistics, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_statistics (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_statistics is considered as a private method. Backends looking to populate this variable should do ...
[ "Setter", "method", "for", "clear_mpls_statistics", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "clear_mpls_statistics", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the"...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L2670-L2691
train
Set the statistics of the MPLs.
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_clear_mpls_statistics_ldp_tunnel
def _set_clear_mpls_statistics_ldp_tunnel(self, v, load=False): """ Setter method for clear_mpls_statistics_ldp_tunnel, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_statistics_ldp_tunnel (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_statistic...
python
def _set_clear_mpls_statistics_ldp_tunnel(self, v, load=False): """ Setter method for clear_mpls_statistics_ldp_tunnel, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_statistics_ldp_tunnel (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_statistic...
[ "def", "_set_clear_mpls_statistics_ldp_tunnel", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "("...
Setter method for clear_mpls_statistics_ldp_tunnel, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_statistics_ldp_tunnel (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_statistics_ldp_tunnel is considered as a private method. Backends looking to popu...
[ "Setter", "method", "for", "clear_mpls_statistics_ldp_tunnel", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "clear_mpls_statistics_ldp_tunnel", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L2703-L2724
train
Set the tunnel for the Clear Mpls Statistics LDP.
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_clear_mpls_ldp_neighbor
def _set_clear_mpls_ldp_neighbor(self, v, load=False): """ Setter method for clear_mpls_ldp_neighbor, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_ldp_neighbor (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_ldp_neighbor is considered as a priv...
python
def _set_clear_mpls_ldp_neighbor(self, v, load=False): """ Setter method for clear_mpls_ldp_neighbor, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_ldp_neighbor (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_ldp_neighbor is considered as a priv...
[ "def", "_set_clear_mpls_ldp_neighbor", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ...
Setter method for clear_mpls_ldp_neighbor, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_ldp_neighbor (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_ldp_neighbor is considered as a private method. Backends looking to populate this variable should ...
[ "Setter", "method", "for", "clear_mpls_ldp_neighbor", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "clear_mpls_ldp_neighbor", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L2736-L2757
train
Set the neighbors of the last neighbor.
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_clear_mpls_auto_bandwidth_statistics_lsp
def _set_clear_mpls_auto_bandwidth_statistics_lsp(self, v, load=False): """ Setter method for clear_mpls_auto_bandwidth_statistics_lsp, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_auto_bandwidth_statistics_lsp (rpc) If this variable is read-only (config: false) in the source YANG file, then _...
python
def _set_clear_mpls_auto_bandwidth_statistics_lsp(self, v, load=False): """ Setter method for clear_mpls_auto_bandwidth_statistics_lsp, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_auto_bandwidth_statistics_lsp (rpc) If this variable is read-only (config: false) in the source YANG file, then _...
[ "def", "_set_clear_mpls_auto_bandwidth_statistics_lsp", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass...
Setter method for clear_mpls_auto_bandwidth_statistics_lsp, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_auto_bandwidth_statistics_lsp (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_auto_bandwidth_statistics_lsp is considered as a private method. ...
[ "Setter", "method", "for", "clear_mpls_auto_bandwidth_statistics_lsp", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "clear_mpls_auto_bandwidth_statistics_lsp", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L2802-L2823
train
Set auto - bandwidth statistics for MPLs auto - bandwidth auto - bandwidth group.
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_clear_mpls_auto_bandwidth_sample_history_lsp
def _set_clear_mpls_auto_bandwidth_sample_history_lsp(self, v, load=False): """ Setter method for clear_mpls_auto_bandwidth_sample_history_lsp, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_auto_bandwidth_sample_history_lsp (rpc) If this variable is read-only (config: false) in the source YANG ...
python
def _set_clear_mpls_auto_bandwidth_sample_history_lsp(self, v, load=False): """ Setter method for clear_mpls_auto_bandwidth_sample_history_lsp, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_auto_bandwidth_sample_history_lsp (rpc) If this variable is read-only (config: false) in the source YANG ...
[ "def", "_set_clear_mpls_auto_bandwidth_sample_history_lsp", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynC...
Setter method for clear_mpls_auto_bandwidth_sample_history_lsp, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_auto_bandwidth_sample_history_lsp (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_auto_bandwidth_sample_history_lsp is considered as a private ...
[ "Setter", "method", "for", "clear_mpls_auto_bandwidth_sample_history_lsp", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "clear_mpls_auto_bandwidth_sample_history_lsp", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "con...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L2835-L2856
train
Set auto - bandwidth sample history for MPLs auto - bandwidth auto - bandwidth auto - bandwidth auto - bandwidth auto - bandwidth auto - bandwidth auto - bandwidth auto - bandwidth auto - bandwidth sample history.
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_clear_mpls_auto_bandwidth_statistics_all
def _set_clear_mpls_auto_bandwidth_statistics_all(self, v, load=False): """ Setter method for clear_mpls_auto_bandwidth_statistics_all, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_auto_bandwidth_statistics_all (rpc) If this variable is read-only (config: false) in the source YANG file, then _...
python
def _set_clear_mpls_auto_bandwidth_statistics_all(self, v, load=False): """ Setter method for clear_mpls_auto_bandwidth_statistics_all, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_auto_bandwidth_statistics_all (rpc) If this variable is read-only (config: false) in the source YANG file, then _...
[ "def", "_set_clear_mpls_auto_bandwidth_statistics_all", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass...
Setter method for clear_mpls_auto_bandwidth_statistics_all, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_auto_bandwidth_statistics_all (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_auto_bandwidth_statistics_all is considered as a private method. ...
[ "Setter", "method", "for", "clear_mpls_auto_bandwidth_statistics_all", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "clear_mpls_auto_bandwidth_statistics_all", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L2868-L2889
train
Sets the auto - bandwidth statistics all for MPLs auto - bandwidth statistics.
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_clear_mpls_auto_bandwidth_sample_history_all
def _set_clear_mpls_auto_bandwidth_sample_history_all(self, v, load=False): """ Setter method for clear_mpls_auto_bandwidth_sample_history_all, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_auto_bandwidth_sample_history_all (rpc) If this variable is read-only (config: false) in the source YANG ...
python
def _set_clear_mpls_auto_bandwidth_sample_history_all(self, v, load=False): """ Setter method for clear_mpls_auto_bandwidth_sample_history_all, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_auto_bandwidth_sample_history_all (rpc) If this variable is read-only (config: false) in the source YANG ...
[ "def", "_set_clear_mpls_auto_bandwidth_sample_history_all", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynC...
Setter method for clear_mpls_auto_bandwidth_sample_history_all, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_auto_bandwidth_sample_history_all (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_auto_bandwidth_sample_history_all is considered as a private ...
[ "Setter", "method", "for", "clear_mpls_auto_bandwidth_sample_history_all", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "clear_mpls_auto_bandwidth_sample_history_all", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "con...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L2901-L2922
train
Sets the auto - bandwidth sample history all.
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_mpls_adjust_bandwidth_lsp
def _set_mpls_adjust_bandwidth_lsp(self, v, load=False): """ Setter method for mpls_adjust_bandwidth_lsp, mapped from YANG variable /brocade_mpls_rpc/mpls_adjust_bandwidth_lsp (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_mpls_adjust_bandwidth_lsp is considered a...
python
def _set_mpls_adjust_bandwidth_lsp(self, v, load=False): """ Setter method for mpls_adjust_bandwidth_lsp, mapped from YANG variable /brocade_mpls_rpc/mpls_adjust_bandwidth_lsp (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_mpls_adjust_bandwidth_lsp is considered a...
[ "def", "_set_mpls_adjust_bandwidth_lsp", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v"...
Setter method for mpls_adjust_bandwidth_lsp, mapped from YANG variable /brocade_mpls_rpc/mpls_adjust_bandwidth_lsp (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_mpls_adjust_bandwidth_lsp is considered as a private method. Backends looking to populate this variable sh...
[ "Setter", "method", "for", "mpls_adjust_bandwidth_lsp", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "mpls_adjust_bandwidth_lsp", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in",...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L2934-L2955
train
Set the adjust bandwidth of the MPLs Logical Storage.
StackStorm/pybind
pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py
brocade_mpls._set_mpls_adjust_bandwidth_lsp_all
def _set_mpls_adjust_bandwidth_lsp_all(self, v, load=False): """ Setter method for mpls_adjust_bandwidth_lsp_all, mapped from YANG variable /brocade_mpls_rpc/mpls_adjust_bandwidth_lsp_all (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_mpls_adjust_bandwidth_lsp_all...
python
def _set_mpls_adjust_bandwidth_lsp_all(self, v, load=False): """ Setter method for mpls_adjust_bandwidth_lsp_all, mapped from YANG variable /brocade_mpls_rpc/mpls_adjust_bandwidth_lsp_all (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_mpls_adjust_bandwidth_lsp_all...
[ "def", "_set_mpls_adjust_bandwidth_lsp_all", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", ...
Setter method for mpls_adjust_bandwidth_lsp_all, mapped from YANG variable /brocade_mpls_rpc/mpls_adjust_bandwidth_lsp_all (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_mpls_adjust_bandwidth_lsp_all is considered as a private method. Backends looking to populate this...
[ "Setter", "method", "for", "mpls_adjust_bandwidth_lsp_all", "mapped", "from", "YANG", "variable", "/", "brocade_mpls_rpc", "/", "mpls_adjust_bandwidth_lsp_all", "(", "rpc", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")",...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_mpls_rpc/__init__.py#L2967-L2988
train
Set the value of the property to be used by the MPLS server.
StackStorm/pybind
pybind/nos/v7_2_0/protocol/spanning_tree/rpvst/__init__.py
rpvst._set_system_id
def _set_system_id(self, v, load=False): """ Setter method for system_id, mapped from YANG variable /protocol/spanning_tree/rpvst/system_id (container) If this variable is read-only (config: false) in the source YANG file, then _set_system_id is considered as a private method. Backends looking to po...
python
def _set_system_id(self, v, load=False): """ Setter method for system_id, mapped from YANG variable /protocol/spanning_tree/rpvst/system_id (container) If this variable is read-only (config: false) in the source YANG file, then _set_system_id is considered as a private method. Backends looking to po...
[ "def", "_set_system_id", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "base...
Setter method for system_id, mapped from YANG variable /protocol/spanning_tree/rpvst/system_id (container) If this variable is read-only (config: false) in the source YANG file, then _set_system_id is considered as a private method. Backends looking to populate this variable should do so via calling thi...
[ "Setter", "method", "for", "system_id", "mapped", "from", "YANG", "variable", "/", "protocol", "/", "spanning_tree", "/", "rpvst", "/", "system_id", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/protocol/spanning_tree/rpvst/__init__.py#L105-L126
train
Sets the system_id of the based on the system_id field.
StackStorm/pybind
pybind/slxos/v17s_1_02/interface/ethernet/openflow/__init__.py
openflow._set_protected_vlans
def _set_protected_vlans(self, v, load=False): """ Setter method for protected_vlans, mapped from YANG variable /interface/ethernet/openflow/protected_vlans (container) If this variable is read-only (config: false) in the source YANG file, then _set_protected_vlans is considered as a private method....
python
def _set_protected_vlans(self, v, load=False): """ Setter method for protected_vlans, mapped from YANG variable /interface/ethernet/openflow/protected_vlans (container) If this variable is read-only (config: false) in the source YANG file, then _set_protected_vlans is considered as a private method....
[ "def", "_set_protected_vlans", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for protected_vlans, mapped from YANG variable /interface/ethernet/openflow/protected_vlans (container) If this variable is read-only (config: false) in the source YANG file, then _set_protected_vlans is considered as a private method. Backends looking to populate this variable should do s...
[ "Setter", "method", "for", "protected_vlans", "mapped", "from", "YANG", "variable", "/", "interface", "/", "ethernet", "/", "openflow", "/", "protected_vlans", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "f...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/interface/ethernet/openflow/__init__.py#L94-L115
train
Sets the protected vlans property of the node.
StackStorm/pybind
pybind/slxos/v17s_1_02/interface/ethernet/openflow/__init__.py
openflow._set_enableInterfaceLevel
def _set_enableInterfaceLevel(self, v, load=False): """ Setter method for enableInterfaceLevel, mapped from YANG variable /interface/ethernet/openflow/enableInterfaceLevel (container) If this variable is read-only (config: false) in the source YANG file, then _set_enableInterfaceLevel is considered as a...
python
def _set_enableInterfaceLevel(self, v, load=False): """ Setter method for enableInterfaceLevel, mapped from YANG variable /interface/ethernet/openflow/enableInterfaceLevel (container) If this variable is read-only (config: false) in the source YANG file, then _set_enableInterfaceLevel is considered as a...
[ "def", "_set_enableInterfaceLevel", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", "...
Setter method for enableInterfaceLevel, mapped from YANG variable /interface/ethernet/openflow/enableInterfaceLevel (container) If this variable is read-only (config: false) in the source YANG file, then _set_enableInterfaceLevel is considered as a private method. Backends looking to populate this variable ...
[ "Setter", "method", "for", "enableInterfaceLevel", "mapped", "from", "YANG", "variable", "/", "interface", "/", "ethernet", "/", "openflow", "/", "enableInterfaceLevel", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/interface/ethernet/openflow/__init__.py#L127-L148
train
Set enable flag for the
StackStorm/pybind
pybind/slxos/v17r_2_00/igmp_snooping_state/__init__.py
igmp_snooping_state._set_multicast_ssm_mapping
def _set_multicast_ssm_mapping(self, v, load=False): """ Setter method for multicast_ssm_mapping, mapped from YANG variable /igmp_snooping_state/multicast_ssm_mapping (container) If this variable is read-only (config: false) in the source YANG file, then _set_multicast_ssm_mapping is considered as a pri...
python
def _set_multicast_ssm_mapping(self, v, load=False): """ Setter method for multicast_ssm_mapping, mapped from YANG variable /igmp_snooping_state/multicast_ssm_mapping (container) If this variable is read-only (config: false) in the source YANG file, then _set_multicast_ssm_mapping is considered as a pri...
[ "def", "_set_multicast_ssm_mapping", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ...
Setter method for multicast_ssm_mapping, mapped from YANG variable /igmp_snooping_state/multicast_ssm_mapping (container) If this variable is read-only (config: false) in the source YANG file, then _set_multicast_ssm_mapping is considered as a private method. Backends looking to populate this variable shoul...
[ "Setter", "method", "for", "multicast_ssm_mapping", "mapped", "from", "YANG", "variable", "/", "igmp_snooping_state", "/", "multicast_ssm_mapping", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in"...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/igmp_snooping_state/__init__.py#L116-L139
train
Set the multicast - ssm - mapping for the cluster.
StackStorm/pybind
pybind/slxos/v17r_2_00/igmp_snooping_state/__init__.py
igmp_snooping_state._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 (container) If this variable is read-only (config: false) in the source YANG file, then _set_igmp_statistics is considered as a private method. Backend...
python
def _set_igmp_statistics(self, v, load=False): """ Setter method for igmp_statistics, mapped from YANG variable /igmp_snooping_state/igmp_statistics (container) If this variable is read-only (config: false) in the source YANG file, then _set_igmp_statistics is considered as a private method. Backend...
[ "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 (container) 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 do so via ca...
[ "Setter", "method", "for", "igmp_statistics", "mapped", "from", "YANG", "variable", "/", "igmp_snooping_state", "/", "igmp_statistics", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", ...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/igmp_snooping_state/__init__.py#L153-L176
train
Set the statistics of the Igmp snooping group.
StackStorm/pybind
pybind/slxos/v17r_2_00/igmp_snooping_state/__init__.py
igmp_snooping_state._set_debug_igmp
def _set_debug_igmp(self, v, load=False): """ Setter method for debug_igmp, mapped from YANG variable /igmp_snooping_state/debug_igmp (container) If this variable is read-only (config: false) in the source YANG file, then _set_debug_igmp is considered as a private method. Backends looking to populat...
python
def _set_debug_igmp(self, v, load=False): """ Setter method for debug_igmp, mapped from YANG variable /igmp_snooping_state/debug_igmp (container) If this variable is read-only (config: false) in the source YANG file, then _set_debug_igmp is considered as a private method. Backends looking to populat...
[ "def", "_set_debug_igmp", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", "bas...
Setter method for debug_igmp, mapped from YANG variable /igmp_snooping_state/debug_igmp (container) If this variable is read-only (config: false) in the source YANG file, then _set_debug_igmp is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._...
[ "Setter", "method", "for", "debug_igmp", "mapped", "from", "YANG", "variable", "/", "igmp_snooping_state", "/", "debug_igmp", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")", "in", "the", "source",...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/igmp_snooping_state/__init__.py#L190-L213
train
Set debug info for IGMP Snooping
StackStorm/pybind
pybind/slxos/v17r_2_00/igmp_snooping_state/__init__.py
igmp_snooping_state._set_igmp_interface_statistics
def _set_igmp_interface_statistics(self, v, load=False): """ Setter method for igmp_interface_statistics, mapped from YANG variable /igmp_snooping_state/igmp_interface_statistics (container) If this variable is read-only (config: false) in the source YANG file, then _set_igmp_interface_statistics is con...
python
def _set_igmp_interface_statistics(self, v, load=False): """ Setter method for igmp_interface_statistics, mapped from YANG variable /igmp_snooping_state/igmp_interface_statistics (container) If this variable is read-only (config: false) in the source YANG file, then _set_igmp_interface_statistics is con...
[ "def", "_set_igmp_interface_statistics", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v"...
Setter method for igmp_interface_statistics, mapped from YANG variable /igmp_snooping_state/igmp_interface_statistics (container) If this variable is read-only (config: false) in the source YANG file, then _set_igmp_interface_statistics is considered as a private method. Backends looking to populate this va...
[ "Setter", "method", "for", "igmp_interface_statistics", "mapped", "from", "YANG", "variable", "/", "igmp_snooping_state", "/", "igmp_interface_statistics", "(", "container", ")", "If", "this", "variable", "is", "read", "-", "only", "(", "config", ":", "false", ")"...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/igmp_snooping_state/__init__.py#L484-L505
train
Set the values of the igmp_interface_statistics variable in the IGMP interface.
StackStorm/pybind
pybind/nos/v6_0_2f/rbridge_id/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf/neighbor/af_ipv4_vrf_neighbor_address_holder/__init__.py
af_ipv4_vrf_neighbor_address_holder._set_af_ipv4_neighbor_addr
def _set_af_ipv4_neighbor_addr(self, v, load=False): """ Setter method for af_ipv4_neighbor_addr, mapped from YANG variable /rbridge_id/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf/neighbor/af_ipv4_vrf_neighbor_address_holder/af_ipv4_neighbor_addr (list) If this variable is read-only (config: f...
python
def _set_af_ipv4_neighbor_addr(self, v, load=False): """ Setter method for af_ipv4_neighbor_addr, mapped from YANG variable /rbridge_id/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf/neighbor/af_ipv4_vrf_neighbor_address_holder/af_ipv4_neighbor_addr (list) If this variable is read-only (config: f...
[ "def", "_set_af_ipv4_neighbor_addr", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ...
Setter method for af_ipv4_neighbor_addr, mapped from YANG variable /rbridge_id/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf/neighbor/af_ipv4_vrf_neighbor_address_holder/af_ipv4_neighbor_addr (list) If this variable is read-only (config: false) in the source YANG file, then _set_af_ipv4_neighbor_add...
[ "Setter", "method", "for", "af_ipv4_neighbor_addr", "mapped", "from", "YANG", "variable", "/", "rbridge_id", "/", "router", "/", "router_bgp", "/", "address_family", "/", "ipv4", "/", "ipv4_unicast", "/", "af_vrf", "/", "neighbor", "/", "af_ipv4_vrf_neighbor_address...
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf/neighbor/af_ipv4_vrf_neighbor_address_holder/__init__.py#L92-L113
train
Sets the af_ipv4_neighbor_addr field of the based on the provided list of af_ipv4_neighbor_addr values.
bkg/django-spillway
spillway/query.py
filter_geometry
def filter_geometry(queryset, **filters): """Helper function for spatial lookups filters. Provide spatial lookup types as keywords without underscores instead of the usual "geometryfield__lookuptype" format. """ fieldname = geo_field(queryset).name query = {'%s__%s' % (fieldname, k): v for k, v...
python
def filter_geometry(queryset, **filters): """Helper function for spatial lookups filters. Provide spatial lookup types as keywords without underscores instead of the usual "geometryfield__lookuptype" format. """ fieldname = geo_field(queryset).name query = {'%s__%s' % (fieldname, k): v for k, v...
[ "def", "filter_geometry", "(", "queryset", ",", "*", "*", "filters", ")", ":", "fieldname", "=", "geo_field", "(", "queryset", ")", ".", "name", "query", "=", "{", "'%s__%s'", "%", "(", "fieldname", ",", "k", ")", ":", "v", "for", "k", ",", "v", "i...
Helper function for spatial lookups filters. Provide spatial lookup types as keywords without underscores instead of the usual "geometryfield__lookuptype" format.
[ "Helper", "function", "for", "spatial", "lookups", "filters", "." ]
c488a62642430b005f1e0d4a19e160d8d5964b67
https://github.com/bkg/django-spillway/blob/c488a62642430b005f1e0d4a19e160d8d5964b67/spillway/query.py#L16-L24
train
Filter the given queryset by spatial lookup types.
bkg/django-spillway
spillway/query.py
geo_field
def geo_field(queryset): """Returns the GeometryField for a django or spillway GeoQuerySet.""" for field in queryset.model._meta.fields: if isinstance(field, models.GeometryField): return field raise exceptions.FieldDoesNotExist('No GeometryField found')
python
def geo_field(queryset): """Returns the GeometryField for a django or spillway GeoQuerySet.""" for field in queryset.model._meta.fields: if isinstance(field, models.GeometryField): return field raise exceptions.FieldDoesNotExist('No GeometryField found')
[ "def", "geo_field", "(", "queryset", ")", ":", "for", "field", "in", "queryset", ".", "model", ".", "_meta", ".", "fields", ":", "if", "isinstance", "(", "field", ",", "models", ".", "GeometryField", ")", ":", "return", "field", "raise", "exceptions", "....
Returns the GeometryField for a django or spillway GeoQuerySet.
[ "Returns", "the", "GeometryField", "for", "a", "django", "or", "spillway", "GeoQuerySet", "." ]
c488a62642430b005f1e0d4a19e160d8d5964b67
https://github.com/bkg/django-spillway/blob/c488a62642430b005f1e0d4a19e160d8d5964b67/spillway/query.py#L26-L31
train
Returns the GeometryField for a django or spillway GeoQuerySet.
bkg/django-spillway
spillway/query.py
get_srid
def get_srid(queryset): """Returns the GeoQuerySet spatial reference identifier.""" try: srid = list(six.viewvalues(queryset.query.annotations))[0].srid except (AttributeError, IndexError): srid = None return srid or geo_field(queryset).srid
python
def get_srid(queryset): """Returns the GeoQuerySet spatial reference identifier.""" try: srid = list(six.viewvalues(queryset.query.annotations))[0].srid except (AttributeError, IndexError): srid = None return srid or geo_field(queryset).srid
[ "def", "get_srid", "(", "queryset", ")", ":", "try", ":", "srid", "=", "list", "(", "six", ".", "viewvalues", "(", "queryset", ".", "query", ".", "annotations", ")", ")", "[", "0", "]", ".", "srid", "except", "(", "AttributeError", ",", "IndexError", ...
Returns the GeoQuerySet spatial reference identifier.
[ "Returns", "the", "GeoQuerySet", "spatial", "reference", "identifier", "." ]
c488a62642430b005f1e0d4a19e160d8d5964b67
https://github.com/bkg/django-spillway/blob/c488a62642430b005f1e0d4a19e160d8d5964b67/spillway/query.py#L33-L39
train
Returns the GeoQuerySet spatial reference identifier.
bkg/django-spillway
spillway/query.py
agg_dims
def agg_dims(arr, stat): """Returns a 1D array with higher dimensions aggregated using stat fn. Arguments: arr -- ndarray stat -- numpy or numpy.ma function as str to call """ axis = None if arr.ndim > 2: axis = 1 arr = arr.reshape(arr.shape[0], -1) module = np.ma if has...
python
def agg_dims(arr, stat): """Returns a 1D array with higher dimensions aggregated using stat fn. Arguments: arr -- ndarray stat -- numpy or numpy.ma function as str to call """ axis = None if arr.ndim > 2: axis = 1 arr = arr.reshape(arr.shape[0], -1) module = np.ma if has...
[ "def", "agg_dims", "(", "arr", ",", "stat", ")", ":", "axis", "=", "None", "if", "arr", ".", "ndim", ">", "2", ":", "axis", "=", "1", "arr", "=", "arr", ".", "reshape", "(", "arr", ".", "shape", "[", "0", "]", ",", "-", "1", ")", "module", ...
Returns a 1D array with higher dimensions aggregated using stat fn. Arguments: arr -- ndarray stat -- numpy or numpy.ma function as str to call
[ "Returns", "a", "1D", "array", "with", "higher", "dimensions", "aggregated", "using", "stat", "fn", "." ]
c488a62642430b005f1e0d4a19e160d8d5964b67
https://github.com/bkg/django-spillway/blob/c488a62642430b005f1e0d4a19e160d8d5964b67/spillway/query.py#L41-L53
train
Returns a 1D array with higher dimensions aggregated using stat fn.
bkg/django-spillway
spillway/query.py
GeoQuerySet.extent
def extent(self, srid=None): """Returns the GeoQuerySet extent as a 4-tuple. Keyword args: srid -- EPSG id for for transforming the output geometry. """ expr = self.geo_field.name if srid: expr = geofn.Transform(expr, srid) expr = models.Extent(expr) ...
python
def extent(self, srid=None): """Returns the GeoQuerySet extent as a 4-tuple. Keyword args: srid -- EPSG id for for transforming the output geometry. """ expr = self.geo_field.name if srid: expr = geofn.Transform(expr, srid) expr = models.Extent(expr) ...
[ "def", "extent", "(", "self", ",", "srid", "=", "None", ")", ":", "expr", "=", "self", ".", "geo_field", ".", "name", "if", "srid", ":", "expr", "=", "geofn", ".", "Transform", "(", "expr", ",", "srid", ")", "expr", "=", "models", ".", "Extent", ...
Returns the GeoQuerySet extent as a 4-tuple. Keyword args: srid -- EPSG id for for transforming the output geometry.
[ "Returns", "the", "GeoQuerySet", "extent", "as", "a", "4", "-", "tuple", "." ]
c488a62642430b005f1e0d4a19e160d8d5964b67
https://github.com/bkg/django-spillway/blob/c488a62642430b005f1e0d4a19e160d8d5964b67/spillway/query.py#L87-L99
train
Returns the GeoQuerySet extent as a 4 - tuple.
bkg/django-spillway
spillway/query.py
GeoQuerySet.pbf
def pbf(self, bbox, geo_col=None, scale=4096): """Returns tranlated and scaled geometries suitable for Mapbox vector tiles. """ col = geo_col or self.geo_field.name w, s, e, n = bbox.extent trans = self._trans_scale(col, -w, -s, scale / (...
python
def pbf(self, bbox, geo_col=None, scale=4096): """Returns tranlated and scaled geometries suitable for Mapbox vector tiles. """ col = geo_col or self.geo_field.name w, s, e, n = bbox.extent trans = self._trans_scale(col, -w, -s, scale / (...
[ "def", "pbf", "(", "self", ",", "bbox", ",", "geo_col", "=", "None", ",", "scale", "=", "4096", ")", ":", "col", "=", "geo_col", "or", "self", ".", "geo_field", ".", "name", "w", ",", "s", ",", "e", ",", "n", "=", "bbox", ".", "extent", "trans"...
Returns tranlated and scaled geometries suitable for Mapbox vector tiles.
[ "Returns", "tranlated", "and", "scaled", "geometries", "suitable", "for", "Mapbox", "vector", "tiles", "." ]
c488a62642430b005f1e0d4a19e160d8d5964b67
https://github.com/bkg/django-spillway/blob/c488a62642430b005f1e0d4a19e160d8d5964b67/spillway/query.py#L110-L120
train
Returns tranlated and scaled geometries suitable for Mapbox vector tiles.
bkg/django-spillway
spillway/query.py
GeoQuerySet.tile
def tile(self, bbox, z=0, format=None, clip=True): """Returns a GeoQuerySet intersecting a tile boundary. Arguments: bbox -- tile extent as geometry Keyword args: z -- tile zoom level used as basis for geometry simplification format -- vector tile format as str (pbf, geo...
python
def tile(self, bbox, z=0, format=None, clip=True): """Returns a GeoQuerySet intersecting a tile boundary. Arguments: bbox -- tile extent as geometry Keyword args: z -- tile zoom level used as basis for geometry simplification format -- vector tile format as str (pbf, geo...
[ "def", "tile", "(", "self", ",", "bbox", ",", "z", "=", "0", ",", "format", "=", "None", ",", "clip", "=", "True", ")", ":", "# Tile grid uses 3857, but GeoJSON coordinates should be in 4326.", "tile_srid", "=", "3857", "bbox", "=", "getattr", "(", "bbox", "...
Returns a GeoQuerySet intersecting a tile boundary. Arguments: bbox -- tile extent as geometry Keyword args: z -- tile zoom level used as basis for geometry simplification format -- vector tile format as str (pbf, geojson) clip -- clip geometries to tile boundary as bool...
[ "Returns", "a", "GeoQuerySet", "intersecting", "a", "tile", "boundary", "." ]
c488a62642430b005f1e0d4a19e160d8d5964b67
https://github.com/bkg/django-spillway/blob/c488a62642430b005f1e0d4a19e160d8d5964b67/spillway/query.py#L122-L157
train
Returns a GeoQuerySet that intersects a tile boundary.
bkg/django-spillway
spillway/query.py
RasterQuerySet.arrays
def arrays(self, field_name=None): """Returns a list of ndarrays. Keyword args: field_name -- raster field name as str """ fieldname = field_name or self.raster_field.name arrays = [] for obj in self: arr = getattr(obj, fieldname) if isins...
python
def arrays(self, field_name=None): """Returns a list of ndarrays. Keyword args: field_name -- raster field name as str """ fieldname = field_name or self.raster_field.name arrays = [] for obj in self: arr = getattr(obj, fieldname) if isins...
[ "def", "arrays", "(", "self", ",", "field_name", "=", "None", ")", ":", "fieldname", "=", "field_name", "or", "self", ".", "raster_field", ".", "name", "arrays", "=", "[", "]", "for", "obj", "in", "self", ":", "arr", "=", "getattr", "(", "obj", ",", ...
Returns a list of ndarrays. Keyword args: field_name -- raster field name as str
[ "Returns", "a", "list", "of", "ndarrays", "." ]
c488a62642430b005f1e0d4a19e160d8d5964b67
https://github.com/bkg/django-spillway/blob/c488a62642430b005f1e0d4a19e160d8d5964b67/spillway/query.py#L161-L175
train
Returns a list of ndarrays.
bkg/django-spillway
spillway/query.py
RasterQuerySet.aggregate_periods
def aggregate_periods(self, periods): """Returns list of ndarrays averaged to a given number of periods. Arguments: periods -- desired number of periods as int """ try: fieldname = self.raster_field.name except TypeError: raise exceptions.FieldDoe...
python
def aggregate_periods(self, periods): """Returns list of ndarrays averaged to a given number of periods. Arguments: periods -- desired number of periods as int """ try: fieldname = self.raster_field.name except TypeError: raise exceptions.FieldDoe...
[ "def", "aggregate_periods", "(", "self", ",", "periods", ")", ":", "try", ":", "fieldname", "=", "self", ".", "raster_field", ".", "name", "except", "TypeError", ":", "raise", "exceptions", ".", "FieldDoesNotExist", "(", "'Raster field not found'", ")", "arrays"...
Returns list of ndarrays averaged to a given number of periods. Arguments: periods -- desired number of periods as int
[ "Returns", "list", "of", "ndarrays", "averaged", "to", "a", "given", "number", "of", "periods", "." ]
c488a62642430b005f1e0d4a19e160d8d5964b67
https://github.com/bkg/django-spillway/blob/c488a62642430b005f1e0d4a19e160d8d5964b67/spillway/query.py#L177-L202
train
Returns list of ndarrays averaged to a given number of periods.
bkg/django-spillway
spillway/query.py
RasterQuerySet.raster_field
def raster_field(self): """Returns the raster FileField instance on the model.""" for field in self.model._meta.fields: if isinstance(field, models.FileField): return field return False
python
def raster_field(self): """Returns the raster FileField instance on the model.""" for field in self.model._meta.fields: if isinstance(field, models.FileField): return field return False
[ "def", "raster_field", "(", "self", ")", ":", "for", "field", "in", "self", ".", "model", ".", "_meta", ".", "fields", ":", "if", "isinstance", "(", "field", ",", "models", ".", "FileField", ")", ":", "return", "field", "return", "False" ]
Returns the raster FileField instance on the model.
[ "Returns", "the", "raster", "FileField", "instance", "on", "the", "model", "." ]
c488a62642430b005f1e0d4a19e160d8d5964b67
https://github.com/bkg/django-spillway/blob/c488a62642430b005f1e0d4a19e160d8d5964b67/spillway/query.py#L218-L223
train
Returns the raster FileField instance on the model.
bkg/django-spillway
spillway/query.py
RasterQuerySet.summarize
def summarize(self, geom, stat=None): """Returns a new RasterQuerySet with subsetted/summarized ndarrays. Arguments: geom -- geometry for masking or spatial subsetting Keyword args: stat -- any numpy summary stat method as str (min/max/mean/etc) """ if not hasatt...
python
def summarize(self, geom, stat=None): """Returns a new RasterQuerySet with subsetted/summarized ndarrays. Arguments: geom -- geometry for masking or spatial subsetting Keyword args: stat -- any numpy summary stat method as str (min/max/mean/etc) """ if not hasatt...
[ "def", "summarize", "(", "self", ",", "geom", ",", "stat", "=", "None", ")", ":", "if", "not", "hasattr", "(", "geom", ",", "'num_coords'", ")", ":", "raise", "TypeError", "(", "'Need OGR or GEOS geometry, %s found'", "%", "type", "(", "geom", ")", ")", ...
Returns a new RasterQuerySet with subsetted/summarized ndarrays. Arguments: geom -- geometry for masking or spatial subsetting Keyword args: stat -- any numpy summary stat method as str (min/max/mean/etc)
[ "Returns", "a", "new", "RasterQuerySet", "with", "subsetted", "/", "summarized", "ndarrays", "." ]
c488a62642430b005f1e0d4a19e160d8d5964b67
https://github.com/bkg/django-spillway/blob/c488a62642430b005f1e0d4a19e160d8d5964b67/spillway/query.py#L225-L246
train
Returns a new RasterQuerySet with subsetted ndarrays summarized.
bkg/django-spillway
spillway/query.py
RasterQuerySet.warp
def warp(self, srid=None, format=None, geom=None): """Returns a new RasterQuerySet with possibly warped/converted rasters. Keyword args: format -- raster file extension format as str geom -- geometry for masking or spatial subsetting srid -- spatial reference identifier as int f...
python
def warp(self, srid=None, format=None, geom=None): """Returns a new RasterQuerySet with possibly warped/converted rasters. Keyword args: format -- raster file extension format as str geom -- geometry for masking or spatial subsetting srid -- spatial reference identifier as int f...
[ "def", "warp", "(", "self", ",", "srid", "=", "None", ",", "format", "=", "None", ",", "geom", "=", "None", ")", ":", "clone", "=", "self", ".", "_clone", "(", ")", "for", "obj", "in", "clone", ":", "obj", ".", "convert", "(", "format", ",", "g...
Returns a new RasterQuerySet with possibly warped/converted rasters. Keyword args: format -- raster file extension format as str geom -- geometry for masking or spatial subsetting srid -- spatial reference identifier as int for warping to
[ "Returns", "a", "new", "RasterQuerySet", "with", "possibly", "warped", "/", "converted", "rasters", "." ]
c488a62642430b005f1e0d4a19e160d8d5964b67
https://github.com/bkg/django-spillway/blob/c488a62642430b005f1e0d4a19e160d8d5964b67/spillway/query.py#L248-L263
train
Returns a new RasterQuerySet with possibly warped rasters converted.
bkg/django-spillway
spillway/query.py
RasterQuerySet.zipfiles
def zipfiles(self, path=None, arcdirname='data'): """Returns a .zip archive of selected rasters.""" if path: fp = open(path, 'w+b') else: prefix = '%s-' % arcdirname fp = tempfile.NamedTemporaryFile(prefix=prefix, suffix='.zip') with zipfile.ZipFile(fp...
python
def zipfiles(self, path=None, arcdirname='data'): """Returns a .zip archive of selected rasters.""" if path: fp = open(path, 'w+b') else: prefix = '%s-' % arcdirname fp = tempfile.NamedTemporaryFile(prefix=prefix, suffix='.zip') with zipfile.ZipFile(fp...
[ "def", "zipfiles", "(", "self", ",", "path", "=", "None", ",", "arcdirname", "=", "'data'", ")", ":", "if", "path", ":", "fp", "=", "open", "(", "path", ",", "'w+b'", ")", "else", ":", "prefix", "=", "'%s-'", "%", "arcdirname", "fp", "=", "tempfile...
Returns a .zip archive of selected rasters.
[ "Returns", "a", ".", "zip", "archive", "of", "selected", "rasters", "." ]
c488a62642430b005f1e0d4a19e160d8d5964b67
https://github.com/bkg/django-spillway/blob/c488a62642430b005f1e0d4a19e160d8d5964b67/spillway/query.py#L265-L284
train
Returns a. zip archive of selected rasters.
idlesign/steampak
steampak/libsteam/resources/main.py
Api.init
def init(self, app_id=None): """Initializes Steam API library. :param str|int app_id: Application ID. :raises: SteamApiStartupError """ self.set_app_id(app_id) err_msg = ( 'Unable to initialize. Check Steam client is running ' 'and Steam applicat...
python
def init(self, app_id=None): """Initializes Steam API library. :param str|int app_id: Application ID. :raises: SteamApiStartupError """ self.set_app_id(app_id) err_msg = ( 'Unable to initialize. Check Steam client is running ' 'and Steam applicat...
[ "def", "init", "(", "self", ",", "app_id", "=", "None", ")", ":", "self", ".", "set_app_id", "(", "app_id", ")", "err_msg", "=", "(", "'Unable to initialize. Check Steam client is running '", "'and Steam application ID is defined in steam_appid.txt or passed to Api.'", ")",...
Initializes Steam API library. :param str|int app_id: Application ID. :raises: SteamApiStartupError
[ "Initializes", "Steam", "API", "library", "." ]
cb3f2c737e272b0360802d947e388df7e34f50f3
https://github.com/idlesign/steampak/blob/cb3f2c737e272b0360802d947e388df7e34f50f3/steampak/libsteam/resources/main.py#L125-L155
train
Initializes Steam API library.
StackStorm/pybind
pybind/nos/v6_0_2f/interface/__init__.py
interface._set_gigabitethernet
def _set_gigabitethernet(self, v, load=False): """ Setter method for gigabitethernet, mapped from YANG variable /interface/gigabitethernet (list) If this variable is read-only (config: false) in the source YANG file, then _set_gigabitethernet is considered as a private method. Backends looking to po...
python
def _set_gigabitethernet(self, v, load=False): """ Setter method for gigabitethernet, mapped from YANG variable /interface/gigabitethernet (list) If this variable is read-only (config: false) in the source YANG file, then _set_gigabitethernet is considered as a private method. Backends looking to po...
[ "def", "_set_gigabitethernet", "(", "self", ",", "v", ",", "load", "=", "False", ")", ":", "if", "hasattr", "(", "v", ",", "\"_utype\"", ")", ":", "v", "=", "v", ".", "_utype", "(", "v", ")", "try", ":", "t", "=", "YANGDynClass", "(", "v", ",", ...
Setter method for gigabitethernet, mapped from YANG variable /interface/gigabitethernet (list) If this variable is read-only (config: false) in the source YANG file, then _set_gigabitethernet is considered as a private method. Backends looking to populate this variable should do so via calling thisObj._...
[ "Setter", "method", "for", "gigabitethernet", "mapped", "from", "YANG", "variable", "/", "interface", "/", "gigabitethernet", "(", "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/interface/__init__.py#L118-L148
train
Sets the value of Gigabitethernet mapped from YANG variable name to GigabitEthernet interfaces.