repo stringlengths 7 55 | path stringlengths 4 223 | func_name stringlengths 1 134 | original_string stringlengths 75 104k | language stringclasses 1
value | code stringlengths 75 104k | code_tokens listlengths 19 28.4k | docstring stringlengths 1 46.9k | docstring_tokens listlengths 1 1.97k | sha stringlengths 40 40 | url stringlengths 87 315 | partition stringclasses 3
values | summary stringlengths 4 350 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
StackStorm/pybind | pybind/slxos/v17r_1_01a/openflow_global/openflow/mirror/__init__.py | mirror._set_destination | def _set_destination(self, v, load=False):
"""
Setter method for destination, mapped from YANG variable /openflow_global/openflow/mirror/destination (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_destination is considered as a private
method. Backends lo... | python | def _set_destination(self, v, load=False):
"""
Setter method for destination, mapped from YANG variable /openflow_global/openflow/mirror/destination (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_destination is considered as a private
method. Backends lo... | [
"def",
"_set_destination",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for destination, mapped from YANG variable /openflow_global/openflow/mirror/destination (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_destination is considered as a private
method. Backends looking to populate this variable should
do so via ca... | [
"Setter",
"method",
"for",
"destination",
"mapped",
"from",
"YANG",
"variable",
"/",
"openflow_global",
"/",
"openflow",
"/",
"mirror",
"/",
"destination",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/openflow_global/openflow/mirror/__init__.py#L92-L113 | train | Sets the destination of the
|
StackStorm/pybind | pybind/nos/v6_0_2f/interface/port_channel/mac_learning/__init__.py | mac_learning._set_mac_learn_disable | def _set_mac_learn_disable(self, v, load=False):
"""
Setter method for mac_learn_disable, mapped from YANG variable /interface/port_channel/mac_learning/mac_learn_disable (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mac_learn_disable is considered as a pri... | python | def _set_mac_learn_disable(self, v, load=False):
"""
Setter method for mac_learn_disable, mapped from YANG variable /interface/port_channel/mac_learning/mac_learn_disable (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mac_learn_disable is considered as a pri... | [
"def",
"_set_mac_learn_disable",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",... | Setter method for mac_learn_disable, mapped from YANG variable /interface/port_channel/mac_learning/mac_learn_disable (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mac_learn_disable is considered as a private
method. Backends looking to populate this variable s... | [
"Setter",
"method",
"for",
"mac_learn_disable",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"port_channel",
"/",
"mac_learning",
"/",
"mac_learn_disable",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/port_channel/mac_learning/__init__.py#L92-L113 | train | Sets the enable flag for the MAC learning group. |
BD2KGenomics/protect | src/protect/mutation_calling/muse.py | run_muse_with_merge | def run_muse_with_merge(job, tumor_bam, normal_bam, univ_options, muse_options):
"""
A wrapper for the the entire MuSE sub-graph.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of universal o... | python | def run_muse_with_merge(job, tumor_bam, normal_bam, univ_options, muse_options):
"""
A wrapper for the the entire MuSE sub-graph.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of universal o... | [
"def",
"run_muse_with_merge",
"(",
"job",
",",
"tumor_bam",
",",
"normal_bam",
",",
"univ_options",
",",
"muse_options",
")",
":",
"spawn",
"=",
"job",
".",
"wrapJobFn",
"(",
"run_muse",
",",
"tumor_bam",
",",
"normal_bam",
",",
"univ_options",
",",
"muse_opti... | A wrapper for the the entire MuSE sub-graph.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of universal options used by almost all tools
:param dict muse_options: Options specific to MuSE
:r... | [
"A",
"wrapper",
"for",
"the",
"the",
"entire",
"MuSE",
"sub",
"-",
"graph",
"."
] | 06310682c50dcf8917b912c8e551299ff7ee41ce | https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/src/protect/mutation_calling/muse.py#L44-L60 | train | A wrapper for the entire MuSE sub - graph. |
BD2KGenomics/protect | src/protect/mutation_calling/muse.py | run_muse | def run_muse(job, tumor_bam, normal_bam, univ_options, muse_options):
"""
Spawn a MuSE job for each chromosome on the DNA bams.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of universal opt... | python | def run_muse(job, tumor_bam, normal_bam, univ_options, muse_options):
"""
Spawn a MuSE job for each chromosome on the DNA bams.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of universal opt... | [
"def",
"run_muse",
"(",
"job",
",",
"tumor_bam",
",",
"normal_bam",
",",
"univ_options",
",",
"muse_options",
")",
":",
"# Get a list of chromosomes to handle",
"if",
"muse_options",
"[",
"'chromosomes'",
"]",
":",
"chromosomes",
"=",
"muse_options",
"[",
"'chromoso... | Spawn a MuSE job for each chromosome on the DNA bams.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of universal options used by almost all tools
:param dict muse_options: Options specific to Mu... | [
"Spawn",
"a",
"MuSE",
"job",
"for",
"each",
"chromosome",
"on",
"the",
"DNA",
"bams",
"."
] | 06310682c50dcf8917b912c8e551299ff7ee41ce | https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/src/protect/mutation_calling/muse.py#L63-L101 | train | Spawn a MuSE job for each chromosome on the DNA bams. |
BD2KGenomics/protect | src/protect/mutation_calling/muse.py | run_muse_perchrom | def run_muse_perchrom(job, tumor_bam, normal_bam, univ_options, muse_options, chrom):
"""
Run MuSE call on a single chromosome in the input bams.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dic... | python | def run_muse_perchrom(job, tumor_bam, normal_bam, univ_options, muse_options, chrom):
"""
Run MuSE call on a single chromosome in the input bams.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dic... | [
"def",
"run_muse_perchrom",
"(",
"job",
",",
"tumor_bam",
",",
"normal_bam",
",",
"univ_options",
",",
"muse_options",
",",
"chrom",
")",
":",
"work_dir",
"=",
"os",
".",
"getcwd",
"(",
")",
"input_files",
"=",
"{",
"'tumor.bam'",
":",
"tumor_bam",
"[",
"'... | Run MuSE call on a single chromosome in the input bams.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of universal options used by almost all tools
:param dict muse_options: Options specific to ... | [
"Run",
"MuSE",
"call",
"on",
"a",
"single",
"chromosome",
"in",
"the",
"input",
"bams",
"."
] | 06310682c50dcf8917b912c8e551299ff7ee41ce | https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/src/protect/mutation_calling/muse.py#L104-L142 | train | This function will run MuSE on a single chromosome in the input bams. |
BD2KGenomics/protect | src/protect/mutation_calling/muse.py | run_muse_sump_perchrom | def run_muse_sump_perchrom(job, muse_output, univ_options, muse_options, chrom):
"""
Run MuSE sump on the MuSE call generated vcf.
:param toil.fileStore.FileID muse_output: vcf generated by MuSE call
:param dict univ_options: Dict of universal options used by almost all tools
:param dict muse_optio... | python | def run_muse_sump_perchrom(job, muse_output, univ_options, muse_options, chrom):
"""
Run MuSE sump on the MuSE call generated vcf.
:param toil.fileStore.FileID muse_output: vcf generated by MuSE call
:param dict univ_options: Dict of universal options used by almost all tools
:param dict muse_optio... | [
"def",
"run_muse_sump_perchrom",
"(",
"job",
",",
"muse_output",
",",
"univ_options",
",",
"muse_options",
",",
"chrom",
")",
":",
"work_dir",
"=",
"os",
".",
"getcwd",
"(",
")",
"input_files",
"=",
"{",
"'MuSE.txt'",
":",
"muse_output",
",",
"'dbsnp_coding.vc... | Run MuSE sump on the MuSE call generated vcf.
:param toil.fileStore.FileID muse_output: vcf generated by MuSE call
:param dict univ_options: Dict of universal options used by almost all tools
:param dict muse_options: Options specific to MuSE
:param str chrom: Chromosome to process
:return: fsID fo... | [
"Run",
"MuSE",
"sump",
"on",
"the",
"MuSE",
"call",
"generated",
"vcf",
"."
] | 06310682c50dcf8917b912c8e551299ff7ee41ce | https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/src/protect/mutation_calling/muse.py#L145-L182 | train | This module will run MuSE sump on the MuSE vcf. |
StackStorm/pybind | pybind/nos/v6_0_2f/firmware/__init__.py | firmware._set_autoupgrade | def _set_autoupgrade(self, v, load=False):
"""
Setter method for autoupgrade, mapped from YANG variable /firmware/autoupgrade (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_autoupgrade is considered as a private
method. Backends looking to populate this ... | python | def _set_autoupgrade(self, v, load=False):
"""
Setter method for autoupgrade, mapped from YANG variable /firmware/autoupgrade (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_autoupgrade is considered as a private
method. Backends looking to populate this ... | [
"def",
"_set_autoupgrade",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for autoupgrade, mapped from YANG variable /firmware/autoupgrade (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_autoupgrade is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_auto... | [
"Setter",
"method",
"for",
"autoupgrade",
"mapped",
"from",
"YANG",
"variable",
"/",
"firmware",
"/",
"autoupgrade",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/firmware/__init__.py#L129-L150 | train | Sets the auto - upgrade parameter of the specified
. |
StackStorm/pybind | pybind/nos/v6_0_2f/firmware/__init__.py | firmware._set_autoupgrade_params | def _set_autoupgrade_params(self, v, load=False):
"""
Setter method for autoupgrade_params, mapped from YANG variable /firmware/autoupgrade_params (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_autoupgrade_params is considered as a private
method. Backen... | python | def _set_autoupgrade_params(self, v, load=False):
"""
Setter method for autoupgrade_params, mapped from YANG variable /firmware/autoupgrade_params (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_autoupgrade_params is considered as a private
method. Backen... | [
"def",
"_set_autoupgrade_params",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
","... | Setter method for autoupgrade_params, mapped from YANG variable /firmware/autoupgrade_params (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_autoupgrade_params is considered as a private
method. Backends looking to populate this variable should
do so via call... | [
"Setter",
"method",
"for",
"autoupgrade_params",
"mapped",
"from",
"YANG",
"variable",
"/",
"firmware",
"/",
"autoupgrade_params",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"sou... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/firmware/__init__.py#L162-L183 | train | Sets auto - upgrade parameters for the given node. |
StackStorm/pybind | pybind/nos/v7_2_0/rbridge_id/vrf/address_family/ipv6/unicast/__init__.py | unicast._set_route_target | def _set_route_target(self, v, load=False):
"""
Setter method for route_target, mapped from YANG variable /rbridge_id/vrf/address_family/ipv6/unicast/route_target (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_route_target is considered as a private
method. B... | python | def _set_route_target(self, v, load=False):
"""
Setter method for route_target, mapped from YANG variable /rbridge_id/vrf/address_family/ipv6/unicast/route_target (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_route_target is considered as a private
method. B... | [
"def",
"_set_route_target",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"b... | Setter method for route_target, mapped from YANG variable /rbridge_id/vrf/address_family/ipv6/unicast/route_target (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_route_target is considered as a private
method. Backends looking to populate this variable should
do ... | [
"Setter",
"method",
"for",
"route_target",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"vrf",
"/",
"address_family",
"/",
"ipv6",
"/",
"unicast",
"/",
"route_target",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/rbridge_id/vrf/address_family/ipv6/unicast/__init__.py#L136-L157 | train | Set the route_target of the
|
StackStorm/pybind | pybind/nos/v6_0_2f/interface/fortygigabitethernet/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix/lifetime/__init__.py | lifetime._set_no_advertise | def _set_no_advertise(self, v, load=False):
"""
Setter method for no_advertise, mapped from YANG variable /interface/fortygigabitethernet/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix/lifetime/no_advertise (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_no_advertise i... | python | def _set_no_advertise(self, v, load=False):
"""
Setter method for no_advertise, mapped from YANG variable /interface/fortygigabitethernet/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix/lifetime/no_advertise (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_no_advertise i... | [
"def",
"_set_no_advertise",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"b... | Setter method for no_advertise, mapped from YANG variable /interface/fortygigabitethernet/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix/lifetime/no_advertise (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_no_advertise is considered as a private
method. Backends looking t... | [
"Setter",
"method",
"for",
"no_advertise",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"fortygigabitethernet",
"/",
"ipv6",
"/",
"ipv6_nd_ra",
"/",
"ipv6_intf_cmds",
"/",
"nd",
"/",
"prefix",
"/",
"lifetime",
"/",
"no_advertise",
"(",
"empty",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/fortygigabitethernet/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix/lifetime/__init__.py#L95-L116 | train | Set no advertise flag. |
StackStorm/pybind | pybind/nos/v6_0_2f/interface/fortygigabitethernet/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix/lifetime/__init__.py | lifetime._set_valid_lifetime | def _set_valid_lifetime(self, v, load=False):
"""
Setter method for valid_lifetime, mapped from YANG variable /interface/fortygigabitethernet/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix/lifetime/valid_lifetime (common-def:time-interval-sec)
If this variable is read-only (config: false) in the
source YANG f... | python | def _set_valid_lifetime(self, v, load=False):
"""
Setter method for valid_lifetime, mapped from YANG variable /interface/fortygigabitethernet/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix/lifetime/valid_lifetime (common-def:time-interval-sec)
If this variable is read-only (config: false) in the
source YANG f... | [
"def",
"_set_valid_lifetime",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for valid_lifetime, mapped from YANG variable /interface/fortygigabitethernet/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix/lifetime/valid_lifetime (common-def:time-interval-sec)
If this variable is read-only (config: false) in the
source YANG file, then _set_valid_lifetime is considered as a private
... | [
"Setter",
"method",
"for",
"valid_lifetime",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"fortygigabitethernet",
"/",
"ipv6",
"/",
"ipv6_nd_ra",
"/",
"ipv6_intf_cmds",
"/",
"nd",
"/",
"prefix",
"/",
"lifetime",
"/",
"valid_lifetime",
"(",
"commo... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/fortygigabitethernet/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix/lifetime/__init__.py#L128-L149 | train | Sets the valid lifetime of the node. |
StackStorm/pybind | pybind/nos/v6_0_2f/interface/fortygigabitethernet/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix/lifetime/__init__.py | lifetime._set_valid_infinite | def _set_valid_infinite(self, v, load=False):
"""
Setter method for valid_infinite, mapped from YANG variable /interface/fortygigabitethernet/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix/lifetime/valid_infinite (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_valid_in... | python | def _set_valid_infinite(self, v, load=False):
"""
Setter method for valid_infinite, mapped from YANG variable /interface/fortygigabitethernet/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix/lifetime/valid_infinite (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_valid_in... | [
"def",
"_set_valid_infinite",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for valid_infinite, mapped from YANG variable /interface/fortygigabitethernet/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix/lifetime/valid_infinite (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_valid_infinite is considered as a private
method. Backends loo... | [
"Setter",
"method",
"for",
"valid_infinite",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"fortygigabitethernet",
"/",
"ipv6",
"/",
"ipv6_nd_ra",
"/",
"ipv6_intf_cmds",
"/",
"nd",
"/",
"prefix",
"/",
"lifetime",
"/",
"valid_infinite",
"(",
"empty... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/fortygigabitethernet/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix/lifetime/__init__.py#L161-L182 | train | Set the valid_infinite variable. |
StackStorm/pybind | pybind/nos/v6_0_2f/brocade_fcoe_ext_rpc/__init__.py | brocade_fcoe_ext._set_fcoe_get_interface | def _set_fcoe_get_interface(self, v, load=False):
"""
Setter method for fcoe_get_interface, mapped from YANG variable /brocade_fcoe_ext_rpc/fcoe_get_interface (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_get_interface is considered as a private
method. ... | python | def _set_fcoe_get_interface(self, v, load=False):
"""
Setter method for fcoe_get_interface, mapped from YANG variable /brocade_fcoe_ext_rpc/fcoe_get_interface (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_get_interface is considered as a private
method. ... | [
"def",
"_set_fcoe_get_interface",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
","... | Setter method for fcoe_get_interface, mapped from YANG variable /brocade_fcoe_ext_rpc/fcoe_get_interface (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_get_interface is considered as a private
method. Backends looking to populate this variable should
do so vi... | [
"Setter",
"method",
"for",
"fcoe_get_interface",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_fcoe_ext_rpc",
"/",
"fcoe_get_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_fcoe_ext_rpc/__init__.py#L134-L158 | train | This method is used to set the internal state of the FCoE
interface object. |
StackStorm/pybind | pybind/nos/v6_0_2f/interface/port_channel/ipv6/hide_vrrpv3_holder/vrrpv3/__init__.py | vrrpv3._set_virtual_ip | def _set_virtual_ip(self, v, load=False):
"""
Setter method for virtual_ip, mapped from YANG variable /interface/port_channel/ipv6/hide_vrrpv3_holder/vrrpv3/virtual_ip (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_virtual_ip is considered as a private
method... | python | def _set_virtual_ip(self, v, load=False):
"""
Setter method for virtual_ip, mapped from YANG variable /interface/port_channel/ipv6/hide_vrrpv3_holder/vrrpv3/virtual_ip (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_virtual_ip is considered as a private
method... | [
"def",
"_set_virtual_ip",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for virtual_ip, mapped from YANG variable /interface/port_channel/ipv6/hide_vrrpv3_holder/vrrpv3/virtual_ip (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_virtual_ip is considered as a private
method. Backends looking to populate this variable should
... | [
"Setter",
"method",
"for",
"virtual_ip",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"port_channel",
"/",
"ipv6",
"/",
"hide_vrrpv3_holder",
"/",
"vrrpv3",
"/",
"virtual_ip",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"on... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/port_channel/ipv6/hide_vrrpv3_holder/vrrpv3/__init__.py#L139-L160 | train | Sets the virtual IP of the
based on the given list of virtual IP addresses. |
StackStorm/pybind | pybind/nos/v6_0_2f/rbridge_id/ag/__init__.py | ag._set_counter | def _set_counter(self, v, load=False):
"""
Setter method for counter, mapped from YANG variable /rbridge_id/ag/counter (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_counter is considered as a private
method. Backends looking to populate this variable sh... | python | def _set_counter(self, v, load=False):
"""
Setter method for counter, mapped from YANG variable /rbridge_id/ag/counter (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_counter is considered as a private
method. Backends looking to populate this variable sh... | [
"def",
"_set_counter",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",... | Setter method for counter, mapped from YANG variable /rbridge_id/ag/counter (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_counter is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_counter() d... | [
"Setter",
"method",
"for",
"counter",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"ag",
"/",
"counter",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/ag/__init__.py#L132-L153 | train | Sets the counter value for the
|
StackStorm/pybind | pybind/nos/v6_0_2f/rbridge_id/ag/__init__.py | ag._set_nport_menu | def _set_nport_menu(self, v, load=False):
"""
Setter method for nport_menu, mapped from YANG variable /rbridge_id/ag/nport_menu (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_nport_menu is considered as a private
method. Backends looking to populate this... | python | def _set_nport_menu(self, v, load=False):
"""
Setter method for nport_menu, mapped from YANG variable /rbridge_id/ag/nport_menu (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_nport_menu is considered as a private
method. Backends looking to populate this... | [
"def",
"_set_nport_menu",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for nport_menu, mapped from YANG variable /rbridge_id/ag/nport_menu (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_nport_menu is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_np... | [
"Setter",
"method",
"for",
"nport_menu",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"ag",
"/",
"nport_menu",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"so... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/ag/__init__.py#L198-L219 | train | Set the nport menu. |
StackStorm/pybind | pybind/nos/v6_0_2f/rbridge_id/ag/__init__.py | ag._set_pg | def _set_pg(self, v, load=False):
"""
Setter method for pg, mapped from YANG variable /rbridge_id/ag/pg (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_pg is considered as a private
method. Backends looking to populate this variable should
do so via callin... | python | def _set_pg(self, v, load=False):
"""
Setter method for pg, mapped from YANG variable /rbridge_id/ag/pg (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_pg is considered as a private
method. Backends looking to populate this variable should
do so via callin... | [
"def",
"_set_pg",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
"=... | Setter method for pg, mapped from YANG variable /rbridge_id/ag/pg (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_pg is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_pg() directly. | [
"Setter",
"method",
"for",
"pg",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"ag",
"/",
"pg",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"f... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/ag/__init__.py#L231-L252 | train | Sets the pg field in the cluster. |
StackStorm/pybind | pybind/nos/v6_0_2f/brocade_system_monitor_ext_rpc/show_system_monitor/output/switch_status/__init__.py | switch_status._set_switch_state | def _set_switch_state(self, v, load=False):
"""
Setter method for switch_state, mapped from YANG variable /brocade_system_monitor_ext_rpc/show_system_monitor/output/switch_status/switch_state (system-monitor-health-state-enum)
If this variable is read-only (config: false) in the
source YANG file, then _... | python | def _set_switch_state(self, v, load=False):
"""
Setter method for switch_state, mapped from YANG variable /brocade_system_monitor_ext_rpc/show_system_monitor/output/switch_status/switch_state (system-monitor-health-state-enum)
If this variable is read-only (config: false) in the
source YANG file, then _... | [
"def",
"_set_switch_state",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"b... | Setter method for switch_state, mapped from YANG variable /brocade_system_monitor_ext_rpc/show_system_monitor/output/switch_status/switch_state (system-monitor-health-state-enum)
If this variable is read-only (config: false) in the
source YANG file, then _set_switch_state is considered as a private
method. ... | [
"Setter",
"method",
"for",
"switch_state",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_system_monitor_ext_rpc",
"/",
"show_system_monitor",
"/",
"output",
"/",
"switch_status",
"/",
"switch_state",
"(",
"system",
"-",
"monitor",
"-",
"health",
"-",
"state",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_system_monitor_ext_rpc/show_system_monitor/output/switch_status/__init__.py#L246-L269 | train | Sets the state of the cluster. |
bkg/django-spillway | spillway/models.py | AbstractRasterStore.linear | def linear(self, limits=None, k=5):
"""Returns an ndarray of linear breaks."""
start, stop = limits or (self.minval, self.maxval)
return np.linspace(start, stop, k) | python | def linear(self, limits=None, k=5):
"""Returns an ndarray of linear breaks."""
start, stop = limits or (self.minval, self.maxval)
return np.linspace(start, stop, k) | [
"def",
"linear",
"(",
"self",
",",
"limits",
"=",
"None",
",",
"k",
"=",
"5",
")",
":",
"start",
",",
"stop",
"=",
"limits",
"or",
"(",
"self",
".",
"minval",
",",
"self",
".",
"maxval",
")",
"return",
"np",
".",
"linspace",
"(",
"start",
",",
... | Returns an ndarray of linear breaks. | [
"Returns",
"an",
"ndarray",
"of",
"linear",
"breaks",
"."
] | c488a62642430b005f1e0d4a19e160d8d5964b67 | https://github.com/bkg/django-spillway/blob/c488a62642430b005f1e0d4a19e160d8d5964b67/spillway/models.py#L81-L84 | train | Returns an ndarray of linear breaks. |
bkg/django-spillway | spillway/models.py | AbstractRasterStore.quantiles | def quantiles(self, k=5):
"""Returns an ndarray of quantile breaks."""
arr = self.array()
q = list(np.linspace(0, 100, k))
return np.percentile(arr.compressed(), q) | python | def quantiles(self, k=5):
"""Returns an ndarray of quantile breaks."""
arr = self.array()
q = list(np.linspace(0, 100, k))
return np.percentile(arr.compressed(), q) | [
"def",
"quantiles",
"(",
"self",
",",
"k",
"=",
"5",
")",
":",
"arr",
"=",
"self",
".",
"array",
"(",
")",
"q",
"=",
"list",
"(",
"np",
".",
"linspace",
"(",
"0",
",",
"100",
",",
"k",
")",
")",
"return",
"np",
".",
"percentile",
"(",
"arr",
... | Returns an ndarray of quantile breaks. | [
"Returns",
"an",
"ndarray",
"of",
"quantile",
"breaks",
"."
] | c488a62642430b005f1e0d4a19e160d8d5964b67 | https://github.com/bkg/django-spillway/blob/c488a62642430b005f1e0d4a19e160d8d5964b67/spillway/models.py#L86-L90 | train | Returns an ndarray of quantile breaks. |
StackStorm/pybind | pybind/nos/v6_0_2f/ipv6_acl/ipv6/access_list/__init__.py | access_list._set_standard | def _set_standard(self, v, load=False):
"""
Setter method for standard, mapped from YANG variable /ipv6_acl/ipv6/access_list/standard (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_standard is considered as a private
method. Backends looking to populate this ... | python | def _set_standard(self, v, load=False):
"""
Setter method for standard, mapped from YANG variable /ipv6_acl/ipv6/access_list/standard (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_standard is considered as a private
method. Backends looking to populate this ... | [
"def",
"_set_standard",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for standard, mapped from YANG variable /ipv6_acl/ipv6/access_list/standard (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_standard is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_s... | [
"Setter",
"method",
"for",
"standard",
"mapped",
"from",
"YANG",
"variable",
"/",
"ipv6_acl",
"/",
"ipv6",
"/",
"access_list",
"/",
"standard",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/ipv6_acl/ipv6/access_list/__init__.py#L94-L115 | train | Set the standard ACL of the
|
StackStorm/pybind | pybind/nos/v6_0_2f/ipv6_acl/ipv6/access_list/__init__.py | access_list._set_extended | def _set_extended(self, v, load=False):
"""
Setter method for extended, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_extended is considered as a private
method. Backends looking to populate this ... | python | def _set_extended(self, v, load=False):
"""
Setter method for extended, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_extended is considered as a private
method. Backends looking to populate this ... | [
"def",
"_set_extended",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for extended, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_extended is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_e... | [
"Setter",
"method",
"for",
"extended",
"mapped",
"from",
"YANG",
"variable",
"/",
"ipv6_acl",
"/",
"ipv6",
"/",
"access_list",
"/",
"extended",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/ipv6_acl/ipv6/access_list/__init__.py#L127-L148 | train | Set the extended property of the
based on the list of extended ACLs. |
StackStorm/pybind | pybind/nos/v6_0_2f/rbridge_id/ag/nport_menu/nport_interface/__init__.py | nport_interface._set_nport | def _set_nport(self, v, load=False):
"""
Setter method for nport, mapped from YANG variable /rbridge_id/ag/nport_menu/nport_interface/nport (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_nport is considered as a private
method. Backends looking to populate th... | python | def _set_nport(self, v, load=False):
"""
Setter method for nport, mapped from YANG variable /rbridge_id/ag/nport_menu/nport_interface/nport (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_nport is considered as a private
method. Backends looking to populate th... | [
"def",
"_set_nport",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for nport, mapped from YANG variable /rbridge_id/ag/nport_menu/nport_interface/nport (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_nport is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj.... | [
"Setter",
"method",
"for",
"nport",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"ag",
"/",
"nport_menu",
"/",
"nport_interface",
"/",
"nport",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"f... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/ag/nport_menu/nport_interface/__init__.py#L92-L113 | train | Set the nport property of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/igmp_snooping/ip/igmp/__init__.py | igmp._set_ssm_map | def _set_ssm_map(self, v, load=False):
"""
Setter method for ssm_map, mapped from YANG variable /igmp_snooping/ip/igmp/ssm_map (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ssm_map is considered as a private
method. Backends looking to populate this var... | python | def _set_ssm_map(self, v, load=False):
"""
Setter method for ssm_map, mapped from YANG variable /igmp_snooping/ip/igmp/ssm_map (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ssm_map is considered as a private
method. Backends looking to populate this var... | [
"def",
"_set_ssm_map",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",... | Setter method for ssm_map, mapped from YANG variable /igmp_snooping/ip/igmp/ssm_map (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ssm_map is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_ssm... | [
"Setter",
"method",
"for",
"ssm_map",
"mapped",
"from",
"YANG",
"variable",
"/",
"igmp_snooping",
"/",
"ip",
"/",
"igmp",
"/",
"ssm_map",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/igmp_snooping/ip/igmp/__init__.py#L128-L149 | train | Sets the SSM Map for the IGIMP snooping group. |
StackStorm/pybind | pybind/slxos/v17s_1_02/routing_system/router/isis/router_isis_cmds_holder/router_isis_attributes/hello/padding/__init__.py | padding._set_hello_padding_point_to_point | def _set_hello_padding_point_to_point(self, v, load=False):
"""
Setter method for hello_padding_point_to_point, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/router_isis_attributes/hello/padding/hello_padding_point_to_point (container)
If this variable is read-only (config: f... | python | def _set_hello_padding_point_to_point(self, v, load=False):
"""
Setter method for hello_padding_point_to_point, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/router_isis_attributes/hello/padding/hello_padding_point_to_point (container)
If this variable is read-only (config: f... | [
"def",
"_set_hello_padding_point_to_point",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
... | Setter method for hello_padding_point_to_point, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/router_isis_attributes/hello/padding/hello_padding_point_to_point (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_hello_padding_point_to_poin... | [
"Setter",
"method",
"for",
"hello_padding_point_to_point",
"mapped",
"from",
"YANG",
"variable",
"/",
"routing_system",
"/",
"router",
"/",
"isis",
"/",
"router_isis_cmds_holder",
"/",
"router_isis_attributes",
"/",
"hello",
"/",
"padding",
"/",
"hello_padding_point_to_... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/routing_system/router/isis/router_isis_cmds_holder/router_isis_attributes/hello/padding/__init__.py#L93-L114 | train | Sets the value of hello_padding_point_to_point in the ISIS header. |
StackStorm/pybind | pybind/nos/v6_0_2f/rbridge_id/hardware_profile/kap/__init__.py | kap._set_customized | def _set_customized(self, v, load=False):
"""
Setter method for customized, mapped from YANG variable /rbridge_id/hardware_profile/kap/customized (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_customized is considered as a private
method. Backends lookin... | python | def _set_customized(self, v, load=False):
"""
Setter method for customized, mapped from YANG variable /rbridge_id/hardware_profile/kap/customized (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_customized is considered as a private
method. Backends lookin... | [
"def",
"_set_customized",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for customized, mapped from YANG variable /rbridge_id/hardware_profile/kap/customized (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_customized is considered as a private
method. Backends looking to populate this variable should
do so via calli... | [
"Setter",
"method",
"for",
"customized",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"hardware_profile",
"/",
"kap",
"/",
"customized",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/hardware_profile/kap/__init__.py#L127-L148 | train | Sets the customized property of the
|
StackStorm/pybind | pybind/slxos/v17r_1_01a/routing_system/ipv6/__init__.py | ipv6._set_receive | def _set_receive(self, v, load=False):
"""
Setter method for receive, mapped from YANG variable /routing_system/ipv6/receive (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_receive is considered as a private
method. Backends looking to populate this varia... | python | def _set_receive(self, v, load=False):
"""
Setter method for receive, mapped from YANG variable /routing_system/ipv6/receive (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_receive is considered as a private
method. Backends looking to populate this varia... | [
"def",
"_set_receive",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",... | Setter method for receive, mapped from YANG variable /routing_system/ipv6/receive (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_receive is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_recei... | [
"Setter",
"method",
"for",
"receive",
"mapped",
"from",
"YANG",
"variable",
"/",
"routing_system",
"/",
"ipv6",
"/",
"receive",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"so... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/routing_system/ipv6/__init__.py#L133-L154 | train | Sets the receive property of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/brocade_cluster_rpc/__init__.py | brocade_cluster._set_show_cluster_management | def _set_show_cluster_management(self, v, load=False):
"""
Setter method for show_cluster_management, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_cluster_management is considered as a p... | python | def _set_show_cluster_management(self, v, load=False):
"""
Setter method for show_cluster_management, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_cluster_management is considered as a p... | [
"def",
"_set_show_cluster_management",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
... | Setter method for show_cluster_management, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_cluster_management is considered as a private
method. Backends looking to populate this variable shoul... | [
"Setter",
"method",
"for",
"show_cluster_management",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_cluster_rpc",
"/",
"show_cluster_management",
"(",
"rpc",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_cluster_rpc/__init__.py#L94-L115 | train | Sets the show - cluster - management value for the
|
StackStorm/pybind | pybind/slxos/v17r_1_01a/beacon/__init__.py | beacon._set_enable | def _set_enable(self, v, load=False):
"""
Setter method for enable, mapped from YANG variable /beacon/enable (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_enable is considered as a private
method. Backends looking to populate this variable should
do... | python | def _set_enable(self, v, load=False):
"""
Setter method for enable, mapped from YANG variable /beacon/enable (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_enable is considered as a private
method. Backends looking to populate this variable should
do... | [
"def",
"_set_enable",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for enable, mapped from YANG variable /beacon/enable (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_enable is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_enable() directly. | [
"Setter",
"method",
"for",
"enable",
"mapped",
"from",
"YANG",
"variable",
"/",
"beacon",
"/",
"enable",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"file",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/beacon/__init__.py#L94-L115 | train | Set enable variable. |
StackStorm/pybind | pybind/nos/v6_0_2f/policy_map/class_/scheduler/strict_priority/__init__.py | strict_priority._set_TC1 | def _set_TC1(self, v, load=False):
"""
Setter method for TC1, mapped from YANG variable /policy_map/class/scheduler/strict_priority/TC1 (shaping-rate-limit)
If this variable is read-only (config: false) in the
source YANG file, then _set_TC1 is considered as a private
method. Backends looking to pop... | python | def _set_TC1(self, v, load=False):
"""
Setter method for TC1, mapped from YANG variable /policy_map/class/scheduler/strict_priority/TC1 (shaping-rate-limit)
If this variable is read-only (config: false) in the
source YANG file, then _set_TC1 is considered as a private
method. Backends looking to pop... | [
"def",
"_set_TC1",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
"... | Setter method for TC1, mapped from YANG variable /policy_map/class/scheduler/strict_priority/TC1 (shaping-rate-limit)
If this variable is read-only (config: false) in the
source YANG file, then _set_TC1 is considered as a private
method. Backends looking to populate this variable should
do so via callin... | [
"Setter",
"method",
"for",
"TC1",
"mapped",
"from",
"YANG",
"variable",
"/",
"policy_map",
"/",
"class",
"/",
"scheduler",
"/",
"strict_priority",
"/",
"TC1",
"(",
"shaping",
"-",
"rate",
"-",
"limit",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"o... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/policy_map/class_/scheduler/strict_priority/__init__.py#L437-L458 | train | Sets the TC1 value for the cluster. |
bkg/django-spillway | spillway/forms/fields.py | CommaSepFloatField.to_python | def to_python(self, value):
"""Normalize data to a list of floats."""
if not value:
return []
return map(super(CommaSepFloatField, self).to_python, value.split(',')) | python | def to_python(self, value):
"""Normalize data to a list of floats."""
if not value:
return []
return map(super(CommaSepFloatField, self).to_python, value.split(',')) | [
"def",
"to_python",
"(",
"self",
",",
"value",
")",
":",
"if",
"not",
"value",
":",
"return",
"[",
"]",
"return",
"map",
"(",
"super",
"(",
"CommaSepFloatField",
",",
"self",
")",
".",
"to_python",
",",
"value",
".",
"split",
"(",
"','",
")",
")"
] | Normalize data to a list of floats. | [
"Normalize",
"data",
"to",
"a",
"list",
"of",
"floats",
"."
] | c488a62642430b005f1e0d4a19e160d8d5964b67 | https://github.com/bkg/django-spillway/blob/c488a62642430b005f1e0d4a19e160d8d5964b67/spillway/forms/fields.py#L27-L31 | train | Normalize data to a list of floats. |
bkg/django-spillway | spillway/forms/fields.py | CommaSepFloatField.run_validators | def run_validators(self, values):
"""Run validators for each item separately."""
for val in values:
super(CommaSepFloatField, self).run_validators(val) | python | def run_validators(self, values):
"""Run validators for each item separately."""
for val in values:
super(CommaSepFloatField, self).run_validators(val) | [
"def",
"run_validators",
"(",
"self",
",",
"values",
")",
":",
"for",
"val",
"in",
"values",
":",
"super",
"(",
"CommaSepFloatField",
",",
"self",
")",
".",
"run_validators",
"(",
"val",
")"
] | Run validators for each item separately. | [
"Run",
"validators",
"for",
"each",
"item",
"separately",
"."
] | c488a62642430b005f1e0d4a19e160d8d5964b67 | https://github.com/bkg/django-spillway/blob/c488a62642430b005f1e0d4a19e160d8d5964b67/spillway/forms/fields.py#L33-L36 | train | Run validators for each item separately. |
bkg/django-spillway | spillway/forms/fields.py | BoundingBoxField.to_python | def to_python(self, value):
"""Returns a GEOS Polygon from bounding box values."""
value = super(BoundingBoxField, self).to_python(value)
try:
bbox = gdal.OGRGeometry.from_bbox(value).geos
except (ValueError, AttributeError):
return []
bbox.srid = self.sri... | python | def to_python(self, value):
"""Returns a GEOS Polygon from bounding box values."""
value = super(BoundingBoxField, self).to_python(value)
try:
bbox = gdal.OGRGeometry.from_bbox(value).geos
except (ValueError, AttributeError):
return []
bbox.srid = self.sri... | [
"def",
"to_python",
"(",
"self",
",",
"value",
")",
":",
"value",
"=",
"super",
"(",
"BoundingBoxField",
",",
"self",
")",
".",
"to_python",
"(",
"value",
")",
"try",
":",
"bbox",
"=",
"gdal",
".",
"OGRGeometry",
".",
"from_bbox",
"(",
"value",
")",
... | Returns a GEOS Polygon from bounding box values. | [
"Returns",
"a",
"GEOS",
"Polygon",
"from",
"bounding",
"box",
"values",
"."
] | c488a62642430b005f1e0d4a19e160d8d5964b67 | https://github.com/bkg/django-spillway/blob/c488a62642430b005f1e0d4a19e160d8d5964b67/spillway/forms/fields.py#L46-L54 | train | Returns a GEOS Polygon from bounding box values. |
StackStorm/pybind | pybind/slxos/v17s_1_02/qos/map_/traffic_class_mutation/__init__.py | traffic_class_mutation._set_traffic_class_mutation_mappings | def _set_traffic_class_mutation_mappings(self, v, load=False):
"""
Setter method for traffic_class_mutation_mappings, mapped from YANG variable /qos/map/traffic_class_mutation/traffic_class_mutation_mappings (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_traffic_... | python | def _set_traffic_class_mutation_mappings(self, v, load=False):
"""
Setter method for traffic_class_mutation_mappings, mapped from YANG variable /qos/map/traffic_class_mutation/traffic_class_mutation_mappings (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_traffic_... | [
"def",
"_set_traffic_class_mutation_mappings",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",... | Setter method for traffic_class_mutation_mappings, mapped from YANG variable /qos/map/traffic_class_mutation/traffic_class_mutation_mappings (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_traffic_class_mutation_mappings is considered as a private
method. Backends loo... | [
"Setter",
"method",
"for",
"traffic_class_mutation_mappings",
"mapped",
"from",
"YANG",
"variable",
"/",
"qos",
"/",
"map",
"/",
"traffic_class_mutation",
"/",
"traffic_class_mutation_mappings",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/qos/map_/traffic_class_mutation/__init__.py#L131-L152 | train | Sets the value of the Traffic - Class mutation mappings in the order they are defined. |
BD2KGenomics/protect | src/protect/mutation_calling/mutect.py | run_mutect_with_merge | def run_mutect_with_merge(job, tumor_bam, normal_bam, univ_options, mutect_options):
"""
A wrapper for the the entire MuTect sub-graph.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of unive... | python | def run_mutect_with_merge(job, tumor_bam, normal_bam, univ_options, mutect_options):
"""
A wrapper for the the entire MuTect sub-graph.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of unive... | [
"def",
"run_mutect_with_merge",
"(",
"job",
",",
"tumor_bam",
",",
"normal_bam",
",",
"univ_options",
",",
"mutect_options",
")",
":",
"spawn",
"=",
"job",
".",
"wrapJobFn",
"(",
"run_mutect",
",",
"tumor_bam",
",",
"normal_bam",
",",
"univ_options",
",",
"mut... | A wrapper for the the entire MuTect sub-graph.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of universal options used by almost all tools
:param dict mutect_options: Options specific to MuTect
... | [
"A",
"wrapper",
"for",
"the",
"the",
"entire",
"MuTect",
"sub",
"-",
"graph",
"."
] | 06310682c50dcf8917b912c8e551299ff7ee41ce | https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/src/protect/mutation_calling/mutect.py#L41-L57 | train | A wrapper for the entire MuTect sub - graph and merge the per - chromosome BAMs. |
BD2KGenomics/protect | src/protect/mutation_calling/mutect.py | run_mutect | def run_mutect(job, tumor_bam, normal_bam, univ_options, mutect_options):
"""
Spawn a MuTect job for each chromosome on the DNA bams.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of univers... | python | def run_mutect(job, tumor_bam, normal_bam, univ_options, mutect_options):
"""
Spawn a MuTect job for each chromosome on the DNA bams.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of univers... | [
"def",
"run_mutect",
"(",
"job",
",",
"tumor_bam",
",",
"normal_bam",
",",
"univ_options",
",",
"mutect_options",
")",
":",
"# Get a list of chromosomes to handle",
"if",
"mutect_options",
"[",
"'chromosomes'",
"]",
":",
"chromosomes",
"=",
"mutect_options",
"[",
"'... | Spawn a MuTect job for each chromosome on the DNA bams.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of universal options used by almost all tools
:param dict mutect_options: Options specific t... | [
"Spawn",
"a",
"MuTect",
"job",
"for",
"each",
"chromosome",
"on",
"the",
"DNA",
"bams",
"."
] | 06310682c50dcf8917b912c8e551299ff7ee41ce | https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/src/protect/mutation_calling/mutect.py#L60-L93 | train | This function runs MuTect on the DNA bams. |
BD2KGenomics/protect | src/protect/mutation_calling/mutect.py | run_mutect_perchrom | def run_mutect_perchrom(job, tumor_bam, normal_bam, univ_options, mutect_options, chrom):
"""
Run MuTect call on a single chromosome in the input bams.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_option... | python | def run_mutect_perchrom(job, tumor_bam, normal_bam, univ_options, mutect_options, chrom):
"""
Run MuTect call on a single chromosome in the input bams.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_option... | [
"def",
"run_mutect_perchrom",
"(",
"job",
",",
"tumor_bam",
",",
"normal_bam",
",",
"univ_options",
",",
"mutect_options",
",",
"chrom",
")",
":",
"work_dir",
"=",
"os",
".",
"getcwd",
"(",
")",
"input_files",
"=",
"{",
"'tumor.bam'",
":",
"tumor_bam",
"[",
... | Run MuTect call on a single chromosome in the input bams.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of universal options used by almost all tools
:param dict mutect_options: Options specific... | [
"Run",
"MuTect",
"call",
"on",
"a",
"single",
"chromosome",
"in",
"the",
"input",
"bams",
"."
] | 06310682c50dcf8917b912c8e551299ff7ee41ce | https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/src/protect/mutation_calling/mutect.py#L96-L150 | train | This function will run MuTect on a single chromosome in the input bams. |
BD2KGenomics/protect | src/protect/mutation_calling/mutect.py | process_mutect_vcf | def process_mutect_vcf(job, mutect_vcf, work_dir, univ_options):
"""
Process the MuTect vcf for accepted calls.
:param toil.fileStore.FileID mutect_vcf: fsID for a MuTect generated chromosome vcf
:param str work_dir: Working directory
:param dict univ_options: Dict of universal options used by almo... | python | def process_mutect_vcf(job, mutect_vcf, work_dir, univ_options):
"""
Process the MuTect vcf for accepted calls.
:param toil.fileStore.FileID mutect_vcf: fsID for a MuTect generated chromosome vcf
:param str work_dir: Working directory
:param dict univ_options: Dict of universal options used by almo... | [
"def",
"process_mutect_vcf",
"(",
"job",
",",
"mutect_vcf",
",",
"work_dir",
",",
"univ_options",
")",
":",
"mutect_vcf",
"=",
"job",
".",
"fileStore",
".",
"readGlobalFile",
"(",
"mutect_vcf",
")",
"with",
"open",
"(",
"mutect_vcf",
",",
"'r'",
")",
"as",
... | Process the MuTect vcf for accepted calls.
:param toil.fileStore.FileID mutect_vcf: fsID for a MuTect generated chromosome vcf
:param str work_dir: Working directory
:param dict univ_options: Dict of universal options used by almost all tools
:return: Path to the processed vcf
:rtype: str | [
"Process",
"the",
"MuTect",
"vcf",
"for",
"accepted",
"calls",
"."
] | 06310682c50dcf8917b912c8e551299ff7ee41ce | https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/src/protect/mutation_calling/mutect.py#L153-L174 | train | This function processes the MuTect vcf for accepted calls. |
StackStorm/pybind | pybind/nos/v7_2_0/event_handler/event_handler_list/trigger/__init__.py | trigger._set_vcs | def _set_vcs(self, v, load=False):
"""
Setter method for vcs, mapped from YANG variable /event_handler/event_handler_list/trigger/vcs (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_vcs is considered as a private
method. Backends looking to populate thi... | python | def _set_vcs(self, v, load=False):
"""
Setter method for vcs, mapped from YANG variable /event_handler/event_handler_list/trigger/vcs (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_vcs is considered as a private
method. Backends looking to populate thi... | [
"def",
"_set_vcs",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
"... | Setter method for vcs, mapped from YANG variable /event_handler/event_handler_list/trigger/vcs (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_vcs is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj... | [
"Setter",
"method",
"for",
"vcs",
"mapped",
"from",
"YANG",
"variable",
"/",
"event_handler",
"/",
"event_handler_list",
"/",
"trigger",
"/",
"vcs",
"(",
"enumeration",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/event_handler/event_handler_list/trigger/__init__.py#L136-L159 | train | Set the value of the vcs variable. |
StackStorm/pybind | pybind/slxos/v17s_1_02/rbridge_id/__init__.py | rbridge_id._set_interface_nodespecific | def _set_interface_nodespecific(self, v, load=False):
"""
Setter method for interface_nodespecific, mapped from YANG variable /rbridge_id/interface_nodespecific (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_nodespecific is considered as a private
... | python | def _set_interface_nodespecific(self, v, load=False):
"""
Setter method for interface_nodespecific, mapped from YANG variable /rbridge_id/interface_nodespecific (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_nodespecific is considered as a private
... | [
"def",
"_set_interface_nodespecific",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
... | Setter method for interface_nodespecific, mapped from YANG variable /rbridge_id/interface_nodespecific (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_nodespecific is considered as a private
method. Backends looking to populate this variable should
... | [
"Setter",
"method",
"for",
"interface_nodespecific",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"interface_nodespecific",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"th... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/rbridge_id/__init__.py#L187-L208 | train | Sets the value of the interface - nodespecific mapped from YANG variable |
StackStorm/pybind | pybind/slxos/v17s_1_02/rbridge_id/__init__.py | rbridge_id._set_ag | def _set_ag(self, v, load=False):
"""
Setter method for ag, mapped from YANG variable /rbridge_id/ag (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ag is considered as a private
method. Backends looking to populate this variable should
do so via call... | python | def _set_ag(self, v, load=False):
"""
Setter method for ag, mapped from YANG variable /rbridge_id/ag (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ag is considered as a private
method. Backends looking to populate this variable should
do so via call... | [
"def",
"_set_ag",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
"=... | Setter method for ag, mapped from YANG variable /rbridge_id/ag (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ag is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_ag() directly. | [
"Setter",
"method",
"for",
"ag",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"ag",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"file",
"t... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/rbridge_id/__init__.py#L294-L315 | train | Sets the AG property of the
. |
StackStorm/pybind | pybind/slxos/v17s_1_02/rbridge_id/__init__.py | rbridge_id._set_default_config | def _set_default_config(self, v, load=False):
"""
Setter method for default_config, mapped from YANG variable /rbridge_id/default_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_default_config is considered as a private
method. Backends looking to ... | python | def _set_default_config(self, v, load=False):
"""
Setter method for default_config, mapped from YANG variable /rbridge_id/default_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_default_config is considered as a private
method. Backends looking to ... | [
"def",
"_set_default_config",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for default_config, mapped from YANG variable /rbridge_id/default_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_default_config is considered as a private
method. Backends looking to populate this variable should
do so via calling thisOb... | [
"Setter",
"method",
"for",
"default_config",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"default_config",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/rbridge_id/__init__.py#L393-L414 | train | Sets the default configuration of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/rbridge_id/__init__.py | rbridge_id._set_fcoe_config | def _set_fcoe_config(self, v, load=False):
"""
Setter method for fcoe_config, mapped from YANG variable /rbridge_id/fcoe_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_config is considered as a private
method. Backends looking to populate thi... | python | def _set_fcoe_config(self, v, load=False):
"""
Setter method for fcoe_config, mapped from YANG variable /rbridge_id/fcoe_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_config is considered as a private
method. Backends looking to populate thi... | [
"def",
"_set_fcoe_config",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for fcoe_config, mapped from YANG variable /rbridge_id/fcoe_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_config is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_fc... | [
"Setter",
"method",
"for",
"fcoe_config",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"fcoe_config",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YAN... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/rbridge_id/__init__.py#L470-L494 | train | Set the configuration of all FCoE map configuration structures. |
StackStorm/pybind | pybind/slxos/v17s_1_02/rbridge_id/__init__.py | rbridge_id._set_logical_chassis | def _set_logical_chassis(self, v, load=False):
"""
Setter method for logical_chassis, mapped from YANG variable /rbridge_id/logical_chassis (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_logical_chassis is considered as a private
method. Backends looking... | python | def _set_logical_chassis(self, v, load=False):
"""
Setter method for logical_chassis, mapped from YANG variable /rbridge_id/logical_chassis (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_logical_chassis is considered as a private
method. Backends looking... | [
"def",
"_set_logical_chassis",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for logical_chassis, mapped from YANG variable /rbridge_id/logical_chassis (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_logical_chassis is considered as a private
method. Backends looking to populate this variable should
do so via calling thi... | [
"Setter",
"method",
"for",
"logical_chassis",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"logical_chassis",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/rbridge_id/__init__.py#L506-L527 | train | Sets the logical chassis. |
StackStorm/pybind | pybind/slxos/v17s_1_02/rbridge_id/__init__.py | rbridge_id._set_system_monitor | def _set_system_monitor(self, v, load=False):
"""
Setter method for system_monitor, mapped from YANG variable /rbridge_id/system_monitor (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_system_monitor is considered as a private
method. Backends looking to ... | python | def _set_system_monitor(self, v, load=False):
"""
Setter method for system_monitor, mapped from YANG variable /rbridge_id/system_monitor (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_system_monitor is considered as a private
method. Backends looking to ... | [
"def",
"_set_system_monitor",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for system_monitor, mapped from YANG variable /rbridge_id/system_monitor (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_system_monitor is considered as a private
method. Backends looking to populate this variable should
do so via calling thisOb... | [
"Setter",
"method",
"for",
"system_monitor",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"system_monitor",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/rbridge_id/__init__.py#L539-L560 | train | Sets the system monitor property. |
StackStorm/pybind | pybind/slxos/v17s_1_02/rbridge_id/__init__.py | rbridge_id._set_threshold_monitor | def _set_threshold_monitor(self, v, load=False):
"""
Setter method for threshold_monitor, mapped from YANG variable /rbridge_id/threshold_monitor (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_threshold_monitor is considered as a private
method. Backends... | python | def _set_threshold_monitor(self, v, load=False):
"""
Setter method for threshold_monitor, mapped from YANG variable /rbridge_id/threshold_monitor (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_threshold_monitor is considered as a private
method. Backends... | [
"def",
"_set_threshold_monitor",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",... | Setter method for threshold_monitor, mapped from YANG variable /rbridge_id/threshold_monitor (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_threshold_monitor is considered as a private
method. Backends looking to populate this variable should
do so via calli... | [
"Setter",
"method",
"for",
"threshold_monitor",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"threshold_monitor",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"sou... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/rbridge_id/__init__.py#L572-L593 | train | Sets the threshold monitor for the
|
StackStorm/pybind | pybind/nos/v7_2_0/interface/hundredgigabitethernet/__init__.py | hundredgigabitethernet._set_protected_port | def _set_protected_port(self, v, load=False):
"""
Setter method for protected_port, mapped from YANG variable /interface/hundredgigabitethernet/protected_port (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_protected_port is considered as a private
method... | python | def _set_protected_port(self, v, load=False):
"""
Setter method for protected_port, mapped from YANG variable /interface/hundredgigabitethernet/protected_port (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_protected_port is considered as a private
method... | [
"def",
"_set_protected_port",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for protected_port, mapped from YANG variable /interface/hundredgigabitethernet/protected_port (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_protected_port is considered as a private
method. Backends looking to populate this variable should
do... | [
"Setter",
"method",
"for",
"protected_port",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"hundredgigabitethernet",
"/",
"protected_port",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/interface/hundredgigabitethernet/__init__.py#L544-L567 | train | Set protected_port of the node. |
StackStorm/pybind | pybind/nos/v7_2_0/interface/hundredgigabitethernet/__init__.py | hundredgigabitethernet._set_storm_control | def _set_storm_control(self, v, load=False):
"""
Setter method for storm_control, mapped from YANG variable /interface/hundredgigabitethernet/storm_control (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_storm_control is considered as a private
method. Ba... | python | def _set_storm_control(self, v, load=False):
"""
Setter method for storm_control, mapped from YANG variable /interface/hundredgigabitethernet/storm_control (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_storm_control is considered as a private
method. Ba... | [
"def",
"_set_storm_control",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"... | Setter method for storm_control, mapped from YANG variable /interface/hundredgigabitethernet/storm_control (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_storm_control is considered as a private
method. Backends looking to populate this variable should
do so... | [
"Setter",
"method",
"for",
"storm_control",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"hundredgigabitethernet",
"/",
"storm_control",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/interface/hundredgigabitethernet/__init__.py#L1042-L1063 | train | Set storm control for the
|
StackStorm/pybind | pybind/nos/v7_2_0/interface/hundredgigabitethernet/__init__.py | hundredgigabitethernet._set_openflow_interface_cfg | def _set_openflow_interface_cfg(self, v, load=False):
"""
Setter method for openflow_interface_cfg, mapped from YANG variable /interface/hundredgigabitethernet/openflow_interface_cfg (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_openflow_interface_cfg is co... | python | def _set_openflow_interface_cfg(self, v, load=False):
"""
Setter method for openflow_interface_cfg, mapped from YANG variable /interface/hundredgigabitethernet/openflow_interface_cfg (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_openflow_interface_cfg is co... | [
"def",
"_set_openflow_interface_cfg",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
... | Setter method for openflow_interface_cfg, mapped from YANG variable /interface/hundredgigabitethernet/openflow_interface_cfg (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_openflow_interface_cfg is considered as a private
method. Backends looking to populate thi... | [
"Setter",
"method",
"for",
"openflow_interface_cfg",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"hundredgigabitethernet",
"/",
"openflow_interface_cfg",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/interface/hundredgigabitethernet/__init__.py#L1314-L1337 | train | Sets the value of the openflow_interface_cfg property in the openflow system. |
StackStorm/pybind | pybind/nos/v7_2_0/interface/hundredgigabitethernet/__init__.py | hundredgigabitethernet._set_rmon | def _set_rmon(self, v, load=False):
"""
Setter method for rmon, mapped from YANG variable /interface/hundredgigabitethernet/rmon (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_rmon is considered as a private
method. Backends looking to populate this vari... | python | def _set_rmon(self, v, load=False):
"""
Setter method for rmon, mapped from YANG variable /interface/hundredgigabitethernet/rmon (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_rmon is considered as a private
method. Backends looking to populate this vari... | [
"def",
"_set_rmon",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for rmon, mapped from YANG variable /interface/hundredgigabitethernet/rmon (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_rmon is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_r... | [
"Setter",
"method",
"for",
"rmon",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"hundredgigabitethernet",
"/",
"rmon",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/interface/hundredgigabitethernet/__init__.py#L1532-L1553 | train | Set the rmon property of the
|
StackStorm/pybind | pybind/nos/v7_2_0/interface/hundredgigabitethernet/__init__.py | hundredgigabitethernet._set_udld | def _set_udld(self, v, load=False):
"""
Setter method for udld, mapped from YANG variable /interface/hundredgigabitethernet/udld (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_udld is considered as a private
method. Backends looking to populate this vari... | python | def _set_udld(self, v, load=False):
"""
Setter method for udld, mapped from YANG variable /interface/hundredgigabitethernet/udld (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_udld is considered as a private
method. Backends looking to populate this vari... | [
"def",
"_set_udld",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for udld, mapped from YANG variable /interface/hundredgigabitethernet/udld (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_udld is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_u... | [
"Setter",
"method",
"for",
"udld",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"hundredgigabitethernet",
"/",
"udld",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/interface/hundredgigabitethernet/__init__.py#L1604-L1627 | train | Sets the UDLD property of the
. |
StackStorm/pybind | pybind/nos/v7_2_0/interface/hundredgigabitethernet/__init__.py | hundredgigabitethernet._set_bpdu_drop | def _set_bpdu_drop(self, v, load=False):
"""
Setter method for bpdu_drop, mapped from YANG variable /interface/hundredgigabitethernet/bpdu_drop (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bpdu_drop is considered as a private
method. Backends looking t... | python | def _set_bpdu_drop(self, v, load=False):
"""
Setter method for bpdu_drop, mapped from YANG variable /interface/hundredgigabitethernet/bpdu_drop (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bpdu_drop is considered as a private
method. Backends looking t... | [
"def",
"_set_bpdu_drop",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base... | Setter method for bpdu_drop, mapped from YANG variable /interface/hundredgigabitethernet/bpdu_drop (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bpdu_drop is considered as a private
method. Backends looking to populate this variable should
do so via calling... | [
"Setter",
"method",
"for",
"bpdu_drop",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"hundredgigabitethernet",
"/",
"bpdu_drop",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/interface/hundredgigabitethernet/__init__.py#L1672-L1693 | train | Set the value of the BPDU_DROP variable in the base order. |
StackStorm/pybind | pybind/nos/v6_0_2f/protocol/edge_loop_detection/__init__.py | edge_loop_detection._set_mac_refresh_time_config | def _set_mac_refresh_time_config(self, v, load=False):
"""
Setter method for mac_refresh_time_config, mapped from YANG variable /protocol/edge_loop_detection/mac_refresh_time_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mac_refresh_time_config is co... | python | def _set_mac_refresh_time_config(self, v, load=False):
"""
Setter method for mac_refresh_time_config, mapped from YANG variable /protocol/edge_loop_detection/mac_refresh_time_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mac_refresh_time_config is co... | [
"def",
"_set_mac_refresh_time_config",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
... | Setter method for mac_refresh_time_config, mapped from YANG variable /protocol/edge_loop_detection/mac_refresh_time_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mac_refresh_time_config is considered as a private
method. Backends looking to populate this... | [
"Setter",
"method",
"for",
"mac_refresh_time_config",
"mapped",
"from",
"YANG",
"variable",
"/",
"protocol",
"/",
"edge_loop_detection",
"/",
"mac_refresh_time_config",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/protocol/edge_loop_detection/__init__.py#L194-L215 | train | Sets the value of MAC_REFRESH_TIME in the top - level tree. |
StackStorm/pybind | pybind/nos/v7_2_0/rbridge_id/interface/ve/ip/__init__.py | ip._set_ip_local_anycast_gateway | def _set_ip_local_anycast_gateway(self, v, load=False):
"""
Setter method for ip_local_anycast_gateway, mapped from YANG variable /rbridge_id/interface/ve/ip/ip_local_anycast_gateway (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ip_local_anycast_gateway is consi... | python | def _set_ip_local_anycast_gateway(self, v, load=False):
"""
Setter method for ip_local_anycast_gateway, mapped from YANG variable /rbridge_id/interface/ve/ip/ip_local_anycast_gateway (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ip_local_anycast_gateway is consi... | [
"def",
"_set_ip_local_anycast_gateway",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",... | Setter method for ip_local_anycast_gateway, mapped from YANG variable /rbridge_id/interface/ve/ip/ip_local_anycast_gateway (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ip_local_anycast_gateway is considered as a private
method. Backends looking to populate this var... | [
"Setter",
"method",
"for",
"ip_local_anycast_gateway",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"interface",
"/",
"ve",
"/",
"ip",
"/",
"ip_local_anycast_gateway",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/rbridge_id/interface/ve/ip/__init__.py#L172-L193 | train | Sets the IP local anycast gateway. |
StackStorm/pybind | pybind/nos/v7_2_0/rbridge_id/interface/ve/ip/__init__.py | ip._set_icmp | def _set_icmp(self, v, load=False):
"""
Setter method for icmp, mapped from YANG variable /rbridge_id/interface/ve/ip/icmp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_icmp is considered as a private
method. Backends looking to populate this variable s... | python | def _set_icmp(self, v, load=False):
"""
Setter method for icmp, mapped from YANG variable /rbridge_id/interface/ve/ip/icmp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_icmp is considered as a private
method. Backends looking to populate this variable s... | [
"def",
"_set_icmp",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for icmp, mapped from YANG variable /rbridge_id/interface/ve/ip/icmp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_icmp is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_icmp() ... | [
"Setter",
"method",
"for",
"icmp",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"interface",
"/",
"ve",
"/",
"ip",
"/",
"icmp",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/rbridge_id/interface/ve/ip/__init__.py#L238-L259 | train | Set the icmp parameter of the base node. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/load_balance_lag/__init__.py | load_balance_lag._set_load_balance | def _set_load_balance(self, v, load=False):
"""
Setter method for load_balance, mapped from YANG variable /load_balance_lag/load_balance (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_load_balance is considered as a private
method. Backends looking to po... | python | def _set_load_balance(self, v, load=False):
"""
Setter method for load_balance, mapped from YANG variable /load_balance_lag/load_balance (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_load_balance is considered as a private
method. Backends looking to po... | [
"def",
"_set_load_balance",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"b... | Setter method for load_balance, mapped from YANG variable /load_balance_lag/load_balance (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_load_balance is considered as a private
method. Backends looking to populate this variable should
do so via calling thisOb... | [
"Setter",
"method",
"for",
"load_balance",
"mapped",
"from",
"YANG",
"variable",
"/",
"load_balance_lag",
"/",
"load_balance",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/load_balance_lag/__init__.py#L94-L115 | train | Sets the load balance of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/standard/seq/__init__.py | seq._set_dst_vtep_ip | def _set_dst_vtep_ip(self, v, load=False):
"""
Setter method for dst_vtep_ip, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/dst_vtep_ip (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_vtep_ip is considered as a private
... | python | def _set_dst_vtep_ip(self, v, load=False):
"""
Setter method for dst_vtep_ip, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/dst_vtep_ip (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_vtep_ip is considered as a private
... | [
"def",
"_set_dst_vtep_ip",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for dst_vtep_ip, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/dst_vtep_ip (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_vtep_ip is considered as a private
method. Backends looking to populate this variable sho... | [
"Setter",
"method",
"for",
"dst_vtep_ip",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"standard",
"/",
"seq",
"/",
"dst_vtep_ip",
"(",
"inet",
":",
"ipv4",
"-",
"address",
")",
"If",
"this",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/standard/seq/__init__.py#L173-L194 | train | Sets the destination VTEP IP address. |
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/standard/seq/__init__.py | seq._set_dst_vtep_ip_any | def _set_dst_vtep_ip_any(self, v, load=False):
"""
Setter method for dst_vtep_ip_any, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/dst_vtep_ip_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_vtep_ip_any is considered as a private... | python | def _set_dst_vtep_ip_any(self, v, load=False):
"""
Setter method for dst_vtep_ip_any, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/dst_vtep_ip_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_vtep_ip_any is considered as a private... | [
"def",
"_set_dst_vtep_ip_any",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for dst_vtep_ip_any, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/dst_vtep_ip_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_vtep_ip_any is considered as a private
method. Backends looking to populate this variable sho... | [
"Setter",
"method",
"for",
"dst_vtep_ip_any",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"standard",
"/",
"seq",
"/",
"dst_vtep_ip_any",
"(",
"empty",
")",
"If",
"this",
"variable",
"is",
"read",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/standard/seq/__init__.py#L206-L227 | train | Set the value of dst_vtep_ip_any in the order of the destination VTEP IP address. |
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/standard/seq/__init__.py | seq._set_src_vtep_ip | def _set_src_vtep_ip(self, v, load=False):
"""
Setter method for src_vtep_ip, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/src_vtep_ip (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_vtep_ip is considered as a private
... | python | def _set_src_vtep_ip(self, v, load=False):
"""
Setter method for src_vtep_ip, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/src_vtep_ip (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_vtep_ip is considered as a private
... | [
"def",
"_set_src_vtep_ip",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for src_vtep_ip, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/src_vtep_ip (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_vtep_ip is considered as a private
method. Backends looking to populate this variable sho... | [
"Setter",
"method",
"for",
"src_vtep_ip",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"standard",
"/",
"seq",
"/",
"src_vtep_ip",
"(",
"inet",
":",
"ipv4",
"-",
"address",
")",
"If",
"this",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/standard/seq/__init__.py#L239-L260 | train | Sets the value of src_vtep_ip mapped from ipv4 - address |
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/standard/seq/__init__.py | seq._set_src_vtep_ip_any | def _set_src_vtep_ip_any(self, v, load=False):
"""
Setter method for src_vtep_ip_any, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/src_vtep_ip_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_vtep_ip_any is considered as a private... | python | def _set_src_vtep_ip_any(self, v, load=False):
"""
Setter method for src_vtep_ip_any, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/src_vtep_ip_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_vtep_ip_any is considered as a private... | [
"def",
"_set_src_vtep_ip_any",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for src_vtep_ip_any, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/src_vtep_ip_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_vtep_ip_any is considered as a private
method. Backends looking to populate this variable sho... | [
"Setter",
"method",
"for",
"src_vtep_ip_any",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"standard",
"/",
"seq",
"/",
"src_vtep_ip_any",
"(",
"empty",
")",
"If",
"this",
"variable",
"is",
"read",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/standard/seq/__init__.py#L272-L293 | train | Set the value of the src_vtep_ip_any property in the base sequence. |
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/standard/seq/__init__.py | seq._set_vni_any | def _set_vni_any(self, v, load=False):
"""
Setter method for vni_any, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/vni_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_vni_any is considered as a private
method. Backends looking to... | python | def _set_vni_any(self, v, load=False):
"""
Setter method for vni_any, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/vni_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_vni_any is considered as a private
method. Backends looking to... | [
"def",
"_set_vni_any",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",... | Setter method for vni_any, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/vni_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_vni_any is considered as a private
method. Backends looking to populate this variable should
do so via callin... | [
"Setter",
"method",
"for",
"vni_any",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"standard",
"/",
"seq",
"/",
"vni_any",
"(",
"empty",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/standard/seq/__init__.py#L338-L359 | train | Set the value of the any field in the sequence. |
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/standard/seq/__init__.py | seq._set_vni_mask | def _set_vni_mask(self, v, load=False):
"""
Setter method for vni_mask, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/vni_mask (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_vni_mask is considered as a private
method. Backends looki... | python | def _set_vni_mask(self, v, load=False):
"""
Setter method for vni_mask, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/vni_mask (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_vni_mask is considered as a private
method. Backends looki... | [
"def",
"_set_vni_mask",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for vni_mask, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/vni_mask (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_vni_mask is considered as a private
method. Backends looking to populate this variable should
do so via ca... | [
"Setter",
"method",
"for",
"vni_mask",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"standard",
"/",
"seq",
"/",
"vni_mask",
"(",
"string",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"on... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/standard/seq/__init__.py#L371-L392 | train | Set the vni mask of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/standard/seq/__init__.py | seq._set_redirect | def _set_redirect(self, v, load=False):
"""
Setter method for redirect, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/redirect (interface:interface-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_redirect is considered as a private
meth... | python | def _set_redirect(self, v, load=False):
"""
Setter method for redirect, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/redirect (interface:interface-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_redirect is considered as a private
meth... | [
"def",
"_set_redirect",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for redirect, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/redirect (interface:interface-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_redirect is considered as a private
method. Backends looking to populate this variable shoul... | [
"Setter",
"method",
"for",
"redirect",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay",
"/",
"access_list",
"/",
"type",
"/",
"vxlan",
"/",
"standard",
"/",
"seq",
"/",
"redirect",
"(",
"interface",
":",
"interface",
"-",
"type",
")",
"If",
"this",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay/access_list/type/vxlan/standard/seq/__init__.py#L437-L458 | train | Set the redirect of the
|
StackStorm/pybind | pybind/slxos/v17r_2_00/telemetry/profile/mpls_traffic_fec/__init__.py | mpls_traffic_fec._set_mpls_traffic_fecs | def _set_mpls_traffic_fecs(self, v, load=False):
"""
Setter method for mpls_traffic_fecs, mapped from YANG variable /telemetry/profile/mpls_traffic_fec/mpls_traffic_fecs (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_mpls_traffic_fecs is considered as a private
... | python | def _set_mpls_traffic_fecs(self, v, load=False):
"""
Setter method for mpls_traffic_fecs, mapped from YANG variable /telemetry/profile/mpls_traffic_fec/mpls_traffic_fecs (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_mpls_traffic_fecs is considered as a private
... | [
"def",
"_set_mpls_traffic_fecs",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",... | Setter method for mpls_traffic_fecs, mapped from YANG variable /telemetry/profile/mpls_traffic_fec/mpls_traffic_fecs (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_mpls_traffic_fecs is considered as a private
method. Backends looking to populate this variable should
... | [
"Setter",
"method",
"for",
"mpls_traffic_fecs",
"mapped",
"from",
"YANG",
"variable",
"/",
"telemetry",
"/",
"profile",
"/",
"mpls_traffic_fec",
"/",
"mpls_traffic_fecs",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/telemetry/profile/mpls_traffic_fec/__init__.py#L167-L188 | train | Sets the value of the MPLS Traffic FECs variable. |
StackStorm/pybind | pybind/slxos/v17r_2_00/telemetry/profile/mpls_traffic_fec/__init__.py | mpls_traffic_fec._set_add_ | def _set_add_(self, v, load=False):
"""
Setter method for add_, mapped from YANG variable /telemetry/profile/mpls_traffic_fec/add (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_add_ is considered as a private
method. Backends looking to populate this variable... | python | def _set_add_(self, v, load=False):
"""
Setter method for add_, mapped from YANG variable /telemetry/profile/mpls_traffic_fec/add (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_add_ is considered as a private
method. Backends looking to populate this variable... | [
"def",
"_set_add_",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for add_, mapped from YANG variable /telemetry/profile/mpls_traffic_fec/add (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_add_ is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_add_(... | [
"Setter",
"method",
"for",
"add_",
"mapped",
"from",
"YANG",
"variable",
"/",
"telemetry",
"/",
"profile",
"/",
"mpls_traffic_fec",
"/",
"add",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/telemetry/profile/mpls_traffic_fec/__init__.py#L200-L221 | train | Set the add_ variable in the telemetry file. |
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay_class_map/__init__.py | overlay_class_map._set_cmap_seq | def _set_cmap_seq(self, v, load=False):
"""
Setter method for cmap_seq, mapped from YANG variable /overlay_class_map/cmap_seq (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_cmap_seq is considered as a private
method. Backends looking to populate this variable... | python | def _set_cmap_seq(self, v, load=False):
"""
Setter method for cmap_seq, mapped from YANG variable /overlay_class_map/cmap_seq (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_cmap_seq is considered as a private
method. Backends looking to populate this variable... | [
"def",
"_set_cmap_seq",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for cmap_seq, mapped from YANG variable /overlay_class_map/cmap_seq (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_cmap_seq is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_cmap_seq(... | [
"Setter",
"method",
"for",
"cmap_seq",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay_class_map",
"/",
"cmap_seq",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay_class_map/__init__.py#L134-L155 | train | Sets the sequence number of the cmap. |
StackStorm/pybind | pybind/slxos/v17s_1_02/spf_log_state/spf_log_levels/spf_log_events/__init__.py | spf_log_events._set_isis_spf_log_reason | def _set_isis_spf_log_reason(self, v, load=False):
"""
Setter method for isis_spf_log_reason, mapped from YANG variable /spf_log_state/spf_log_levels/spf_log_events/isis_spf_log_reason (isis-spf-log-reason-code)
If this variable is read-only (config: false) in the
source YANG file, then _set_isis_spf_lo... | python | def _set_isis_spf_log_reason(self, v, load=False):
"""
Setter method for isis_spf_log_reason, mapped from YANG variable /spf_log_state/spf_log_levels/spf_log_events/isis_spf_log_reason (isis-spf-log-reason-code)
If this variable is read-only (config: false) in the
source YANG file, then _set_isis_spf_lo... | [
"def",
"_set_isis_spf_log_reason",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",... | Setter method for isis_spf_log_reason, mapped from YANG variable /spf_log_state/spf_log_levels/spf_log_events/isis_spf_log_reason (isis-spf-log-reason-code)
If this variable is read-only (config: false) in the
source YANG file, then _set_isis_spf_log_reason is considered as a private
method. Backends lookin... | [
"Setter",
"method",
"for",
"isis_spf_log_reason",
"mapped",
"from",
"YANG",
"variable",
"/",
"spf_log_state",
"/",
"spf_log_levels",
"/",
"spf_log_events",
"/",
"isis_spf_log_reason",
"(",
"isis",
"-",
"spf",
"-",
"log",
"-",
"reason",
"-",
"code",
")",
"If",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/spf_log_state/spf_log_levels/spf_log_events/__init__.py#L152-L175 | train | Sets the isis - spf - log - reason of an event based on the event type |
StackStorm/pybind | pybind/nos/v6_0_2f/rbridge_id/threshold_monitor/interface/policy/area/__init__.py | area._set_type | def _set_type(self, v, load=False):
"""
Setter method for type, mapped from YANG variable /rbridge_id/threshold_monitor/interface/policy/area/type (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_type is considered as a private
method. Backends looking t... | python | def _set_type(self, v, load=False):
"""
Setter method for type, mapped from YANG variable /rbridge_id/threshold_monitor/interface/policy/area/type (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_type is considered as a private
method. Backends looking t... | [
"def",
"_set_type",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"parent",
"=",
"getattr",
"(",
"self",
",",
"\"_parent\"",
",",
"None",
")",
"if",
"parent",
"is",
"not",
"None",
"and",
"load",
"is",
"False",
":",
"raise",
"AttributeEr... | Setter method for type, mapped from YANG variable /rbridge_id/threshold_monitor/interface/policy/area/type (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_type is considered as a private
method. Backends looking to populate this variable should
do so via ca... | [
"Setter",
"method",
"for",
"type",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"threshold_monitor",
"/",
"interface",
"/",
"policy",
"/",
"area",
"/",
"type",
"(",
"enumeration",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/threshold_monitor/interface/policy/area/__init__.py#L96-L122 | train | Sets the type of the object. |
StackStorm/pybind | pybind/nos/v6_0_2f/rbridge_id/threshold_monitor/interface/policy/area/__init__.py | area._set_area_value | def _set_area_value(self, v, load=False):
"""
Setter method for area_value, mapped from YANG variable /rbridge_id/threshold_monitor/interface/policy/area/area_value (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_area_value is considered as a private
me... | python | def _set_area_value(self, v, load=False):
"""
Setter method for area_value, mapped from YANG variable /rbridge_id/threshold_monitor/interface/policy/area/area_value (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_area_value is considered as a private
me... | [
"def",
"_set_area_value",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"parent",
"=",
"getattr",
"(",
"self",
",",
"\"_parent\"",
",",
"None",
")",
"if",
"parent",
"is",
"not",
"None",
"and",
"load",
"is",
"False",
":",
"raise",
"Attri... | Setter method for area_value, mapped from YANG variable /rbridge_id/threshold_monitor/interface/policy/area/area_value (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_area_value is considered as a private
method. Backends looking to populate this variable shoul... | [
"Setter",
"method",
"for",
"area_value",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"threshold_monitor",
"/",
"interface",
"/",
"policy",
"/",
"area",
"/",
"area_value",
"(",
"enumeration",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/threshold_monitor/interface/policy/area/__init__.py#L134-L160 | train | Sets the value of the area field in the order they appear. |
StackStorm/pybind | pybind/nos/v6_0_2f/rbridge_id/threshold_monitor/interface/policy/area/__init__.py | area._set_alert | def _set_alert(self, v, load=False):
"""
Setter method for alert, mapped from YANG variable /rbridge_id/threshold_monitor/interface/policy/area/alert (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_alert is considered as a private
method. Backends looking... | python | def _set_alert(self, v, load=False):
"""
Setter method for alert, mapped from YANG variable /rbridge_id/threshold_monitor/interface/policy/area/alert (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_alert is considered as a private
method. Backends looking... | [
"def",
"_set_alert",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for alert, mapped from YANG variable /rbridge_id/threshold_monitor/interface/policy/area/alert (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_alert is considered as a private
method. Backends looking to populate this variable should
do so via c... | [
"Setter",
"method",
"for",
"alert",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"threshold_monitor",
"/",
"interface",
"/",
"policy",
"/",
"area",
"/",
"alert",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/threshold_monitor/interface/policy/area/__init__.py#L205-L226 | train | Set the alert property of the
|
StackStorm/pybind | pybind/nos/v6_0_2f/brocade_arp_rpc/__init__.py | brocade_arp._set_get_arp | def _set_get_arp(self, v, load=False):
"""
Setter method for get_arp, mapped from YANG variable /brocade_arp_rpc/get_arp (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_get_arp is considered as a private
method. Backends looking to populate this variable should... | python | def _set_get_arp(self, v, load=False):
"""
Setter method for get_arp, mapped from YANG variable /brocade_arp_rpc/get_arp (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_get_arp is considered as a private
method. Backends looking to populate this variable should... | [
"def",
"_set_get_arp",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",... | Setter method for get_arp, mapped from YANG variable /brocade_arp_rpc/get_arp (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_get_arp is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_get_arp() direc... | [
"Setter",
"method",
"for",
"get_arp",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_arp_rpc",
"/",
"get_arp",
"(",
"rpc",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"fi... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_arp_rpc/__init__.py#L100-L126 | train | Sets the get_arp variable in the managed entity. |
StackStorm/pybind | pybind/nos/v6_0_2f/brocade_interface_ext_rpc/get_interface_detail/input/__init__.py | input._set_interface_type | def _set_interface_type(self, v, load=False):
"""
Setter method for interface_type, mapped from YANG variable /brocade_interface_ext_rpc/get_interface_detail/input/interface_type (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_type is considered a... | python | def _set_interface_type(self, v, load=False):
"""
Setter method for interface_type, mapped from YANG variable /brocade_interface_ext_rpc/get_interface_detail/input/interface_type (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_type is considered a... | [
"def",
"_set_interface_type",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for interface_type, mapped from YANG variable /brocade_interface_ext_rpc/get_interface_detail/input/interface_type (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_type is considered as a private
method. Backends looking to populate this ... | [
"Setter",
"method",
"for",
"interface_type",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_interface_ext_rpc",
"/",
"get_interface_detail",
"/",
"input",
"/",
"interface_type",
"(",
"enumeration",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"("... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_interface_ext_rpc/get_interface_detail/input/__init__.py#L97-L121 | train | Sets the interface type for the
|
StackStorm/pybind | pybind/nos/v6_0_2f/brocade_interface_ext_rpc/get_interface_detail/input/__init__.py | input._set_last_rcvd_interface | def _set_last_rcvd_interface(self, v, load=False):
"""
Setter method for last_rcvd_interface, mapped from YANG variable /brocade_interface_ext_rpc/get_interface_detail/input/last_rcvd_interface (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_last_rcvd_interfa... | python | def _set_last_rcvd_interface(self, v, load=False):
"""
Setter method for last_rcvd_interface, mapped from YANG variable /brocade_interface_ext_rpc/get_interface_detail/input/last_rcvd_interface (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_last_rcvd_interfa... | [
"def",
"_set_last_rcvd_interface",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",... | Setter method for last_rcvd_interface, mapped from YANG variable /brocade_interface_ext_rpc/get_interface_detail/input/last_rcvd_interface (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_last_rcvd_interface is considered as a private
method. Backends looking to p... | [
"Setter",
"method",
"for",
"last_rcvd_interface",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_interface_ext_rpc",
"/",
"get_interface_detail",
"/",
"input",
"/",
"last_rcvd_interface",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_interface_ext_rpc/get_interface_detail/input/__init__.py#L206-L227 | train | Sets the last received interface for the
|
idlesign/steampak | steampak/libsteam/resources/utils.py | Utils.get_universe | def get_universe(self, as_str=False):
"""Returns universe the client is connected to. See ``Universe``.
:param bool as_str: Return human-friendly universe name instead of an ID.
:rtype: int|str
"""
result = self._iface.get_connected_universe()
if as_str:
ret... | python | def get_universe(self, as_str=False):
"""Returns universe the client is connected to. See ``Universe``.
:param bool as_str: Return human-friendly universe name instead of an ID.
:rtype: int|str
"""
result = self._iface.get_connected_universe()
if as_str:
ret... | [
"def",
"get_universe",
"(",
"self",
",",
"as_str",
"=",
"False",
")",
":",
"result",
"=",
"self",
".",
"_iface",
".",
"get_connected_universe",
"(",
")",
"if",
"as_str",
":",
"return",
"Universe",
".",
"get_alias",
"(",
"result",
")",
"return",
"result"
] | Returns universe the client is connected to. See ``Universe``.
:param bool as_str: Return human-friendly universe name instead of an ID.
:rtype: int|str | [
"Returns",
"universe",
"the",
"client",
"is",
"connected",
"to",
".",
"See",
"Universe",
"."
] | cb3f2c737e272b0360802d947e388df7e34f50f3 | https://github.com/idlesign/steampak/blob/cb3f2c737e272b0360802d947e388df7e34f50f3/steampak/libsteam/resources/utils.py#L136-L147 | train | Returns the universe the client is connected to. |
StackStorm/pybind | pybind/slxos/v17s_1_02/protocol/__init__.py | protocol._set_cfm | def _set_cfm(self, v, load=False):
"""
Setter method for cfm, mapped from YANG variable /protocol/cfm (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_cfm is considered as a private
method. Backends looking to populate this variable should
do so via ca... | python | def _set_cfm(self, v, load=False):
"""
Setter method for cfm, mapped from YANG variable /protocol/cfm (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_cfm is considered as a private
method. Backends looking to populate this variable should
do so via ca... | [
"def",
"_set_cfm",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
"... | Setter method for cfm, mapped from YANG variable /protocol/cfm (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_cfm is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_cfm() directly. | [
"Setter",
"method",
"for",
"cfm",
"mapped",
"from",
"YANG",
"variable",
"/",
"protocol",
"/",
"cfm",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"file",
"t... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/protocol/__init__.py#L102-L123 | train | Set the value of the CFM field in the sequence. |
StackStorm/pybind | pybind/slxos/v17s_1_02/protocol/__init__.py | protocol._set_spanning_tree | def _set_spanning_tree(self, v, load=False):
"""
Setter method for spanning_tree, mapped from YANG variable /protocol/spanning_tree (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_spanning_tree is considered as a private
method. Backends looking to popula... | python | def _set_spanning_tree(self, v, load=False):
"""
Setter method for spanning_tree, mapped from YANG variable /protocol/spanning_tree (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_spanning_tree is considered as a private
method. Backends looking to popula... | [
"def",
"_set_spanning_tree",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"... | Setter method for spanning_tree, mapped from YANG variable /protocol/spanning_tree (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_spanning_tree is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._se... | [
"Setter",
"method",
"for",
"spanning_tree",
"mapped",
"from",
"YANG",
"variable",
"/",
"protocol",
"/",
"spanning_tree",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"Y... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/protocol/__init__.py#L283-L304 | train | Sets the spanning tree of the sequence. |
StackStorm/pybind | pybind/slxos/v17s_1_02/protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/cfm_mep_sub_commands/__init__.py | cfm_mep_sub_commands._set_tlv_type | def _set_tlv_type(self, v, load=False):
"""
Setter method for tlv_type, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/cfm_mep_sub_commands/tlv_type (ccm-tlv-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_tlv_type is considered... | python | def _set_tlv_type(self, v, load=False):
"""
Setter method for tlv_type, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/cfm_mep_sub_commands/tlv_type (ccm-tlv-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_tlv_type is considered... | [
"def",
"_set_tlv_type",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for tlv_type, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/cfm_mep_sub_commands/tlv_type (ccm-tlv-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_tlv_type is considered as a private
method. Backends looking to popula... | [
"Setter",
"method",
"for",
"tlv_type",
"mapped",
"from",
"YANG",
"variable",
"/",
"protocol",
"/",
"cfm",
"/",
"domain_name",
"/",
"ma_name",
"/",
"cfm_ma_sub_commands",
"/",
"mep",
"/",
"cfm_mep_sub_commands",
"/",
"tlv_type",
"(",
"ccm",
"-",
"tlv",
"-",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/cfm_mep_sub_commands/__init__.py#L93-L114 | train | Sets the type of the TLV. |
StackStorm/pybind | pybind/slxos/v17s_1_02/protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/cfm_mep_sub_commands/__init__.py | cfm_mep_sub_commands._set_remote_mep | def _set_remote_mep(self, v, load=False):
"""
Setter method for remote_mep, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/cfm_mep_sub_commands/remote_mep (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_remote_mep is considered... | python | def _set_remote_mep(self, v, load=False):
"""
Setter method for remote_mep, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/cfm_mep_sub_commands/remote_mep (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_remote_mep is considered... | [
"def",
"_set_remote_mep",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for remote_mep, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/cfm_mep_sub_commands/remote_mep (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_remote_mep is considered as a private
method. Backends looking to populate... | [
"Setter",
"method",
"for",
"remote_mep",
"mapped",
"from",
"YANG",
"variable",
"/",
"protocol",
"/",
"cfm",
"/",
"domain_name",
"/",
"ma_name",
"/",
"cfm_ma_sub_commands",
"/",
"mep",
"/",
"cfm_mep_sub_commands",
"/",
"remote_mep",
"(",
"list",
")",
"If",
"thi... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/cfm_mep_sub_commands/__init__.py#L126-L147 | train | Set Remote Mep property. |
StackStorm/pybind | pybind/nos/v6_0_2f/interface_vlan/interface/vlan/ipv6/mldVlan/__init__.py | mldVlan._set_snooping | def _set_snooping(self, v, load=False):
"""
Setter method for snooping, mapped from YANG variable /interface_vlan/interface/vlan/ipv6/mldVlan/snooping (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_snooping is considered as a private
method. Backends loo... | python | def _set_snooping(self, v, load=False):
"""
Setter method for snooping, mapped from YANG variable /interface_vlan/interface/vlan/ipv6/mldVlan/snooping (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_snooping is considered as a private
method. Backends loo... | [
"def",
"_set_snooping",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for snooping, mapped from YANG variable /interface_vlan/interface/vlan/ipv6/mldVlan/snooping (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_snooping is considered as a private
method. Backends looking to populate this variable should
do so via ... | [
"Setter",
"method",
"for",
"snooping",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface_vlan",
"/",
"interface",
"/",
"vlan",
"/",
"ipv6",
"/",
"mldVlan",
"/",
"snooping",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"("... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface_vlan/interface/vlan/ipv6/mldVlan/__init__.py#L298-L319 | train | Sets the snooping of the specified node. |
StackStorm/pybind | pybind/nos/v6_0_2f/interface_vlan/interface/vlan/ipv6/mldVlan/__init__.py | mldVlan._set_static_group | def _set_static_group(self, v, load=False):
"""
Setter method for static_group, mapped from YANG variable /interface_vlan/interface/vlan/ipv6/mldVlan/static_group (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_static_group is considered as a private
method. B... | python | def _set_static_group(self, v, load=False):
"""
Setter method for static_group, mapped from YANG variable /interface_vlan/interface/vlan/ipv6/mldVlan/static_group (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_static_group is considered as a private
method. B... | [
"def",
"_set_static_group",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"b... | Setter method for static_group, mapped from YANG variable /interface_vlan/interface/vlan/ipv6/mldVlan/static_group (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_static_group is considered as a private
method. Backends looking to populate this variable should
do ... | [
"Setter",
"method",
"for",
"static_group",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface_vlan",
"/",
"interface",
"/",
"vlan",
"/",
"ipv6",
"/",
"mldVlan",
"/",
"static_group",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface_vlan/interface/vlan/ipv6/mldVlan/__init__.py#L331-L352 | train | Sets the static group of the node. |
StackStorm/pybind | pybind/slxos/v17r_2_00/vrf/address_family/ip/unicast/__init__.py | unicast._set_route_taret_container | def _set_route_taret_container(self, v, load=False):
"""
Setter method for route_taret_container, mapped from YANG variable /vrf/address_family/ip/unicast/route_taret_container (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_route_taret_container is considere... | python | def _set_route_taret_container(self, v, load=False):
"""
Setter method for route_taret_container, mapped from YANG variable /vrf/address_family/ip/unicast/route_taret_container (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_route_taret_container is considere... | [
"def",
"_set_route_taret_container",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
... | Setter method for route_taret_container, mapped from YANG variable /vrf/address_family/ip/unicast/route_taret_container (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_route_taret_container is considered as a private
method. Backends looking to populate this vari... | [
"Setter",
"method",
"for",
"route_taret_container",
"mapped",
"from",
"YANG",
"variable",
"/",
"vrf",
"/",
"address_family",
"/",
"ip",
"/",
"unicast",
"/",
"route_taret_container",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/vrf/address_family/ip/unicast/__init__.py#L142-L163 | train | Sets the route - taret - container of the vrf |
StackStorm/pybind | pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/bypass_lsp/__init__.py | bypass_lsp._set_exclude_interface | def _set_exclude_interface(self, v, load=False):
"""
Setter method for exclude_interface, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/bypass_lsp/exclude_interface (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_exclude_interface is consider... | python | def _set_exclude_interface(self, v, load=False):
"""
Setter method for exclude_interface, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/bypass_lsp/exclude_interface (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_exclude_interface is consider... | [
"def",
"_set_exclude_interface",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",... | Setter method for exclude_interface, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/bypass_lsp/exclude_interface (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_exclude_interface is considered as a private
method. Backends looking to populate this... | [
"Setter",
"method",
"for",
"exclude_interface",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_config",
"/",
"router",
"/",
"mpls",
"/",
"mpls_cmds_holder",
"/",
"bypass_lsp",
"/",
"exclude_interface",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_config/router/mpls/mpls_cmds_holder/bypass_lsp/__init__.py#L645-L666 | train | Sets the exclude_interface field of the
. |
StackStorm/pybind | pybind/nos/v6_0_2f/arp/access_list/permit/__init__.py | permit._set_permit_list | def _set_permit_list(self, v, load=False):
"""
Setter method for permit_list, mapped from YANG variable /arp/access_list/permit/permit_list (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_permit_list is considered as a private
method. Backends looking to popul... | python | def _set_permit_list(self, v, load=False):
"""
Setter method for permit_list, mapped from YANG variable /arp/access_list/permit/permit_list (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_permit_list is considered as a private
method. Backends looking to popul... | [
"def",
"_set_permit_list",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for permit_list, mapped from YANG variable /arp/access_list/permit/permit_list (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_permit_list is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj.... | [
"Setter",
"method",
"for",
"permit_list",
"mapped",
"from",
"YANG",
"variable",
"/",
"arp",
"/",
"access_list",
"/",
"permit",
"/",
"permit_list",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"i... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/arp/access_list/permit/__init__.py#L92-L113 | train | Sets permit_list for the base node. |
StackStorm/pybind | pybind/nos/v6_0_2f/qos/map_/dscp_mutation/__init__.py | dscp_mutation._set_mark | def _set_mark(self, v, load=False):
"""
Setter method for mark, mapped from YANG variable /qos/map/dscp_mutation/mark (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_mark is considered as a private
method. Backends looking to populate this variable should
... | python | def _set_mark(self, v, load=False):
"""
Setter method for mark, mapped from YANG variable /qos/map/dscp_mutation/mark (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_mark is considered as a private
method. Backends looking to populate this variable should
... | [
"def",
"_set_mark",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for mark, mapped from YANG variable /qos/map/dscp_mutation/mark (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_mark is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_mark() directly. | [
"Setter",
"method",
"for",
"mark",
"mapped",
"from",
"YANG",
"variable",
"/",
"qos",
"/",
"map",
"/",
"dscp_mutation",
"/",
"mark",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/qos/map_/dscp_mutation/__init__.py#L131-L152 | train | Sets the mark of the
based on the given list of DSCP values. |
StackStorm/pybind | pybind/slxos/v17s_1_02/qos/map_/traffic_class_cos/__init__.py | traffic_class_cos._set_tc_dp_to_cos_mapping | def _set_tc_dp_to_cos_mapping(self, v, load=False):
"""
Setter method for tc_dp_to_cos_mapping, mapped from YANG variable /qos/map/traffic_class_cos/tc_dp_to_cos_mapping (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_tc_dp_to_cos_mapping is considered as a privat... | python | def _set_tc_dp_to_cos_mapping(self, v, load=False):
"""
Setter method for tc_dp_to_cos_mapping, mapped from YANG variable /qos/map/traffic_class_cos/tc_dp_to_cos_mapping (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_tc_dp_to_cos_mapping is considered as a privat... | [
"def",
"_set_tc_dp_to_cos_mapping",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
"... | Setter method for tc_dp_to_cos_mapping, mapped from YANG variable /qos/map/traffic_class_cos/tc_dp_to_cos_mapping (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_tc_dp_to_cos_mapping is considered as a private
method. Backends looking to populate this variable should
... | [
"Setter",
"method",
"for",
"tc_dp_to_cos_mapping",
"mapped",
"from",
"YANG",
"variable",
"/",
"qos",
"/",
"map",
"/",
"traffic_class_cos",
"/",
"tc_dp_to_cos_mapping",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/qos/map_/traffic_class_cos/__init__.py#L131-L152 | train | Sets the values of the TC - DP to COS mappings. |
StackStorm/pybind | pybind/nos/v6_0_2f/fabric/route/__init__.py | route._set_mcast | def _set_mcast(self, v, load=False):
"""
Setter method for mcast, mapped from YANG variable /fabric/route/mcast (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mcast is considered as a private
method. Backends looking to populate this variable should
... | python | def _set_mcast(self, v, load=False):
"""
Setter method for mcast, mapped from YANG variable /fabric/route/mcast (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mcast is considered as a private
method. Backends looking to populate this variable should
... | [
"def",
"_set_mcast",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for mcast, mapped from YANG variable /fabric/route/mcast (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mcast is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_mcast() directly.
... | [
"Setter",
"method",
"for",
"mcast",
"mapped",
"from",
"YANG",
"variable",
"/",
"fabric",
"/",
"route",
"/",
"mcast",
"(",
"container",
")",
"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/fabric/route/__init__.py#L101-L128 | train | Set the value of the mcast property in the base node. |
StackStorm/pybind | pybind/slxos/v17s_1_02/qos/map_/dscp_traffic_class/__init__.py | dscp_traffic_class._set_dscp_to_tc_dp_mapping | def _set_dscp_to_tc_dp_mapping(self, v, load=False):
"""
Setter method for dscp_to_tc_dp_mapping, mapped from YANG variable /qos/map/dscp_traffic_class/dscp_to_tc_dp_mapping (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_dscp_to_tc_dp_mapping is considered as a p... | python | def _set_dscp_to_tc_dp_mapping(self, v, load=False):
"""
Setter method for dscp_to_tc_dp_mapping, mapped from YANG variable /qos/map/dscp_traffic_class/dscp_to_tc_dp_mapping (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_dscp_to_tc_dp_mapping is considered as a p... | [
"def",
"_set_dscp_to_tc_dp_mapping",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
... | Setter method for dscp_to_tc_dp_mapping, mapped from YANG variable /qos/map/dscp_traffic_class/dscp_to_tc_dp_mapping (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_dscp_to_tc_dp_mapping is considered as a private
method. Backends looking to populate this variable sho... | [
"Setter",
"method",
"for",
"dscp_to_tc_dp_mapping",
"mapped",
"from",
"YANG",
"variable",
"/",
"qos",
"/",
"map",
"/",
"dscp_traffic_class",
"/",
"dscp_to_tc_dp_mapping",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/qos/map_/dscp_traffic_class/__init__.py#L131-L152 | train | Sets the DSCP to DP - TO - TC - DP mapping. |
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay_service_policy_state/__init__.py | overlay_service_policy_state._set_bind_interfaces | def _set_bind_interfaces(self, v, load=False):
"""
Setter method for bind_interfaces, mapped from YANG variable /overlay_service_policy_state/bind_interfaces (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bind_interfaces is considered as a private
method... | python | def _set_bind_interfaces(self, v, load=False):
"""
Setter method for bind_interfaces, mapped from YANG variable /overlay_service_policy_state/bind_interfaces (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bind_interfaces is considered as a private
method... | [
"def",
"_set_bind_interfaces",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for bind_interfaces, mapped from YANG variable /overlay_service_policy_state/bind_interfaces (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bind_interfaces is considered as a private
method. Backends looking to populate this variable should
do ... | [
"Setter",
"method",
"for",
"bind_interfaces",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay_service_policy_state",
"/",
"bind_interfaces",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay_service_policy_state/__init__.py#L177-L200 | train | Sets the bind_interfaces property of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/routing_system/interface/ve/ipv6/__init__.py | ipv6._set_ipv6_config | def _set_ipv6_config(self, v, load=False):
"""
Setter method for ipv6_config, mapped from YANG variable /routing_system/interface/ve/ipv6/ipv6_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ipv6_config is considered as a private
method. Backends l... | python | def _set_ipv6_config(self, v, load=False):
"""
Setter method for ipv6_config, mapped from YANG variable /routing_system/interface/ve/ipv6/ipv6_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ipv6_config is considered as a private
method. Backends l... | [
"def",
"_set_ipv6_config",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for ipv6_config, mapped from YANG variable /routing_system/interface/ve/ipv6/ipv6_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ipv6_config is considered as a private
method. Backends looking to populate this variable should
do so via c... | [
"Setter",
"method",
"for",
"ipv6_config",
"mapped",
"from",
"YANG",
"variable",
"/",
"routing_system",
"/",
"interface",
"/",
"ve",
"/",
"ipv6",
"/",
"ipv6_config",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/routing_system/interface/ve/ipv6/__init__.py#L118-L139 | train | Sets the ipv6 configuration of the node. |
StackStorm/pybind | pybind/slxos/v17s_1_02/routing_system/interface/ve/ipv6/__init__.py | ipv6._set_ipv6_local_anycast_gateway | def _set_ipv6_local_anycast_gateway(self, v, load=False):
"""
Setter method for ipv6_local_anycast_gateway, mapped from YANG variable /routing_system/interface/ve/ipv6/ipv6_local_anycast_gateway (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ipv6_local_anycast_ga... | python | def _set_ipv6_local_anycast_gateway(self, v, load=False):
"""
Setter method for ipv6_local_anycast_gateway, mapped from YANG variable /routing_system/interface/ve/ipv6/ipv6_local_anycast_gateway (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ipv6_local_anycast_ga... | [
"def",
"_set_ipv6_local_anycast_gateway",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v... | Setter method for ipv6_local_anycast_gateway, mapped from YANG variable /routing_system/interface/ve/ipv6/ipv6_local_anycast_gateway (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ipv6_local_anycast_gateway is considered as a private
method. Backends looking to popul... | [
"Setter",
"method",
"for",
"ipv6_local_anycast_gateway",
"mapped",
"from",
"YANG",
"variable",
"/",
"routing_system",
"/",
"interface",
"/",
"ve",
"/",
"ipv6",
"/",
"ipv6_local_anycast_gateway",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"onl... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/routing_system/interface/ve/ipv6/__init__.py#L221-L242 | train | Sets the value of ipv6_local_anycast_gateway in the order of the given list. |
StackStorm/pybind | pybind/nos/v7_2_0/interface/management/ipv6/__init__.py | ipv6._set_icmpv6 | def _set_icmpv6(self, v, load=False):
"""
Setter method for icmpv6, mapped from YANG variable /interface/management/ipv6/icmpv6 (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_icmpv6 is considered as a private
method. Backends looking to populate this var... | python | def _set_icmpv6(self, v, load=False):
"""
Setter method for icmpv6, mapped from YANG variable /interface/management/ipv6/icmpv6 (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_icmpv6 is considered as a private
method. Backends looking to populate this var... | [
"def",
"_set_icmpv6",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for icmpv6, mapped from YANG variable /interface/management/ipv6/icmpv6 (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_icmpv6 is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_ic... | [
"Setter",
"method",
"for",
"icmpv6",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"management",
"/",
"ipv6",
"/",
"icmpv6",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/interface/management/ipv6/__init__.py#L103-L126 | train | Sets the ICMPv6 control for the internal list of ICMPv6 services. |
StackStorm/pybind | pybind/nos/v7_2_0/interface/management/ipv6/__init__.py | ipv6._set_ipv6_address | def _set_ipv6_address(self, v, load=False):
"""
Setter method for ipv6_address, mapped from YANG variable /interface/management/ipv6/ipv6_address (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_ipv6_address is considered as a private
method. Backends looking... | python | def _set_ipv6_address(self, v, load=False):
"""
Setter method for ipv6_address, mapped from YANG variable /interface/management/ipv6/ipv6_address (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_ipv6_address is considered as a private
method. Backends looking... | [
"def",
"_set_ipv6_address",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"b... | Setter method for ipv6_address, mapped from YANG variable /interface/management/ipv6/ipv6_address (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_ipv6_address is considered as a private
method. Backends looking to populate this variable should
do so via calling ... | [
"Setter",
"method",
"for",
"ipv6_address",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"management",
"/",
"ipv6",
"/",
"ipv6_address",
"(",
"string",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/interface/management/ipv6/__init__.py#L180-L204 | train | Sets the ipv6 address of the
|
StackStorm/pybind | pybind/nos/v7_2_0/rbridge_id/__init__.py | rbridge_id._set_switch_attributes | def _set_switch_attributes(self, v, load=False):
"""
Setter method for switch_attributes, mapped from YANG variable /rbridge_id/switch_attributes (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_switch_attributes is considered as a private
method. Backends... | python | def _set_switch_attributes(self, v, load=False):
"""
Setter method for switch_attributes, mapped from YANG variable /rbridge_id/switch_attributes (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_switch_attributes is considered as a private
method. Backends... | [
"def",
"_set_switch_attributes",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",... | Setter method for switch_attributes, mapped from YANG variable /rbridge_id/switch_attributes (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_switch_attributes is considered as a private
method. Backends looking to populate this variable should
do so via calli... | [
"Setter",
"method",
"for",
"switch_attributes",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"switch_attributes",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"sou... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/rbridge_id/__init__.py#L399-L420 | train | Set the attributes of the node. |
StackStorm/pybind | pybind/nos/v7_2_0/rbridge_id/__init__.py | rbridge_id._set_system_mode | def _set_system_mode(self, v, load=False):
"""
Setter method for system_mode, mapped from YANG variable /rbridge_id/system_mode (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_system_mode is considered as a private
method. Backends looking to populate thi... | python | def _set_system_mode(self, v, load=False):
"""
Setter method for system_mode, mapped from YANG variable /rbridge_id/system_mode (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_system_mode is considered as a private
method. Backends looking to populate thi... | [
"def",
"_set_system_mode",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for system_mode, mapped from YANG variable /rbridge_id/system_mode (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_system_mode is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_sy... | [
"Setter",
"method",
"for",
"system_mode",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"system_mode",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YAN... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/rbridge_id/__init__.py#L432-L453 | train | Sets the system mode of the
|
StackStorm/pybind | pybind/nos/v7_2_0/rbridge_id/__init__.py | rbridge_id._set_root | def _set_root(self, v, load=False):
"""
Setter method for root, mapped from YANG variable /rbridge_id/root (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_root is considered as a private
method. Backends looking to populate this variable should
do so ... | python | def _set_root(self, v, load=False):
"""
Setter method for root, mapped from YANG variable /rbridge_id/root (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_root is considered as a private
method. Backends looking to populate this variable should
do so ... | [
"def",
"_set_root",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for root, mapped from YANG variable /rbridge_id/root (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_root is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_root() directly. | [
"Setter",
"method",
"for",
"root",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"root",
"(",
"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#L574-L595 | train | Set the root of the
|
StackStorm/pybind | pybind/nos/v7_2_0/rbridge_id/__init__.py | rbridge_id._set_vrrp | def _set_vrrp(self, v, load=False):
"""
Setter method for vrrp, mapped from YANG variable /rbridge_id/vrrp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_vrrp is considered as a private
method. Backends looking to populate this variable should
do so ... | python | def _set_vrrp(self, v, load=False):
"""
Setter method for vrrp, mapped from YANG variable /rbridge_id/vrrp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_vrrp is considered as a private
method. Backends looking to populate this variable should
do so ... | [
"def",
"_set_vrrp",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for vrrp, mapped from YANG variable /rbridge_id/vrrp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_vrrp is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_vrrp() directly. | [
"Setter",
"method",
"for",
"vrrp",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"vrrp",
"(",
"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#L640-L661 | train | Sets the value of the vrrp property. |
StackStorm/pybind | pybind/nos/v7_2_0/rbridge_id/__init__.py | rbridge_id._set_system_max | def _set_system_max(self, v, load=False):
"""
Setter method for system_max, mapped from YANG variable /rbridge_id/system_max (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_system_max is considered as a private
method. Backends looking to populate this va... | python | def _set_system_max(self, v, load=False):
"""
Setter method for system_max, mapped from YANG variable /rbridge_id/system_max (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_system_max is considered as a private
method. Backends looking to populate this va... | [
"def",
"_set_system_max",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for system_max, mapped from YANG variable /rbridge_id/system_max (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_system_max is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_syste... | [
"Setter",
"method",
"for",
"system_max",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"system_max",
"(",
"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/rbridge_id/__init__.py#L709-L733 | train | Sets the system_max property of the
|
StackStorm/pybind | pybind/nos/v7_2_0/rbridge_id/__init__.py | rbridge_id._set_arp_entry | def _set_arp_entry(self, v, load=False):
"""
Setter method for arp_entry, mapped from YANG variable /rbridge_id/arp_entry (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_arp_entry is considered as a private
method. Backends looking to populate this variable sh... | python | def _set_arp_entry(self, v, load=False):
"""
Setter method for arp_entry, mapped from YANG variable /rbridge_id/arp_entry (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_arp_entry is considered as a private
method. Backends looking to populate this variable sh... | [
"def",
"_set_arp_entry",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base... | Setter method for arp_entry, mapped from YANG variable /rbridge_id/arp_entry (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_arp_entry is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_arp_entry() d... | [
"Setter",
"method",
"for",
"arp_entry",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"arp_entry",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"fi... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/rbridge_id/__init__.py#L745-L766 | train | Set the entry of the ARP address list. |
StackStorm/pybind | pybind/nos/v7_2_0/rbridge_id/__init__.py | rbridge_id._set_bfd_session_setup_delay | def _set_bfd_session_setup_delay(self, v, load=False):
"""
Setter method for bfd_session_setup_delay, mapped from YANG variable /rbridge_id/bfd_session_setup_delay (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bfd_session_setup_delay is considered as a priv... | python | def _set_bfd_session_setup_delay(self, v, load=False):
"""
Setter method for bfd_session_setup_delay, mapped from YANG variable /rbridge_id/bfd_session_setup_delay (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bfd_session_setup_delay is considered as a priv... | [
"def",
"_set_bfd_session_setup_delay",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
... | Setter method for bfd_session_setup_delay, mapped from YANG variable /rbridge_id/bfd_session_setup_delay (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bfd_session_setup_delay is considered as a private
method. Backends looking to populate this variable should
... | [
"Setter",
"method",
"for",
"bfd_session_setup_delay",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"bfd_session_setup_delay",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/rbridge_id/__init__.py#L846-L869 | train | Sets the bfd - session - setup - delay in seconds |
StackStorm/pybind | pybind/nos/v7_2_0/rbridge_id/__init__.py | rbridge_id._set_dhcpd | def _set_dhcpd(self, v, load=False):
"""
Setter method for dhcpd, mapped from YANG variable /rbridge_id/dhcpd (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_dhcpd is considered as a private
method. Backends looking to populate this variable should
do... | python | def _set_dhcpd(self, v, load=False):
"""
Setter method for dhcpd, mapped from YANG variable /rbridge_id/dhcpd (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_dhcpd is considered as a private
method. Backends looking to populate this variable should
do... | [
"def",
"_set_dhcpd",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for dhcpd, mapped from YANG variable /rbridge_id/dhcpd (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_dhcpd is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_dhcpd() directly. | [
"Setter",
"method",
"for",
"dhcpd",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"dhcpd",
"(",
"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#L1289-L1310 | train | Sets the dhcpd property of the
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.