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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
BD2KGenomics/protect | src/protect/pipeline/ProTECT.py | get_all_tool_inputs | def get_all_tool_inputs(job, tools, outer_key='', mutation_caller_list=None):
"""
Iterate through all the tool options and download required files from their remote locations.
:param dict tools: A dict of dicts of all tools, and their options
:param str outer_key: If this is being called recursively, w... | python | def get_all_tool_inputs(job, tools, outer_key='', mutation_caller_list=None):
"""
Iterate through all the tool options and download required files from their remote locations.
:param dict tools: A dict of dicts of all tools, and their options
:param str outer_key: If this is being called recursively, w... | [
"def",
"get_all_tool_inputs",
"(",
"job",
",",
"tools",
",",
"outer_key",
"=",
"''",
",",
"mutation_caller_list",
"=",
"None",
")",
":",
"for",
"tool",
"in",
"tools",
":",
"for",
"option",
"in",
"tools",
"[",
"tool",
"]",
":",
"if",
"isinstance",
"(",
... | Iterate through all the tool options and download required files from their remote locations.
:param dict tools: A dict of dicts of all tools, and their options
:param str outer_key: If this is being called recursively, what was the outer dict called?
:param list mutation_caller_list: A list of mutation ca... | [
"Iterate",
"through",
"all",
"the",
"tool",
"options",
"and",
"download",
"required",
"files",
"from",
"their",
"remote",
"locations",
"."
] | 06310682c50dcf8917b912c8e551299ff7ee41ce | https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/src/protect/pipeline/ProTECT.py#L740-L774 | train | This function recursively walks through all the tools and returns a dict of all the tools that need to be downloaded from the remote locations. |
BD2KGenomics/protect | src/protect/pipeline/ProTECT.py | get_pipeline_inputs | def get_pipeline_inputs(job, input_flag, input_file, encryption_key=None, per_file_encryption=False,
gdc_download_token=None):
"""
Get the input file from s3 or disk and write to file store.
:param str input_flag: The name of the flag
:param str input_file: The value passed in t... | python | def get_pipeline_inputs(job, input_flag, input_file, encryption_key=None, per_file_encryption=False,
gdc_download_token=None):
"""
Get the input file from s3 or disk and write to file store.
:param str input_flag: The name of the flag
:param str input_file: The value passed in t... | [
"def",
"get_pipeline_inputs",
"(",
"job",
",",
"input_flag",
",",
"input_file",
",",
"encryption_key",
"=",
"None",
",",
"per_file_encryption",
"=",
"False",
",",
"gdc_download_token",
"=",
"None",
")",
":",
"work_dir",
"=",
"os",
".",
"getcwd",
"(",
")",
"j... | Get the input file from s3 or disk and write to file store.
:param str input_flag: The name of the flag
:param str input_file: The value passed in the config file
:param str encryption_key: Path to the encryption key if encrypted with sse-c
:param bool per_file_encryption: If encrypted, was the file en... | [
"Get",
"the",
"input",
"file",
"from",
"s3",
"or",
"disk",
"and",
"write",
"to",
"file",
"store",
"."
] | 06310682c50dcf8917b912c8e551299ff7ee41ce | https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/src/protect/pipeline/ProTECT.py#L777-L806 | train | Get the input file from s3 or disk and write to file store. |
BD2KGenomics/protect | src/protect/pipeline/ProTECT.py | prepare_samples | def prepare_samples(job, patient_dict, univ_options):
"""
Obtain the input files for the patient and write them to the file store.
:param dict patient_dict: The input fastq dict
patient_dict:
|- 'tumor_dna_fastq_[12]' OR 'tumor_dna_bam': str
|- 'tumor_rna_fastq_[12]... | python | def prepare_samples(job, patient_dict, univ_options):
"""
Obtain the input files for the patient and write them to the file store.
:param dict patient_dict: The input fastq dict
patient_dict:
|- 'tumor_dna_fastq_[12]' OR 'tumor_dna_bam': str
|- 'tumor_rna_fastq_[12]... | [
"def",
"prepare_samples",
"(",
"job",
",",
"patient_dict",
",",
"univ_options",
")",
":",
"job",
".",
"fileStore",
".",
"logToMaster",
"(",
"'Downloading Inputs for %s'",
"%",
"univ_options",
"[",
"'patient'",
"]",
")",
"# For each sample type, check if the prefix is an... | Obtain the input files for the patient and write them to the file store.
:param dict patient_dict: The input fastq dict
patient_dict:
|- 'tumor_dna_fastq_[12]' OR 'tumor_dna_bam': str
|- 'tumor_rna_fastq_[12]' OR 'tumor_rna_bam': str
|- 'normal_dna_fastq_[12]... | [
"Obtain",
"the",
"input",
"files",
"for",
"the",
"patient",
"and",
"write",
"them",
"to",
"the",
"file",
"store",
"."
] | 06310682c50dcf8917b912c8e551299ff7ee41ce | https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/src/protect/pipeline/ProTECT.py#L809-L845 | train | This function is called by the pipeline to prepare the samples for the current patient. |
BD2KGenomics/protect | src/protect/pipeline/ProTECT.py | get_patient_bams | def get_patient_bams(job, patient_dict, sample_type, univ_options, bwa_options, mutect_options):
"""
Convenience function to return the bam and its index in the correct format for a sample type.
:param dict patient_dict: dict of patient info
:param str sample_type: 'tumor_rna', 'tumor_dna', 'normal_dna... | python | def get_patient_bams(job, patient_dict, sample_type, univ_options, bwa_options, mutect_options):
"""
Convenience function to return the bam and its index in the correct format for a sample type.
:param dict patient_dict: dict of patient info
:param str sample_type: 'tumor_rna', 'tumor_dna', 'normal_dna... | [
"def",
"get_patient_bams",
"(",
"job",
",",
"patient_dict",
",",
"sample_type",
",",
"univ_options",
",",
"bwa_options",
",",
"mutect_options",
")",
":",
"output_dict",
"=",
"{",
"}",
"if",
"'dna'",
"in",
"sample_type",
":",
"sample_info",
"=",
"'fix_pg_sorted'"... | Convenience function to return the bam and its index in the correct format for a sample type.
:param dict patient_dict: dict of patient info
:param str sample_type: 'tumor_rna', 'tumor_dna', 'normal_dna'
:param dict univ_options: Dict of universal options used by almost all tools
:param dict bwa_option... | [
"Convenience",
"function",
"to",
"return",
"the",
"bam",
"and",
"its",
"index",
"in",
"the",
"correct",
"format",
"for",
"a",
"sample",
"type",
"."
] | 06310682c50dcf8917b912c8e551299ff7ee41ce | https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/src/protect/pipeline/ProTECT.py#L860-L901 | train | This function returns the bam and bai for a particular sample type. |
BD2KGenomics/protect | src/protect/pipeline/ProTECT.py | get_patient_vcf | def get_patient_vcf(job, patient_dict):
"""
Convenience function to get the vcf from the patient dict
:param dict patient_dict: dict of patient info
:return: The vcf
:rtype: toil.fileStore.FileID
"""
temp = job.fileStore.readGlobalFile(patient_dict['mutation_vcf'],
... | python | def get_patient_vcf(job, patient_dict):
"""
Convenience function to get the vcf from the patient dict
:param dict patient_dict: dict of patient info
:return: The vcf
:rtype: toil.fileStore.FileID
"""
temp = job.fileStore.readGlobalFile(patient_dict['mutation_vcf'],
... | [
"def",
"get_patient_vcf",
"(",
"job",
",",
"patient_dict",
")",
":",
"temp",
"=",
"job",
".",
"fileStore",
".",
"readGlobalFile",
"(",
"patient_dict",
"[",
"'mutation_vcf'",
"]",
",",
"os",
".",
"path",
".",
"join",
"(",
"os",
".",
"getcwd",
"(",
")",
... | Convenience function to get the vcf from the patient dict
:param dict patient_dict: dict of patient info
:return: The vcf
:rtype: toil.fileStore.FileID | [
"Convenience",
"function",
"to",
"get",
"the",
"vcf",
"from",
"the",
"patient",
"dict"
] | 06310682c50dcf8917b912c8e551299ff7ee41ce | https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/src/protect/pipeline/ProTECT.py#L904-L919 | train | This function returns the vcf from the patient dict |
BD2KGenomics/protect | src/protect/pipeline/ProTECT.py | get_patient_mhc_haplotype | def get_patient_mhc_haplotype(job, patient_dict):
"""
Convenience function to get the mhc haplotype from the patient dict
:param dict patient_dict: dict of patient info
:return: The MHCI and MHCII haplotypes
:rtype: toil.fileStore.FileID
"""
haplotype_archive = job.fileStore.readGlobalFile(... | python | def get_patient_mhc_haplotype(job, patient_dict):
"""
Convenience function to get the mhc haplotype from the patient dict
:param dict patient_dict: dict of patient info
:return: The MHCI and MHCII haplotypes
:rtype: toil.fileStore.FileID
"""
haplotype_archive = job.fileStore.readGlobalFile(... | [
"def",
"get_patient_mhc_haplotype",
"(",
"job",
",",
"patient_dict",
")",
":",
"haplotype_archive",
"=",
"job",
".",
"fileStore",
".",
"readGlobalFile",
"(",
"patient_dict",
"[",
"'hla_haplotype_files'",
"]",
")",
"haplotype_archive",
"=",
"untargz",
"(",
"haplotype... | Convenience function to get the mhc haplotype from the patient dict
:param dict patient_dict: dict of patient info
:return: The MHCI and MHCII haplotypes
:rtype: toil.fileStore.FileID | [
"Convenience",
"function",
"to",
"get",
"the",
"mhc",
"haplotype",
"from",
"the",
"patient",
"dict"
] | 06310682c50dcf8917b912c8e551299ff7ee41ce | https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/src/protect/pipeline/ProTECT.py#L940-L954 | train | This function returns the MHCI and MHCII haplotypes from the patient dict |
BD2KGenomics/protect | src/protect/pipeline/ProTECT.py | get_patient_expression | def get_patient_expression(job, patient_dict):
"""
Convenience function to get the expression from the patient dict
:param dict patient_dict: dict of patient info
:return: The gene and isoform expression
:rtype: toil.fileStore.FileID
"""
expression_archive = job.fileStore.readGlobalFile(pat... | python | def get_patient_expression(job, patient_dict):
"""
Convenience function to get the expression from the patient dict
:param dict patient_dict: dict of patient info
:return: The gene and isoform expression
:rtype: toil.fileStore.FileID
"""
expression_archive = job.fileStore.readGlobalFile(pat... | [
"def",
"get_patient_expression",
"(",
"job",
",",
"patient_dict",
")",
":",
"expression_archive",
"=",
"job",
".",
"fileStore",
".",
"readGlobalFile",
"(",
"patient_dict",
"[",
"'expression_files'",
"]",
")",
"expression_archive",
"=",
"untargz",
"(",
"expression_ar... | Convenience function to get the expression from the patient dict
:param dict patient_dict: dict of patient info
:return: The gene and isoform expression
:rtype: toil.fileStore.FileID | [
"Convenience",
"function",
"to",
"get",
"the",
"expression",
"from",
"the",
"patient",
"dict"
] | 06310682c50dcf8917b912c8e551299ff7ee41ce | https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/src/protect/pipeline/ProTECT.py#L957-L971 | train | This function returns the expression from the patient dict |
BD2KGenomics/protect | src/protect/pipeline/ProTECT.py | generate_config_file | def generate_config_file():
"""
Generate a config file for a ProTECT run on hg19.
:return: None
"""
shutil.copy(os.path.join(os.path.dirname(__file__), 'input_parameters.yaml'),
os.path.join(os.getcwd(), 'ProTECT_config.yaml')) | python | def generate_config_file():
"""
Generate a config file for a ProTECT run on hg19.
:return: None
"""
shutil.copy(os.path.join(os.path.dirname(__file__), 'input_parameters.yaml'),
os.path.join(os.getcwd(), 'ProTECT_config.yaml')) | [
"def",
"generate_config_file",
"(",
")",
":",
"shutil",
".",
"copy",
"(",
"os",
".",
"path",
".",
"join",
"(",
"os",
".",
"path",
".",
"dirname",
"(",
"__file__",
")",
",",
"'input_parameters.yaml'",
")",
",",
"os",
".",
"path",
".",
"join",
"(",
"os... | Generate a config file for a ProTECT run on hg19.
:return: None | [
"Generate",
"a",
"config",
"file",
"for",
"a",
"ProTECT",
"run",
"on",
"hg19",
"."
] | 06310682c50dcf8917b912c8e551299ff7ee41ce | https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/src/protect/pipeline/ProTECT.py#L974-L981 | train | Generate a config file for a single node of the hg19 project |
StackStorm/pybind | pybind/nos/v6_0_2f/brocade_xstp_ext_rpc/get_stp_brief_info/output/spanning_tree_info/__init__.py | spanning_tree_info._set_stp | def _set_stp(self, v, load=False):
"""
Setter method for stp, mapped from YANG variable /brocade_xstp_ext_rpc/get_stp_brief_info/output/spanning_tree_info/stp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_stp is considered as a private
method. Backends ... | python | def _set_stp(self, v, load=False):
"""
Setter method for stp, mapped from YANG variable /brocade_xstp_ext_rpc/get_stp_brief_info/output/spanning_tree_info/stp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_stp is considered as a private
method. Backends ... | [
"def",
"_set_stp",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
"... | Setter method for stp, mapped from YANG variable /brocade_xstp_ext_rpc/get_stp_brief_info/output/spanning_tree_info/stp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_stp is considered as a private
method. Backends looking to populate this variable should
do... | [
"Setter",
"method",
"for",
"stp",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_xstp_ext_rpc",
"/",
"get_stp_brief_info",
"/",
"output",
"/",
"spanning_tree_info",
"/",
"stp",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_xstp_ext_rpc/get_stp_brief_info/output/spanning_tree_info/__init__.py#L140-L161 | train | Set the object in the tree of unseen items. |
StackStorm/pybind | pybind/nos/v6_0_2f/brocade_xstp_ext_rpc/get_stp_brief_info/output/spanning_tree_info/__init__.py | spanning_tree_info._set_rstp | def _set_rstp(self, v, load=False):
"""
Setter method for rstp, mapped from YANG variable /brocade_xstp_ext_rpc/get_stp_brief_info/output/spanning_tree_info/rstp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_rstp is considered as a private
method. Backe... | python | def _set_rstp(self, v, load=False):
"""
Setter method for rstp, mapped from YANG variable /brocade_xstp_ext_rpc/get_stp_brief_info/output/spanning_tree_info/rstp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_rstp is considered as a private
method. Backe... | [
"def",
"_set_rstp",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for rstp, mapped from YANG variable /brocade_xstp_ext_rpc/get_stp_brief_info/output/spanning_tree_info/rstp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_rstp is considered as a private
method. Backends looking to populate this variable should
... | [
"Setter",
"method",
"for",
"rstp",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_xstp_ext_rpc",
"/",
"get_stp_brief_info",
"/",
"output",
"/",
"spanning_tree_info",
"/",
"rstp",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_xstp_ext_rpc/get_stp_brief_info/output/spanning_tree_info/__init__.py#L173-L194 | train | Set the rstp variable for the internal list of random tree elements. |
StackStorm/pybind | pybind/nos/v6_0_2f/brocade_xstp_ext_rpc/get_stp_brief_info/output/spanning_tree_info/__init__.py | spanning_tree_info._set_mstp | def _set_mstp(self, v, load=False):
"""
Setter method for mstp, mapped from YANG variable /brocade_xstp_ext_rpc/get_stp_brief_info/output/spanning_tree_info/mstp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mstp is considered as a private
method. Backe... | python | def _set_mstp(self, v, load=False):
"""
Setter method for mstp, mapped from YANG variable /brocade_xstp_ext_rpc/get_stp_brief_info/output/spanning_tree_info/mstp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mstp is considered as a private
method. Backe... | [
"def",
"_set_mstp",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for mstp, mapped from YANG variable /brocade_xstp_ext_rpc/get_stp_brief_info/output/spanning_tree_info/mstp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mstp is considered as a private
method. Backends looking to populate this variable should
... | [
"Setter",
"method",
"for",
"mstp",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_xstp_ext_rpc",
"/",
"get_stp_brief_info",
"/",
"output",
"/",
"spanning_tree_info",
"/",
"mstp",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_xstp_ext_rpc/get_stp_brief_info/output/spanning_tree_info/__init__.py#L208-L231 | train | Set the base MSTP element. |
budacom/trading-bots | trading_bots/core/management/templates.py | handle_template | def handle_template(bot_or_project, name, target=None, **options):
"""
Copy either a bot layout template or a Trading-Bots project
layout template into the specified directory.
:param bot_or_project: The string 'bot' or 'project'.
:param name: The name of the bot or project.
:param target: The d... | python | def handle_template(bot_or_project, name, target=None, **options):
"""
Copy either a bot layout template or a Trading-Bots project
layout template into the specified directory.
:param bot_or_project: The string 'bot' or 'project'.
:param name: The name of the bot or project.
:param target: The d... | [
"def",
"handle_template",
"(",
"bot_or_project",
",",
"name",
",",
"target",
"=",
"None",
",",
"*",
"*",
"options",
")",
":",
"bot_or_project",
"=",
"bot_or_project",
"paths_to_remove",
"=",
"[",
"]",
"verbosity",
"=",
"int",
"(",
"options",
"[",
"'verbosity... | Copy either a bot layout template or a Trading-Bots project
layout template into the specified directory.
:param bot_or_project: The string 'bot' or 'project'.
:param name: The name of the bot or project.
:param target: The directory to which the template should be copied.
:param options: The additi... | [
"Copy",
"either",
"a",
"bot",
"layout",
"template",
"or",
"a",
"Trading",
"-",
"Bots",
"project",
"layout",
"template",
"into",
"the",
"specified",
"directory",
".",
":",
"param",
"bot_or_project",
":",
"The",
"string",
"bot",
"or",
"project",
".",
":",
"p... | 8cb68bb8d0b5f822108db1cc5dae336e3d3c3452 | https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/core/management/templates.py#L24-L142 | train | Copy a bot or project layout template into a specified directory. |
budacom/trading-bots | trading_bots/core/management/templates.py | make_writeable | def make_writeable(filename):
"""
Make sure that the file is writeable.
Useful if our source is read-only.
"""
if not os.access(filename, os.W_OK):
st = os.stat(filename)
new_permissions = stat.S_IMODE(st.st_mode) | stat.S_IWUSR
os.chmod(filename, new_permissions) | python | def make_writeable(filename):
"""
Make sure that the file is writeable.
Useful if our source is read-only.
"""
if not os.access(filename, os.W_OK):
st = os.stat(filename)
new_permissions = stat.S_IMODE(st.st_mode) | stat.S_IWUSR
os.chmod(filename, new_permissions) | [
"def",
"make_writeable",
"(",
"filename",
")",
":",
"if",
"not",
"os",
".",
"access",
"(",
"filename",
",",
"os",
".",
"W_OK",
")",
":",
"st",
"=",
"os",
".",
"stat",
"(",
"filename",
")",
"new_permissions",
"=",
"stat",
".",
"S_IMODE",
"(",
"st",
... | Make sure that the file is writeable.
Useful if our source is read-only. | [
"Make",
"sure",
"that",
"the",
"file",
"is",
"writeable",
".",
"Useful",
"if",
"our",
"source",
"is",
"read",
"-",
"only",
"."
] | 8cb68bb8d0b5f822108db1cc5dae336e3d3c3452 | https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/core/management/templates.py#L178-L186 | train | Make sure that the file is writeable. |
StackStorm/pybind | pybind/nos/v6_0_2f/fcoe/fcoe_fabric_map/__init__.py | fcoe_fabric_map._set_fcoe_fabric_mode | def _set_fcoe_fabric_mode(self, v, load=False):
"""
Setter method for fcoe_fabric_mode, mapped from YANG variable /fcoe/fcoe_fabric_map/fcoe_fabric_mode (fcoe-fabric-mode-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_fabric_mode is considered as a private
... | python | def _set_fcoe_fabric_mode(self, v, load=False):
"""
Setter method for fcoe_fabric_mode, mapped from YANG variable /fcoe/fcoe_fabric_map/fcoe_fabric_mode (fcoe-fabric-mode-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_fabric_mode is considered as a private
... | [
"def",
"_set_fcoe_fabric_mode",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for fcoe_fabric_mode, mapped from YANG variable /fcoe/fcoe_fabric_map/fcoe_fabric_mode (fcoe-fabric-mode-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_fabric_mode is considered as a private
method. Backends looking to populate this variable should
... | [
"Setter",
"method",
"for",
"fcoe_fabric_mode",
"mapped",
"from",
"YANG",
"variable",
"/",
"fcoe",
"/",
"fcoe_fabric_map",
"/",
"fcoe_fabric_mode",
"(",
"fcoe",
"-",
"fabric",
"-",
"mode",
"-",
"type",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/fcoe/fcoe_fabric_map/__init__.py#L187-L210 | train | Set the mode of the non - local or remote fabrics. |
StackStorm/pybind | pybind/nos/v6_0_2f/fcoe/fcoe_fabric_map/__init__.py | fcoe_fabric_map._set_fcoe_fcf_map | def _set_fcoe_fcf_map(self, v, load=False):
"""
Setter method for fcoe_fcf_map, mapped from YANG variable /fcoe/fcoe_fabric_map/fcoe_fcf_map (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_fcf_map is considered as a private
method. Backends looking to pop... | python | def _set_fcoe_fcf_map(self, v, load=False):
"""
Setter method for fcoe_fcf_map, mapped from YANG variable /fcoe/fcoe_fabric_map/fcoe_fcf_map (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_fcf_map is considered as a private
method. Backends looking to pop... | [
"def",
"_set_fcoe_fcf_map",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"b... | Setter method for fcoe_fcf_map, mapped from YANG variable /fcoe/fcoe_fabric_map/fcoe_fcf_map (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_fcf_map is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj... | [
"Setter",
"method",
"for",
"fcoe_fcf_map",
"mapped",
"from",
"YANG",
"variable",
"/",
"fcoe",
"/",
"fcoe_fabric_map",
"/",
"fcoe_fcf_map",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/fcoe/fcoe_fabric_map/__init__.py#L420-L444 | train | Set the FCF map for the current FCF group. |
StackStorm/pybind | pybind/nos/v6_0_2f/fcoe/fcoe_fabric_map/__init__.py | fcoe_fabric_map._set_fcoe_fcport_group_config | def _set_fcoe_fcport_group_config(self, v, load=False):
"""
Setter method for fcoe_fcport_group_config, mapped from YANG variable /fcoe/fcoe_fabric_map/fcoe_fcport_group_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_fcport_group_config is consid... | python | def _set_fcoe_fcport_group_config(self, v, load=False):
"""
Setter method for fcoe_fcport_group_config, mapped from YANG variable /fcoe/fcoe_fabric_map/fcoe_fcport_group_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_fcport_group_config is consid... | [
"def",
"_set_fcoe_fcport_group_config",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",... | Setter method for fcoe_fcport_group_config, mapped from YANG variable /fcoe/fcoe_fabric_map/fcoe_fcport_group_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_fcport_group_config is considered as a private
method. Backends looking to populate this vari... | [
"Setter",
"method",
"for",
"fcoe_fcport_group_config",
"mapped",
"from",
"YANG",
"variable",
"/",
"fcoe",
"/",
"fcoe_fabric_map",
"/",
"fcoe_fcport_group_config",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"fa... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/fcoe/fcoe_fabric_map/__init__.py#L458-L481 | train | Set the configuration of the FCoE port group. |
idlesign/steampak | steampak/webapi/resources/apps.py | get_filter_cardborder | def get_filter_cardborder(*cardborder_type):
"""Returns game cards URL filter for a given cardborder
type (TAG_CARDBORDER_NORMAL / TAG_CARDBORDER_FOIL).
To be used in URL_GAMECARDS.
:param str|unicode cardborder_type:
:rtype: str|unicode
"""
filter_ = []
for type_ in cardborder_type:
... | python | def get_filter_cardborder(*cardborder_type):
"""Returns game cards URL filter for a given cardborder
type (TAG_CARDBORDER_NORMAL / TAG_CARDBORDER_FOIL).
To be used in URL_GAMECARDS.
:param str|unicode cardborder_type:
:rtype: str|unicode
"""
filter_ = []
for type_ in cardborder_type:
... | [
"def",
"get_filter_cardborder",
"(",
"*",
"cardborder_type",
")",
":",
"filter_",
"=",
"[",
"]",
"for",
"type_",
"in",
"cardborder_type",
":",
"if",
"not",
"type_",
":",
"continue",
"filter_",
".",
"append",
"(",
"'category_'",
"+",
"APPID_CARDS",
"+",
"'_ca... | Returns game cards URL filter for a given cardborder
type (TAG_CARDBORDER_NORMAL / TAG_CARDBORDER_FOIL).
To be used in URL_GAMECARDS.
:param str|unicode cardborder_type:
:rtype: str|unicode | [
"Returns",
"game",
"cards",
"URL",
"filter",
"for",
"a",
"given",
"cardborder",
"type",
"(",
"TAG_CARDBORDER_NORMAL",
"/",
"TAG_CARDBORDER_FOIL",
")",
"."
] | cb3f2c737e272b0360802d947e388df7e34f50f3 | https://github.com/idlesign/steampak/blob/cb3f2c737e272b0360802d947e388df7e34f50f3/steampak/webapi/resources/apps.py#L21-L37 | train | Returns a URL filter for a given cardborder type. |
StackStorm/pybind | pybind/nos/v6_0_2f/brocade_http_redirect_rpc/__init__.py | brocade_http_redirect._set_set_http_application_url | def _set_set_http_application_url(self, v, load=False):
"""
Setter method for set_http_application_url, mapped from YANG variable /brocade_http_redirect_rpc/set_http_application_url (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_set_http_application_url is conside... | python | def _set_set_http_application_url(self, v, load=False):
"""
Setter method for set_http_application_url, mapped from YANG variable /brocade_http_redirect_rpc/set_http_application_url (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_set_http_application_url is conside... | [
"def",
"_set_set_http_application_url",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",... | Setter method for set_http_application_url, mapped from YANG variable /brocade_http_redirect_rpc/set_http_application_url (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_set_http_application_url is considered as a private
method. Backends looking to populate this varia... | [
"Setter",
"method",
"for",
"set_http_application_url",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_http_redirect_rpc",
"/",
"set_http_application_url",
"(",
"rpc",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_http_redirect_rpc/__init__.py#L96-L119 | train | Set the http application url for the node. |
StackStorm/pybind | pybind/nos/v6_0_2f/brocade_interface_ext_rpc/get_interface_switchport/output/switchport/__init__.py | switchport._set_mode | def _set_mode(self, v, load=False):
"""
Setter method for mode, mapped from YANG variable /brocade_interface_ext_rpc/get_interface_switchport/output/switchport/mode (interface:switchport-mode-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_mode is considered as a p... | python | def _set_mode(self, v, load=False):
"""
Setter method for mode, mapped from YANG variable /brocade_interface_ext_rpc/get_interface_switchport/output/switchport/mode (interface:switchport-mode-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_mode is considered as a p... | [
"def",
"_set_mode",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for mode, mapped from YANG variable /brocade_interface_ext_rpc/get_interface_switchport/output/switchport/mode (interface:switchport-mode-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_mode is considered as a private
method. Backends looking to populate ... | [
"Setter",
"method",
"for",
"mode",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_interface_ext_rpc",
"/",
"get_interface_switchport",
"/",
"output",
"/",
"switchport",
"/",
"mode",
"(",
"interface",
":",
"switchport",
"-",
"mode",
"-",
"type",
")",
"If",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_interface_ext_rpc/get_interface_switchport/output/switchport/__init__.py#L229-L252 | train | Sets the mode of the
|
StackStorm/pybind | pybind/slxos/v17r_2_00/bridge_domain/ip/bd_ip_igmp/snooping/__init__.py | snooping._set_igmps_version | def _set_igmps_version(self, v, load=False):
"""
Setter method for igmps_version, mapped from YANG variable /bridge_domain/ip/bd_ip_igmp/snooping/igmps_version (igmps-version-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_igmps_version is considered as a private
... | python | def _set_igmps_version(self, v, load=False):
"""
Setter method for igmps_version, mapped from YANG variable /bridge_domain/ip/bd_ip_igmp/snooping/igmps_version (igmps-version-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_igmps_version is considered as a private
... | [
"def",
"_set_igmps_version",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"... | Setter method for igmps_version, mapped from YANG variable /bridge_domain/ip/bd_ip_igmp/snooping/igmps_version (igmps-version-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_igmps_version is considered as a private
method. Backends looking to populate this variable sho... | [
"Setter",
"method",
"for",
"igmps_version",
"mapped",
"from",
"YANG",
"variable",
"/",
"bridge_domain",
"/",
"ip",
"/",
"bd_ip_igmp",
"/",
"snooping",
"/",
"igmps_version",
"(",
"igmps",
"-",
"version",
"-",
"type",
")",
"If",
"this",
"variable",
"is",
"read... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/bridge_domain/ip/bd_ip_igmp/snooping/__init__.py#L102-L123 | train | Sets the igmps version of the IGIMP Snooping tree. |
StackStorm/pybind | pybind/slxos/v17r_2_00/bridge_domain/ip/bd_ip_igmp/snooping/__init__.py | snooping._set_igmps_static_group | def _set_igmps_static_group(self, v, load=False):
"""
Setter method for igmps_static_group, mapped from YANG variable /bridge_domain/ip/bd_ip_igmp/snooping/igmps_static_group (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_igmps_static_group is considered as a pri... | python | def _set_igmps_static_group(self, v, load=False):
"""
Setter method for igmps_static_group, mapped from YANG variable /bridge_domain/ip/bd_ip_igmp/snooping/igmps_static_group (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_igmps_static_group is considered as a pri... | [
"def",
"_set_igmps_static_group",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
","... | Setter method for igmps_static_group, mapped from YANG variable /bridge_domain/ip/bd_ip_igmp/snooping/igmps_static_group (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_igmps_static_group is considered as a private
method. Backends looking to populate this variable sh... | [
"Setter",
"method",
"for",
"igmps_static_group",
"mapped",
"from",
"YANG",
"variable",
"/",
"bridge_domain",
"/",
"ip",
"/",
"bd_ip_igmp",
"/",
"snooping",
"/",
"igmps_static_group",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/bridge_domain/ip/bd_ip_igmp/snooping/__init__.py#L366-L387 | train | Set the value of the igmps_static_group property in the IGIMP system. |
StackStorm/pybind | pybind/slxos/v17s_1_02/mpls_state/dynamic_bypass/__init__.py | dynamic_bypass._set_dynamic_bypass_global | def _set_dynamic_bypass_global(self, v, load=False):
"""
Setter method for dynamic_bypass_global, mapped from YANG variable /mpls_state/dynamic_bypass/dynamic_bypass_global (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_dynamic_bypass_global is considered as... | python | def _set_dynamic_bypass_global(self, v, load=False):
"""
Setter method for dynamic_bypass_global, mapped from YANG variable /mpls_state/dynamic_bypass/dynamic_bypass_global (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_dynamic_bypass_global is considered as... | [
"def",
"_set_dynamic_bypass_global",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
... | Setter method for dynamic_bypass_global, mapped from YANG variable /mpls_state/dynamic_bypass/dynamic_bypass_global (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_dynamic_bypass_global is considered as a private
method. Backends looking to populate this variable... | [
"Setter",
"method",
"for",
"dynamic_bypass_global",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_state",
"/",
"dynamic_bypass",
"/",
"dynamic_bypass_global",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"fal... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_state/dynamic_bypass/__init__.py#L98-L121 | train | Sets the flag for the MPLS dynamic bypass node. |
StackStorm/pybind | pybind/nos/v6_0_2f/rbridge_id/router/hide_pim_holder/pim/__init__.py | pim._set_spt_threshold | def _set_spt_threshold(self, v, load=False):
"""
Setter method for spt_threshold, mapped from YANG variable /rbridge_id/router/hide_pim_holder/pim/spt_threshold (spt-thr-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_spt_threshold is considered as a private
me... | python | def _set_spt_threshold(self, v, load=False):
"""
Setter method for spt_threshold, mapped from YANG variable /rbridge_id/router/hide_pim_holder/pim/spt_threshold (spt-thr-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_spt_threshold is considered as a private
me... | [
"def",
"_set_spt_threshold",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"... | Setter method for spt_threshold, mapped from YANG variable /rbridge_id/router/hide_pim_holder/pim/spt_threshold (spt-thr-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_spt_threshold is considered as a private
method. Backends looking to populate this variable should
... | [
"Setter",
"method",
"for",
"spt_threshold",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"router",
"/",
"hide_pim_holder",
"/",
"pim",
"/",
"spt_threshold",
"(",
"spt",
"-",
"thr",
"-",
"type",
")",
"If",
"this",
"variable",
"is",
"read",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/router/hide_pim_holder/pim/__init__.py#L267-L288 | train | Sets the threshold for the shortest path tree. |
StackStorm/pybind | pybind/nos/v6_0_2f/rbridge_id/router/hide_pim_holder/pim/__init__.py | pim._set_rp_address | def _set_rp_address(self, v, load=False):
"""
Setter method for rp_address, mapped from YANG variable /rbridge_id/router/hide_pim_holder/pim/rp_address (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_rp_address is considered as a private
method. Backends looki... | python | def _set_rp_address(self, v, load=False):
"""
Setter method for rp_address, mapped from YANG variable /rbridge_id/router/hide_pim_holder/pim/rp_address (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_rp_address is considered as a private
method. Backends looki... | [
"def",
"_set_rp_address",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for rp_address, mapped from YANG variable /rbridge_id/router/hide_pim_holder/pim/rp_address (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_rp_address is considered as a private
method. Backends looking to populate this variable should
do so via call... | [
"Setter",
"method",
"for",
"rp_address",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"router",
"/",
"hide_pim_holder",
"/",
"pim",
"/",
"rp_address",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/router/hide_pim_holder/pim/__init__.py#L366-L387 | train | Set the rp_address field of the
|
StackStorm/pybind | pybind/slxos/v17r_2_00/telemetry/profile/__init__.py | profile._set_system_utilization | def _set_system_utilization(self, v, load=False):
"""
Setter method for system_utilization, mapped from YANG variable /telemetry/profile/system_utilization (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_system_utilization is considered as a private
method. Ba... | python | def _set_system_utilization(self, v, load=False):
"""
Setter method for system_utilization, mapped from YANG variable /telemetry/profile/system_utilization (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_system_utilization is considered as a private
method. Ba... | [
"def",
"_set_system_utilization",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
","... | Setter method for system_utilization, mapped from YANG variable /telemetry/profile/system_utilization (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_system_utilization is considered as a private
method. Backends looking to populate this variable should
do so via ... | [
"Setter",
"method",
"for",
"system_utilization",
"mapped",
"from",
"YANG",
"variable",
"/",
"telemetry",
"/",
"profile",
"/",
"system_utilization",
"(",
"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/__init__.py#L106-L127 | train | Sets the system_utilization variable. |
StackStorm/pybind | pybind/slxos/v17r_2_00/telemetry/profile/__init__.py | profile._set_enhanced_voq_discard_pkts | def _set_enhanced_voq_discard_pkts(self, v, load=False):
"""
Setter method for enhanced_voq_discard_pkts, mapped from YANG variable /telemetry/profile/enhanced_voq_discard_pkts (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_enhanced_voq_discard_pkts is considered... | python | def _set_enhanced_voq_discard_pkts(self, v, load=False):
"""
Setter method for enhanced_voq_discard_pkts, mapped from YANG variable /telemetry/profile/enhanced_voq_discard_pkts (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_enhanced_voq_discard_pkts is considered... | [
"def",
"_set_enhanced_voq_discard_pkts",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v"... | Setter method for enhanced_voq_discard_pkts, mapped from YANG variable /telemetry/profile/enhanced_voq_discard_pkts (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_enhanced_voq_discard_pkts is considered as a private
method. Backends looking to populate this variable ... | [
"Setter",
"method",
"for",
"enhanced_voq_discard_pkts",
"mapped",
"from",
"YANG",
"variable",
"/",
"telemetry",
"/",
"profile",
"/",
"enhanced_voq_discard_pkts",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/telemetry/profile/__init__.py#L172-L193 | train | Sets the enhanced VOQ discard packets in the order they were added. |
StackStorm/pybind | pybind/slxos/v17r_2_00/telemetry/profile/__init__.py | profile._set_enhanced_voq_max_queue_depth | def _set_enhanced_voq_max_queue_depth(self, v, load=False):
"""
Setter method for enhanced_voq_max_queue_depth, mapped from YANG variable /telemetry/profile/enhanced_voq_max_queue_depth (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_enhanced_voq_max_queue_depth i... | python | def _set_enhanced_voq_max_queue_depth(self, v, load=False):
"""
Setter method for enhanced_voq_max_queue_depth, mapped from YANG variable /telemetry/profile/enhanced_voq_max_queue_depth (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_enhanced_voq_max_queue_depth i... | [
"def",
"_set_enhanced_voq_max_queue_depth",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
... | Setter method for enhanced_voq_max_queue_depth, mapped from YANG variable /telemetry/profile/enhanced_voq_max_queue_depth (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_enhanced_voq_max_queue_depth is considered as a private
method. Backends looking to populate this ... | [
"Setter",
"method",
"for",
"enhanced_voq_max_queue_depth",
"mapped",
"from",
"YANG",
"variable",
"/",
"telemetry",
"/",
"profile",
"/",
"enhanced_voq_max_queue_depth",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"fa... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/telemetry/profile/__init__.py#L205-L226 | train | Sets the maximum queue depth of a resource. |
StackStorm/pybind | pybind/slxos/v17r_2_00/telemetry/profile/__init__.py | profile._set_tm_voq | def _set_tm_voq(self, v, load=False):
"""
Setter method for tm_voq, mapped from YANG variable /telemetry/profile/tm_voq (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_tm_voq is considered as a private
method. Backends looking to populate this variable should
... | python | def _set_tm_voq(self, v, load=False):
"""
Setter method for tm_voq, mapped from YANG variable /telemetry/profile/tm_voq (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_tm_voq is considered as a private
method. Backends looking to populate this variable should
... | [
"def",
"_set_tm_voq",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for tm_voq, mapped from YANG variable /telemetry/profile/tm_voq (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_tm_voq is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_tm_voq() direct... | [
"Setter",
"method",
"for",
"tm_voq",
"mapped",
"from",
"YANG",
"variable",
"/",
"telemetry",
"/",
"profile",
"/",
"tm_voq",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_2_00/telemetry/profile/__init__.py#L238-L259 | train | Set the value of the tm_voq property in the base order is important. |
StackStorm/pybind | pybind/slxos/v17r_2_00/telemetry/profile/__init__.py | profile._set_mpls_traffic_bypass | def _set_mpls_traffic_bypass(self, v, load=False):
"""
Setter method for mpls_traffic_bypass, mapped from YANG variable /telemetry/profile/mpls_traffic_bypass (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_mpls_traffic_bypass is considered as a private
method... | python | def _set_mpls_traffic_bypass(self, v, load=False):
"""
Setter method for mpls_traffic_bypass, mapped from YANG variable /telemetry/profile/mpls_traffic_bypass (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_mpls_traffic_bypass is considered as a private
method... | [
"def",
"_set_mpls_traffic_bypass",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",... | Setter method for mpls_traffic_bypass, mapped from YANG variable /telemetry/profile/mpls_traffic_bypass (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_mpls_traffic_bypass is considered as a private
method. Backends looking to populate this variable should
do so v... | [
"Setter",
"method",
"for",
"mpls_traffic_bypass",
"mapped",
"from",
"YANG",
"variable",
"/",
"telemetry",
"/",
"profile",
"/",
"mpls_traffic_bypass",
"(",
"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/__init__.py#L304-L325 | train | Sets the value of the
property to v. |
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay_class_map/cmap_seq/match/__init__.py | match._set_any | def _set_any(self, v, load=False):
"""
Setter method for any, mapped from YANG variable /overlay_class_map/cmap_seq/match/any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_any is considered as a private
method. Backends looking to populate this variable sho... | python | def _set_any(self, v, load=False):
"""
Setter method for any, mapped from YANG variable /overlay_class_map/cmap_seq/match/any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_any is considered as a private
method. Backends looking to populate this variable sho... | [
"def",
"_set_any",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
"... | Setter method for any, mapped from YANG variable /overlay_class_map/cmap_seq/match/any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_any is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_any() di... | [
"Setter",
"method",
"for",
"any",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay_class_map",
"/",
"cmap_seq",
"/",
"match",
"/",
"any",
"(",
"empty",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay_class_map/cmap_seq/match/__init__.py#L99-L120 | train | Set any value of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay_class_map/cmap_seq/match/__init__.py | match._set_contn_src_dst | def _set_contn_src_dst(self, v, load=False):
"""
Setter method for contn_src_dst, mapped from YANG variable /overlay_class_map/cmap_seq/match/contn_src_dst (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_contn_src_dst is considered as a private
method. Ba... | python | def _set_contn_src_dst(self, v, load=False):
"""
Setter method for contn_src_dst, mapped from YANG variable /overlay_class_map/cmap_seq/match/contn_src_dst (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_contn_src_dst is considered as a private
method. Ba... | [
"def",
"_set_contn_src_dst",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"... | Setter method for contn_src_dst, mapped from YANG variable /overlay_class_map/cmap_seq/match/contn_src_dst (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_contn_src_dst is considered as a private
method. Backends looking to populate this variable should
do so... | [
"Setter",
"method",
"for",
"contn_src_dst",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay_class_map",
"/",
"cmap_seq",
"/",
"match",
"/",
"contn_src_dst",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay_class_map/cmap_seq/match/__init__.py#L132-L153 | train | Sets the value of contn_src_dst in the internal list of the
. |
StackStorm/pybind | pybind/slxos/v17s_1_02/overlay_class_map/cmap_seq/match/__init__.py | match._set_source | def _set_source(self, v, load=False):
"""
Setter method for source, mapped from YANG variable /overlay_class_map/cmap_seq/match/source (ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_source is considered as a private
method. Backends looking to populat... | python | def _set_source(self, v, load=False):
"""
Setter method for source, mapped from YANG variable /overlay_class_map/cmap_seq/match/source (ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_source is considered as a private
method. Backends looking to populat... | [
"def",
"_set_source",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for source, mapped from YANG variable /overlay_class_map/cmap_seq/match/source (ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_source is considered as a private
method. Backends looking to populate this variable should
do so via calling thisO... | [
"Setter",
"method",
"for",
"source",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay_class_map",
"/",
"cmap_seq",
"/",
"match",
"/",
"source",
"(",
"ipv4",
"-",
"address",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/overlay_class_map/cmap_seq/match/__init__.py#L198-L219 | train | Sets the source of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/protocol/cfm/domain_name/ma_name/__init__.py | ma_name._set_ma_bd_vid | def _set_ma_bd_vid(self, v, load=False):
"""
Setter method for ma_bd_vid, mapped from YANG variable /protocol/cfm/domain_name/ma_name/ma_bd_vid (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_ma_bd_vid is considered as a private
method. Backends looking to p... | python | def _set_ma_bd_vid(self, v, load=False):
"""
Setter method for ma_bd_vid, mapped from YANG variable /protocol/cfm/domain_name/ma_name/ma_bd_vid (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_ma_bd_vid is considered as a private
method. Backends looking to p... | [
"def",
"_set_ma_bd_vid",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base... | Setter method for ma_bd_vid, mapped from YANG variable /protocol/cfm/domain_name/ma_name/ma_bd_vid (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_ma_bd_vid is considered as a private
method. Backends looking to populate this variable should
do so via calling th... | [
"Setter",
"method",
"for",
"ma_bd_vid",
"mapped",
"from",
"YANG",
"variable",
"/",
"protocol",
"/",
"cfm",
"/",
"domain_name",
"/",
"ma_name",
"/",
"ma_bd_vid",
"(",
"uint32",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/protocol/cfm/domain_name/ma_name/__init__.py#L201-L222 | train | Sets the ma_bd_vid variable in the domain name |
StackStorm/pybind | pybind/nos/v6_0_2f/ip/dns/__init__.py | dns._set_dom_name | def _set_dom_name(self, v, load=False):
"""
Setter method for dom_name, mapped from YANG variable /ip/dns/dom_name (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_dom_name is considered as a private
method. Backends looking to populate this variable shoul... | python | def _set_dom_name(self, v, load=False):
"""
Setter method for dom_name, mapped from YANG variable /ip/dns/dom_name (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_dom_name is considered as a private
method. Backends looking to populate this variable shoul... | [
"def",
"_set_dom_name",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for dom_name, mapped from YANG variable /ip/dns/dom_name (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_dom_name is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_dom_name() dire... | [
"Setter",
"method",
"for",
"dom_name",
"mapped",
"from",
"YANG",
"variable",
"/",
"ip",
"/",
"dns",
"/",
"dom_name",
"(",
"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/ip/dns/__init__.py#L94-L115 | train | Sets the domain name of the cluster. |
StackStorm/pybind | pybind/nos/v6_0_2f/ip/dns/__init__.py | dns._set_name_server | def _set_name_server(self, v, load=False):
"""
Setter method for name_server, mapped from YANG variable /ip/dns/name_server (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_name_server is considered as a private
method. Backends looking to populate this variabl... | python | def _set_name_server(self, v, load=False):
"""
Setter method for name_server, mapped from YANG variable /ip/dns/name_server (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_name_server is considered as a private
method. Backends looking to populate this variabl... | [
"def",
"_set_name_server",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for name_server, mapped from YANG variable /ip/dns/name_server (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_name_server is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_name_server... | [
"Setter",
"method",
"for",
"name_server",
"mapped",
"from",
"YANG",
"variable",
"/",
"ip",
"/",
"dns",
"/",
"name_server",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/ip/dns/__init__.py#L127-L148 | train | Set the name server of the
|
StackStorm/pybind | pybind/slxos/v17r_1_01a/isis_state/interface_detail/isis_intf/__init__.py | isis_intf._set_circuit_encap | def _set_circuit_encap(self, v, load=False):
"""
Setter method for circuit_encap, mapped from YANG variable /isis_state/interface_detail/isis_intf/circuit_encap (isis-circ-encap)
If this variable is read-only (config: false) in the
source YANG file, then _set_circuit_encap is considered as a private
... | python | def _set_circuit_encap(self, v, load=False):
"""
Setter method for circuit_encap, mapped from YANG variable /isis_state/interface_detail/isis_intf/circuit_encap (isis-circ-encap)
If this variable is read-only (config: false) in the
source YANG file, then _set_circuit_encap is considered as a private
... | [
"def",
"_set_circuit_encap",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"... | Setter method for circuit_encap, mapped from YANG variable /isis_state/interface_detail/isis_intf/circuit_encap (isis-circ-encap)
If this variable is read-only (config: false) in the
source YANG file, then _set_circuit_encap is considered as a private
method. Backends looking to populate this variable shoul... | [
"Setter",
"method",
"for",
"circuit_encap",
"mapped",
"from",
"YANG",
"variable",
"/",
"isis_state",
"/",
"interface_detail",
"/",
"isis_intf",
"/",
"circuit_encap",
"(",
"isis",
"-",
"circ",
"-",
"encap",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"o... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/isis_state/interface_detail/isis_intf/__init__.py#L541-L564 | train | Sets the circuit enclosure for the
|
StackStorm/pybind | pybind/slxos/v17r_1_01a/isis_state/interface_detail/isis_intf/__init__.py | isis_intf._set_circ_chstats | def _set_circ_chstats(self, v, load=False):
"""
Setter method for circ_chstats, mapped from YANG variable /isis_state/interface_detail/isis_intf/circ_chstats (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_circ_chstats is considered as a private
method. B... | python | def _set_circ_chstats(self, v, load=False):
"""
Setter method for circ_chstats, mapped from YANG variable /isis_state/interface_detail/isis_intf/circ_chstats (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_circ_chstats is considered as a private
method. B... | [
"def",
"_set_circ_chstats",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"b... | Setter method for circ_chstats, mapped from YANG variable /isis_state/interface_detail/isis_intf/circ_chstats (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_circ_chstats is considered as a private
method. Backends looking to populate this variable should
do ... | [
"Setter",
"method",
"for",
"circ_chstats",
"mapped",
"from",
"YANG",
"variable",
"/",
"isis_state",
"/",
"interface_detail",
"/",
"isis_intf",
"/",
"circ_chstats",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/isis_state/interface_detail/isis_intf/__init__.py#L726-L749 | train | Sets the circuit change statistics for the ISIS - CHStats interface. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/isis_state/interface_detail/isis_intf/__init__.py | isis_intf._set_mpls_info | def _set_mpls_info(self, v, load=False):
"""
Setter method for mpls_info, mapped from YANG variable /isis_state/interface_detail/isis_intf/mpls_info (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mpls_info is considered as a private
method. Backends look... | python | def _set_mpls_info(self, v, load=False):
"""
Setter method for mpls_info, mapped from YANG variable /isis_state/interface_detail/isis_intf/mpls_info (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mpls_info is considered as a private
method. Backends look... | [
"def",
"_set_mpls_info",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base... | Setter method for mpls_info, mapped from YANG variable /isis_state/interface_detail/isis_intf/mpls_info (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mpls_info is considered as a private
method. Backends looking to populate this variable should
do so via ca... | [
"Setter",
"method",
"for",
"mpls_info",
"mapped",
"from",
"YANG",
"variable",
"/",
"isis_state",
"/",
"interface_detail",
"/",
"isis_intf",
"/",
"mpls_info",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"fal... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/isis_state/interface_detail/isis_intf/__init__.py#L763-L786 | train | Set the MPLS TE info for the
|
StackStorm/pybind | pybind/slxos/v17r_1_01a/isis_state/interface_detail/isis_intf/__init__.py | isis_intf._set_reverse_metric_info | def _set_reverse_metric_info(self, v, load=False):
"""
Setter method for reverse_metric_info, mapped from YANG variable /isis_state/interface_detail/isis_intf/reverse_metric_info (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_reverse_metric_info is considere... | python | def _set_reverse_metric_info(self, v, load=False):
"""
Setter method for reverse_metric_info, mapped from YANG variable /isis_state/interface_detail/isis_intf/reverse_metric_info (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_reverse_metric_info is considere... | [
"def",
"_set_reverse_metric_info",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",... | Setter method for reverse_metric_info, mapped from YANG variable /isis_state/interface_detail/isis_intf/reverse_metric_info (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_reverse_metric_info is considered as a private
method. Backends looking to populate this va... | [
"Setter",
"method",
"for",
"reverse_metric_info",
"mapped",
"from",
"YANG",
"variable",
"/",
"isis_state",
"/",
"interface_detail",
"/",
"isis_intf",
"/",
"reverse_metric_info",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"co... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/isis_state/interface_detail/isis_intf/__init__.py#L800-L823 | train | Set the value of reverse_metric_info in the ISIS network. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/isis_state/interface_detail/isis_intf/__init__.py | isis_intf._set_ldp_sync_info | def _set_ldp_sync_info(self, v, load=False):
"""
Setter method for ldp_sync_info, mapped from YANG variable /isis_state/interface_detail/isis_intf/ldp_sync_info (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ldp_sync_info is considered as a private
metho... | python | def _set_ldp_sync_info(self, v, load=False):
"""
Setter method for ldp_sync_info, mapped from YANG variable /isis_state/interface_detail/isis_intf/ldp_sync_info (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ldp_sync_info is considered as a private
metho... | [
"def",
"_set_ldp_sync_info",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"... | Setter method for ldp_sync_info, mapped from YANG variable /isis_state/interface_detail/isis_intf/ldp_sync_info (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ldp_sync_info is considered as a private
method. Backends looking to populate this variable should
... | [
"Setter",
"method",
"for",
"ldp_sync_info",
"mapped",
"from",
"YANG",
"variable",
"/",
"isis_state",
"/",
"interface_detail",
"/",
"isis_intf",
"/",
"ldp_sync_info",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/isis_state/interface_detail/isis_intf/__init__.py#L837-L860 | train | Sets the LDP sync info for the ISIS LDP virtual list. |
StackStorm/pybind | pybind/slxos/v17s_1_02/brocade_tunnels_ext_rpc/get_tunnel_info/output/tunnel/__init__.py | tunnel._set_config_src | def _set_config_src(self, v, load=False):
"""
Setter method for config_src, mapped from YANG variable /brocade_tunnels_ext_rpc/get_tunnel_info/output/tunnel/config_src (config-src-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_config_src is considered as a private... | python | def _set_config_src(self, v, load=False):
"""
Setter method for config_src, mapped from YANG variable /brocade_tunnels_ext_rpc/get_tunnel_info/output/tunnel/config_src (config-src-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_config_src is considered as a private... | [
"def",
"_set_config_src",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for config_src, mapped from YANG variable /brocade_tunnels_ext_rpc/get_tunnel_info/output/tunnel/config_src (config-src-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_config_src is considered as a private
method. Backends looking to populate this variabl... | [
"Setter",
"method",
"for",
"config_src",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_tunnels_ext_rpc",
"/",
"get_tunnel_info",
"/",
"output",
"/",
"tunnel",
"/",
"config_src",
"(",
"config",
"-",
"src",
"-",
"type",
")",
"If",
"this",
"variable",
"is",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/brocade_tunnels_ext_rpc/get_tunnel_info/output/tunnel/__init__.py#L292-L316 | train | Sets the configuration source of the
|
StackStorm/pybind | pybind/nos/v6_0_2f/interface/fcoe/__init__.py | fcoe._set_fcoe_interface_bind | def _set_fcoe_interface_bind(self, v, load=False):
"""
Setter method for fcoe_interface_bind, mapped from YANG variable /interface/fcoe/fcoe_interface_bind (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_interface_bind is considered as a private
meth... | python | def _set_fcoe_interface_bind(self, v, load=False):
"""
Setter method for fcoe_interface_bind, mapped from YANG variable /interface/fcoe/fcoe_interface_bind (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_interface_bind is considered as a private
meth... | [
"def",
"_set_fcoe_interface_bind",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",... | Setter method for fcoe_interface_bind, mapped from YANG variable /interface/fcoe/fcoe_interface_bind (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_interface_bind is considered as a private
method. Backends looking to populate this variable should
do so... | [
"Setter",
"method",
"for",
"fcoe_interface_bind",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"fcoe",
"/",
"fcoe_interface_bind",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/fcoe/__init__.py#L184-L207 | train | Set the value of fcoe_interface_bind |
StackStorm/pybind | pybind/nos/v7_2_0/firmware/peripheral_update/__init__.py | peripheral_update._set_microcode | def _set_microcode(self, v, load=False):
"""
Setter method for microcode, mapped from YANG variable /firmware/peripheral_update/microcode (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_microcode is considered as a private
method. Backends looking to popu... | python | def _set_microcode(self, v, load=False):
"""
Setter method for microcode, mapped from YANG variable /firmware/peripheral_update/microcode (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_microcode is considered as a private
method. Backends looking to popu... | [
"def",
"_set_microcode",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base... | Setter method for microcode, mapped from YANG variable /firmware/peripheral_update/microcode (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_microcode is considered as a private
method. Backends looking to populate this variable should
do so via calling thisO... | [
"Setter",
"method",
"for",
"microcode",
"mapped",
"from",
"YANG",
"variable",
"/",
"firmware",
"/",
"peripheral_update",
"/",
"microcode",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/firmware/peripheral_update/__init__.py#L92-L113 | train | Sets the microcode of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/mpls_state/ldp/fec/__init__.py | fec._set_ldp_fec_summary | def _set_ldp_fec_summary(self, v, load=False):
"""
Setter method for ldp_fec_summary, mapped from YANG variable /mpls_state/ldp/fec/ldp_fec_summary (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ldp_fec_summary is considered as a private
method. Backends... | python | def _set_ldp_fec_summary(self, v, load=False):
"""
Setter method for ldp_fec_summary, mapped from YANG variable /mpls_state/ldp/fec/ldp_fec_summary (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ldp_fec_summary is considered as a private
method. Backends... | [
"def",
"_set_ldp_fec_summary",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for ldp_fec_summary, mapped from YANG variable /mpls_state/ldp/fec/ldp_fec_summary (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ldp_fec_summary is considered as a private
method. Backends looking to populate this variable should
do so via cal... | [
"Setter",
"method",
"for",
"ldp_fec_summary",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_state",
"/",
"ldp",
"/",
"fec",
"/",
"ldp_fec_summary",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_state/ldp/fec/__init__.py#L104-L125 | train | Sets the ldp - fec - summary for the given object. |
StackStorm/pybind | pybind/slxos/v17s_1_02/mpls_state/ldp/fec/__init__.py | fec._set_ldp_fec_prefixes | def _set_ldp_fec_prefixes(self, v, load=False):
"""
Setter method for ldp_fec_prefixes, mapped from YANG variable /mpls_state/ldp/fec/ldp_fec_prefixes (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ldp_fec_prefixes is considered as a private
method. Back... | python | def _set_ldp_fec_prefixes(self, v, load=False):
"""
Setter method for ldp_fec_prefixes, mapped from YANG variable /mpls_state/ldp/fec/ldp_fec_prefixes (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ldp_fec_prefixes is considered as a private
method. Back... | [
"def",
"_set_ldp_fec_prefixes",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for ldp_fec_prefixes, mapped from YANG variable /mpls_state/ldp/fec/ldp_fec_prefixes (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ldp_fec_prefixes is considered as a private
method. Backends looking to populate this variable should
do so via ... | [
"Setter",
"method",
"for",
"ldp_fec_prefixes",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_state",
"/",
"ldp",
"/",
"fec",
"/",
"ldp_fec_prefixes",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_state/ldp/fec/__init__.py#L137-L158 | train | Sets the LDP FEC prefixes for the given sequence of LDP FEC prefixes. |
StackStorm/pybind | pybind/slxos/v17s_1_02/mpls_state/ldp/fec/__init__.py | fec._set_ldp_fec_vcs | def _set_ldp_fec_vcs(self, v, load=False):
"""
Setter method for ldp_fec_vcs, mapped from YANG variable /mpls_state/ldp/fec/ldp_fec_vcs (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ldp_fec_vcs is considered as a private
method. Backends looking to popu... | python | def _set_ldp_fec_vcs(self, v, load=False):
"""
Setter method for ldp_fec_vcs, mapped from YANG variable /mpls_state/ldp/fec/ldp_fec_vcs (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ldp_fec_vcs is considered as a private
method. Backends looking to popu... | [
"def",
"_set_ldp_fec_vcs",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for ldp_fec_vcs, mapped from YANG variable /mpls_state/ldp/fec/ldp_fec_vcs (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ldp_fec_vcs is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj... | [
"Setter",
"method",
"for",
"ldp_fec_vcs",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_state",
"/",
"ldp",
"/",
"fec",
"/",
"ldp_fec_vcs",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_state/ldp/fec/__init__.py#L170-L191 | train | Sets the LDP FEC VCS parameter. |
StackStorm/pybind | pybind/slxos/v17s_1_02/mpls_state/ldp/fec/__init__.py | fec._set_ldp_fec_prefix_prefix | def _set_ldp_fec_prefix_prefix(self, v, load=False):
"""
Setter method for ldp_fec_prefix_prefix, mapped from YANG variable /mpls_state/ldp/fec/ldp_fec_prefix_prefix (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ldp_fec_prefix_prefix is considered as a priv... | python | def _set_ldp_fec_prefix_prefix(self, v, load=False):
"""
Setter method for ldp_fec_prefix_prefix, mapped from YANG variable /mpls_state/ldp/fec/ldp_fec_prefix_prefix (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ldp_fec_prefix_prefix is considered as a priv... | [
"def",
"_set_ldp_fec_prefix_prefix",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
... | Setter method for ldp_fec_prefix_prefix, mapped from YANG variable /mpls_state/ldp/fec/ldp_fec_prefix_prefix (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ldp_fec_prefix_prefix is considered as a private
method. Backends looking to populate this variable should... | [
"Setter",
"method",
"for",
"ldp_fec_prefix_prefix",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_state",
"/",
"ldp",
"/",
"fec",
"/",
"ldp_fec_prefix_prefix",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_state/ldp/fec/__init__.py#L269-L290 | train | Sets the LDP FEC prefix for the sequence of LDP routes. |
StackStorm/pybind | pybind/nos/v6_0_2f/fcoe/fcoe_fabric_map/fcoe_fcf_map/__init__.py | fcoe_fcf_map._set_fcf_map_fif_rbid | def _set_fcf_map_fif_rbid(self, v, load=False):
"""
Setter method for fcf_map_fif_rbid, mapped from YANG variable /fcoe/fcoe_fabric_map/fcoe_fcf_map/fcf_map_fif_rbid (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcf_map_fif_rbid is considered as a private
... | python | def _set_fcf_map_fif_rbid(self, v, load=False):
"""
Setter method for fcf_map_fif_rbid, mapped from YANG variable /fcoe/fcoe_fabric_map/fcoe_fcf_map/fcf_map_fif_rbid (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcf_map_fif_rbid is considered as a private
... | [
"def",
"_set_fcf_map_fif_rbid",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for fcf_map_fif_rbid, mapped from YANG variable /fcoe/fcoe_fabric_map/fcoe_fcf_map/fcf_map_fif_rbid (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcf_map_fif_rbid is considered as a private
method. Backends looking to populate this variable should... | [
"Setter",
"method",
"for",
"fcf_map_fif_rbid",
"mapped",
"from",
"YANG",
"variable",
"/",
"fcoe",
"/",
"fcoe_fabric_map",
"/",
"fcoe_fcf_map",
"/",
"fcf_map_fif_rbid",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/fcoe/fcoe_fabric_map/fcoe_fcf_map/__init__.py#L181-L205 | train | Sets the FCF RBID of the current FCF Group. |
StackStorm/pybind | pybind/nos/v6_0_2f/overlay_gateway/site/__init__.py | site._set_tunnel_dst | def _set_tunnel_dst(self, v, load=False):
"""
Setter method for tunnel_dst, mapped from YANG variable /overlay_gateway/site/tunnel_dst (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_tunnel_dst is considered as a private
method. Backends looking to populate th... | python | def _set_tunnel_dst(self, v, load=False):
"""
Setter method for tunnel_dst, mapped from YANG variable /overlay_gateway/site/tunnel_dst (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_tunnel_dst is considered as a private
method. Backends looking to populate th... | [
"def",
"_set_tunnel_dst",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for tunnel_dst, mapped from YANG variable /overlay_gateway/site/tunnel_dst (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_tunnel_dst is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_... | [
"Setter",
"method",
"for",
"tunnel_dst",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay_gateway",
"/",
"site",
"/",
"tunnel_dst",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/overlay_gateway/site/__init__.py#L144-L169 | train | Set tunnel destination IP address. |
StackStorm/pybind | pybind/nos/v6_0_2f/overlay_gateway/site/__init__.py | site._set_extend | def _set_extend(self, v, load=False):
"""
Setter method for extend, mapped from YANG variable /overlay_gateway/site/extend (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_extend is considered as a private
method. Backends looking to populate this variable... | python | def _set_extend(self, v, load=False):
"""
Setter method for extend, mapped from YANG variable /overlay_gateway/site/extend (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_extend is considered as a private
method. Backends looking to populate this variable... | [
"def",
"_set_extend",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for extend, mapped from YANG variable /overlay_gateway/site/extend (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_extend is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_extend(... | [
"Setter",
"method",
"for",
"extend",
"mapped",
"from",
"YANG",
"variable",
"/",
"overlay_gateway",
"/",
"site",
"/",
"extend",
"(",
"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/overlay_gateway/site/__init__.py#L187-L214 | train | Sets the extend variable for the
|
StackStorm/pybind | pybind/nos/v6_0_2f/brocade_fabric_service_rpc/__init__.py | brocade_fabric_service._set_show_linkinfo | def _set_show_linkinfo(self, v, load=False):
"""
Setter method for show_linkinfo, mapped from YANG variable /brocade_fabric_service_rpc/show_linkinfo (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_linkinfo is considered as a private
method. Backends looki... | python | def _set_show_linkinfo(self, v, load=False):
"""
Setter method for show_linkinfo, mapped from YANG variable /brocade_fabric_service_rpc/show_linkinfo (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_linkinfo is considered as a private
method. Backends looki... | [
"def",
"_set_show_linkinfo",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"... | Setter method for show_linkinfo, mapped from YANG variable /brocade_fabric_service_rpc/show_linkinfo (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_linkinfo is considered as a private
method. Backends looking to populate this variable should
do so via calling... | [
"Setter",
"method",
"for",
"show_linkinfo",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_fabric_service_rpc",
"/",
"show_linkinfo",
"(",
"rpc",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"s... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_fabric_service_rpc/__init__.py#L189-L214 | train | Set show - linkinfo field of the
. |
StackStorm/pybind | pybind/nos/v6_0_2f/brocade_fabric_service_rpc/__init__.py | brocade_fabric_service._set_show_portindex_interface_info | def _set_show_portindex_interface_info(self, v, load=False):
"""
Setter method for show_portindex_interface_info, mapped from YANG variable /brocade_fabric_service_rpc/show_portindex_interface_info (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_portindex_inte... | python | def _set_show_portindex_interface_info(self, v, load=False):
"""
Setter method for show_portindex_interface_info, mapped from YANG variable /brocade_fabric_service_rpc/show_portindex_interface_info (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_portindex_inte... | [
"def",
"_set_show_portindex_interface_info",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
... | Setter method for show_portindex_interface_info, mapped from YANG variable /brocade_fabric_service_rpc/show_portindex_interface_info (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_portindex_interface_info is considered as a private
method. Backends looking to pop... | [
"Setter",
"method",
"for",
"show_portindex_interface_info",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_fabric_service_rpc",
"/",
"show_portindex_interface_info",
"(",
"rpc",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"fals... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_fabric_service_rpc/__init__.py#L233-L261 | train | Set the show_portindex_interface_info field of the
. |
StackStorm/pybind | pybind/nos/v6_0_2f/brocade_fabric_service_rpc/__init__.py | brocade_fabric_service._set_show_fibrechannel_interface_info | def _set_show_fibrechannel_interface_info(self, v, load=False):
"""
Setter method for show_fibrechannel_interface_info, mapped from YANG variable /brocade_fabric_service_rpc/show_fibrechannel_interface_info (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_fibre... | python | def _set_show_fibrechannel_interface_info(self, v, load=False):
"""
Setter method for show_fibrechannel_interface_info, mapped from YANG variable /brocade_fabric_service_rpc/show_fibrechannel_interface_info (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_fibre... | [
"def",
"_set_show_fibrechannel_interface_info",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"("... | Setter method for show_fibrechannel_interface_info, mapped from YANG variable /brocade_fabric_service_rpc/show_fibrechannel_interface_info (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_fibrechannel_interface_info is considered as a private
method. Backends looki... | [
"Setter",
"method",
"for",
"show_fibrechannel_interface_info",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_fabric_service_rpc",
"/",
"show_fibrechannel_interface_info",
"(",
"rpc",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_fabric_service_rpc/__init__.py#L280-L308 | train | Set the show_fibrechannel_interface_info field of the
. |
StackStorm/pybind | pybind/nos/v6_0_2f/brocade_fabric_service_rpc/__init__.py | brocade_fabric_service._set_show_fabric_trunk_info | def _set_show_fabric_trunk_info(self, v, load=False):
"""
Setter method for show_fabric_trunk_info, mapped from YANG variable /brocade_fabric_service_rpc/show_fabric_trunk_info (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_fabric_trunk_info is considered as ... | python | def _set_show_fabric_trunk_info(self, v, load=False):
"""
Setter method for show_fabric_trunk_info, mapped from YANG variable /brocade_fabric_service_rpc/show_fabric_trunk_info (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_fabric_trunk_info is considered as ... | [
"def",
"_set_show_fabric_trunk_info",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
... | Setter method for show_fabric_trunk_info, mapped from YANG variable /brocade_fabric_service_rpc/show_fabric_trunk_info (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_fabric_trunk_info is considered as a private
method. Backends looking to populate this variable s... | [
"Setter",
"method",
"for",
"show_fabric_trunk_info",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_fabric_service_rpc",
"/",
"show_fabric_trunk_info",
"(",
"rpc",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_fabric_service_rpc/__init__.py#L323-L347 | train | This method is used to set the show - fabric - trunk - info property of the fabric. |
jinglemansweep/lcdproc | lcdproc/server.py | Server.request | def request(self, command_string):
""" Request """
self.tn.write((command_string + "\n").encode())
if self.debug: print "Telnet Request: %s" % (command_string)
while True:
response = urllib.unquote(self.tn.read_until(b"\n").decode())
if "success... | python | def request(self, command_string):
""" Request """
self.tn.write((command_string + "\n").encode())
if self.debug: print "Telnet Request: %s" % (command_string)
while True:
response = urllib.unquote(self.tn.read_until(b"\n").decode())
if "success... | [
"def",
"request",
"(",
"self",
",",
"command_string",
")",
":",
"self",
".",
"tn",
".",
"write",
"(",
"(",
"command_string",
"+",
"\"\\n\"",
")",
".",
"encode",
"(",
")",
")",
"if",
"self",
".",
"debug",
":",
"print",
"\"Telnet Request: %s\"",
"%",
"(... | Request | [
"Request"
] | 973628fc326177c9deaf3f2e1a435159eb565ae0 | https://github.com/jinglemansweep/lcdproc/blob/973628fc326177c9deaf3f2e1a435159eb565ae0/lcdproc/server.py#L41-L58 | train | Send a command to the Telnet device. |
jinglemansweep/lcdproc | lcdproc/server.py | Server.poll | def poll(self):
"""
Poll
Check for a non-response string generated by LCDd and return any string read.
LCDd generates strings for key presses, menu events & screen visibility changes.
"""
if select.select([self.tn], [], [], 0) == ([self.tn], [], []):
... | python | def poll(self):
"""
Poll
Check for a non-response string generated by LCDd and return any string read.
LCDd generates strings for key presses, menu events & screen visibility changes.
"""
if select.select([self.tn], [], [], 0) == ([self.tn], [], []):
... | [
"def",
"poll",
"(",
"self",
")",
":",
"if",
"select",
".",
"select",
"(",
"[",
"self",
".",
"tn",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"0",
")",
"==",
"(",
"[",
"self",
".",
"tn",
"]",
",",
"[",
"]",
",",
"[",
"]",
")",
":",
"respons... | Poll
Check for a non-response string generated by LCDd and return any string read.
LCDd generates strings for key presses, menu events & screen visibility changes. | [
"Poll",
"Check",
"for",
"a",
"non",
"-",
"response",
"string",
"generated",
"by",
"LCDd",
"and",
"return",
"any",
"string",
"read",
".",
"LCDd",
"generates",
"strings",
"for",
"key",
"presses",
"menu",
"events",
"&",
"screen",
"visibility",
"changes",
"."
] | 973628fc326177c9deaf3f2e1a435159eb565ae0 | https://github.com/jinglemansweep/lcdproc/blob/973628fc326177c9deaf3f2e1a435159eb565ae0/lcdproc/server.py#L61-L74 | train | Check for a non - response string generated by LCDd and return any string read. |
jinglemansweep/lcdproc | lcdproc/server.py | Server.output | def output(self, value):
"""
Sets the client's output (on, off, int)
Sets the general purpose output on some display modules to this value.
Use on to set all outputs to high state, and off to set all to low state.
The meaning of the integer value depends on your specific... | python | def output(self, value):
"""
Sets the client's output (on, off, int)
Sets the general purpose output on some display modules to this value.
Use on to set all outputs to high state, and off to set all to low state.
The meaning of the integer value depends on your specific... | [
"def",
"output",
"(",
"self",
",",
"value",
")",
":",
"response",
"=",
"self",
".",
"request",
"(",
"(",
"\"output %s\"",
"%",
"(",
"value",
")",
")",
".",
"encode",
"(",
")",
")",
"if",
"\"success\"",
"in",
"response",
":",
"return",
"None",
"else",... | Sets the client's output (on, off, int)
Sets the general purpose output on some display modules to this value.
Use on to set all outputs to high state, and off to set all to low state.
The meaning of the integer value depends on your specific device, usually
it is a bit pattern ... | [
"Sets",
"the",
"client",
"s",
"output",
"(",
"on",
"off",
"int",
")",
"Sets",
"the",
"general",
"purpose",
"output",
"on",
"some",
"display",
"modules",
"to",
"this",
"value",
".",
"Use",
"on",
"to",
"set",
"all",
"outputs",
"to",
"high",
"state",
"and... | 973628fc326177c9deaf3f2e1a435159eb565ae0 | https://github.com/jinglemansweep/lcdproc/blob/973628fc326177c9deaf3f2e1a435159eb565ae0/lcdproc/server.py#L124-L139 | train | Sets the client s output on some display modules to this value. |
StackStorm/pybind | pybind/slxos/v17s_1_02/routing_system/router/isis/router_isis_cmds_holder/address_family/ipv6/__init__.py | ipv6._set_af_ipv6_unicast | def _set_af_ipv6_unicast(self, v, load=False):
"""
Setter method for af_ipv6_unicast, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/address_family/ipv6/af_ipv6_unicast (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_af_ipv6_uni... | python | def _set_af_ipv6_unicast(self, v, load=False):
"""
Setter method for af_ipv6_unicast, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/address_family/ipv6/af_ipv6_unicast (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_af_ipv6_uni... | [
"def",
"_set_af_ipv6_unicast",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for af_ipv6_unicast, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/address_family/ipv6/af_ipv6_unicast (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_af_ipv6_unicast is considered as a private
method. Backends lookin... | [
"Setter",
"method",
"for",
"af_ipv6_unicast",
"mapped",
"from",
"YANG",
"variable",
"/",
"routing_system",
"/",
"router",
"/",
"isis",
"/",
"router_isis_cmds_holder",
"/",
"address_family",
"/",
"ipv6",
"/",
"af_ipv6_unicast",
"(",
"container",
")",
"If",
"this",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/routing_system/router/isis/router_isis_cmds_holder/address_family/ipv6/__init__.py#L92-L113 | train | Sets the value of the af_ipv6_unicast property in the hierarchy. |
StackStorm/pybind | pybind/nos/v7_2_0/rbridge_id/router/hide_pim_holder/pim/rp_candidate/__init__.py | rp_candidate._set_rp_cand_grp_prefix | def _set_rp_cand_grp_prefix(self, v, load=False):
"""
Setter method for rp_cand_grp_prefix, mapped from YANG variable /rbridge_id/router/hide_pim_holder/pim/rp_candidate/rp_cand_grp_prefix (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_rp_cand_grp_prefix is consi... | python | def _set_rp_cand_grp_prefix(self, v, load=False):
"""
Setter method for rp_cand_grp_prefix, mapped from YANG variable /rbridge_id/router/hide_pim_holder/pim/rp_candidate/rp_cand_grp_prefix (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_rp_cand_grp_prefix is consi... | [
"def",
"_set_rp_cand_grp_prefix",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
","... | Setter method for rp_cand_grp_prefix, mapped from YANG variable /rbridge_id/router/hide_pim_holder/pim/rp_candidate/rp_cand_grp_prefix (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_rp_cand_grp_prefix is considered as a private
method. Backends looking to populate th... | [
"Setter",
"method",
"for",
"rp_cand_grp_prefix",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"router",
"/",
"hide_pim_holder",
"/",
"pim",
"/",
"rp_candidate",
"/",
"rp_cand_grp_prefix",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v7_2_0/rbridge_id/router/hide_pim_holder/pim/rp_candidate/__init__.py#L127-L148 | train | Sets the rp - candidate - group - prefix property. |
budacom/trading-bots | trading_bots/__init__.py | setup | def setup():
"""
Configure the settings (this happens as a side effect of accessing the
first setting), configure logging and populate the app registry.
"""
from trading_bots.bots import bots
from trading_bots.conf import settings
bots.populate(settings.installed_bots) | python | def setup():
"""
Configure the settings (this happens as a side effect of accessing the
first setting), configure logging and populate the app registry.
"""
from trading_bots.bots import bots
from trading_bots.conf import settings
bots.populate(settings.installed_bots) | [
"def",
"setup",
"(",
")",
":",
"from",
"trading_bots",
".",
"bots",
"import",
"bots",
"from",
"trading_bots",
".",
"conf",
"import",
"settings",
"bots",
".",
"populate",
"(",
"settings",
".",
"installed_bots",
")"
] | Configure the settings (this happens as a side effect of accessing the
first setting), configure logging and populate the app registry. | [
"Configure",
"the",
"settings",
"(",
"this",
"happens",
"as",
"a",
"side",
"effect",
"of",
"accessing",
"the",
"first",
"setting",
")",
"configure",
"logging",
"and",
"populate",
"the",
"app",
"registry",
"."
] | 8cb68bb8d0b5f822108db1cc5dae336e3d3c3452 | https://github.com/budacom/trading-bots/blob/8cb68bb8d0b5f822108db1cc5dae336e3d3c3452/trading_bots/__init__.py#L4-L12 | train | Configure the bots and populate the app registry. |
StackStorm/pybind | pybind/slxos/v17s_1_02/interface/tunnel/mode/__init__.py | mode._set_gre | def _set_gre(self, v, load=False):
"""
Setter method for gre, mapped from YANG variable /interface/tunnel/mode/gre (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_gre is considered as a private
method. Backends looking to populate this variable should
... | python | def _set_gre(self, v, load=False):
"""
Setter method for gre, mapped from YANG variable /interface/tunnel/mode/gre (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_gre is considered as a private
method. Backends looking to populate this variable should
... | [
"def",
"_set_gre",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
"... | Setter method for gre, mapped from YANG variable /interface/tunnel/mode/gre (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_gre is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_gre() directly. | [
"Setter",
"method",
"for",
"gre",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"tunnel",
"/",
"mode",
"/",
"gre",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/interface/tunnel/mode/__init__.py#L93-L114 | train | Sets the gre variable in the tree. |
StackStorm/pybind | pybind/nos/v6_0_2f/interface/fortygigabitethernet/ip/interface_fo_ospf_conf/ospf_interface_config/md5_authentication/__init__.py | md5_authentication._set_key_table | def _set_key_table(self, v, load=False):
"""
Setter method for key_table, mapped from YANG variable /interface/fortygigabitethernet/ip/interface_fo_ospf_conf/ospf_interface_config/md5_authentication/key_table (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ke... | python | def _set_key_table(self, v, load=False):
"""
Setter method for key_table, mapped from YANG variable /interface/fortygigabitethernet/ip/interface_fo_ospf_conf/ospf_interface_config/md5_authentication/key_table (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ke... | [
"def",
"_set_key_table",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base... | Setter method for key_table, mapped from YANG variable /interface/fortygigabitethernet/ip/interface_fo_ospf_conf/ospf_interface_config/md5_authentication/key_table (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_key_table is considered as a private
method. Backen... | [
"Setter",
"method",
"for",
"key_table",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"fortygigabitethernet",
"/",
"ip",
"/",
"interface_fo_ospf_conf",
"/",
"ospf_interface_config",
"/",
"md5_authentication",
"/",
"key_table",
"(",
"container",
")",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/interface/fortygigabitethernet/ip/interface_fo_ospf_conf/ospf_interface_config/md5_authentication/__init__.py#L161-L182 | train | Set the key table of the current NIC. |
StackStorm/pybind | pybind/nos/v6_0_2f/brocade_vcs_rpc/show_vcs/output/vcs_nodes/vcs_node_info/__init__.py | vcs_node_info._set_node_hw_sync_state | def _set_node_hw_sync_state(self, v, load=False):
"""
Setter method for node_hw_sync_state, mapped from YANG variable /brocade_vcs_rpc/show_vcs/output/vcs_nodes/vcs_node_info/node_hw_sync_state (node-hw-sync-state-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_nod... | python | def _set_node_hw_sync_state(self, v, load=False):
"""
Setter method for node_hw_sync_state, mapped from YANG variable /brocade_vcs_rpc/show_vcs/output/vcs_nodes/vcs_node_info/node_hw_sync_state (node-hw-sync-state-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_nod... | [
"def",
"_set_node_hw_sync_state",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
","... | Setter method for node_hw_sync_state, mapped from YANG variable /brocade_vcs_rpc/show_vcs/output/vcs_nodes/vcs_node_info/node_hw_sync_state (node-hw-sync-state-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_node_hw_sync_state is considered as a private
method. Backend... | [
"Setter",
"method",
"for",
"node_hw_sync_state",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_vcs_rpc",
"/",
"show_vcs",
"/",
"output",
"/",
"vcs_nodes",
"/",
"vcs_node_info",
"/",
"node_hw_sync_state",
"(",
"node",
"-",
"hw",
"-",
"sync",
"-",
"state",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_vcs_rpc/show_vcs/output/vcs_nodes/vcs_node_info/__init__.py#L267-L290 | train | Sets the state of the node hardware synchronization. |
StackStorm/pybind | pybind/nos/v6_0_2f/brocade_vcs_rpc/show_vcs/output/vcs_nodes/vcs_node_info/__init__.py | vcs_node_info._set_node_state | def _set_node_state(self, v, load=False):
"""
Setter method for node_state, mapped from YANG variable /brocade_vcs_rpc/show_vcs/output/vcs_nodes/vcs_node_info/node_state (node-state-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_node_state is considered as a priva... | python | def _set_node_state(self, v, load=False):
"""
Setter method for node_state, mapped from YANG variable /brocade_vcs_rpc/show_vcs/output/vcs_nodes/vcs_node_info/node_state (node-state-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_node_state is considered as a priva... | [
"def",
"_set_node_state",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for node_state, mapped from YANG variable /brocade_vcs_rpc/show_vcs/output/vcs_nodes/vcs_node_info/node_state (node-state-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_node_state is considered as a private
method. Backends looking to populate this varia... | [
"Setter",
"method",
"for",
"node_state",
"mapped",
"from",
"YANG",
"variable",
"/",
"brocade_vcs_rpc",
"/",
"show_vcs",
"/",
"output",
"/",
"vcs_nodes",
"/",
"vcs_node_info",
"/",
"node_state",
"(",
"node",
"-",
"state",
"-",
"type",
")",
"If",
"this",
"vari... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/brocade_vcs_rpc/show_vcs/output/vcs_nodes/vcs_node_info/__init__.py#L962-L985 | train | Sets the state of the node in the sequence. |
StackStorm/pybind | pybind/nos/v6_0_2f/rbridge_id/router/hide_pim_holder/pim/rp_candidate/__init__.py | rp_candidate._set_rp_cand_interface | def _set_rp_cand_interface(self, v, load=False):
"""
Setter method for rp_cand_interface, mapped from YANG variable /rbridge_id/router/hide_pim_holder/pim/rp_candidate/rp_cand_interface (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_rp_cand_interface is considere... | python | def _set_rp_cand_interface(self, v, load=False):
"""
Setter method for rp_cand_interface, mapped from YANG variable /rbridge_id/router/hide_pim_holder/pim/rp_candidate/rp_cand_interface (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_rp_cand_interface is considere... | [
"def",
"_set_rp_cand_interface",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",... | Setter method for rp_cand_interface, mapped from YANG variable /rbridge_id/router/hide_pim_holder/pim/rp_candidate/rp_cand_interface (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_rp_cand_interface is considered as a private
method. Backends looking to populate this ... | [
"Setter",
"method",
"for",
"rp_cand_interface",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"router",
"/",
"hide_pim_holder",
"/",
"pim",
"/",
"rp_candidate",
"/",
"rp_cand_interface",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/router/hide_pim_holder/pim/rp_candidate/__init__.py#L94-L115 | train | Set the rp_cand_interface variable. |
StackStorm/pybind | pybind/slxos/v17s_1_02/interface/management/ip/__init__.py | ip._set_address | def _set_address(self, v, load=False):
"""
Setter method for address, mapped from YANG variable /interface/management/ip/address (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_address is considered as a private
method. Backends looking to populate this v... | python | def _set_address(self, v, load=False):
"""
Setter method for address, mapped from YANG variable /interface/management/ip/address (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_address is considered as a private
method. Backends looking to populate this v... | [
"def",
"_set_address",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",... | Setter method for address, mapped from YANG variable /interface/management/ip/address (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_address is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_a... | [
"Setter",
"method",
"for",
"address",
"mapped",
"from",
"YANG",
"variable",
"/",
"interface",
"/",
"management",
"/",
"ip",
"/",
"address",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/interface/management/ip/__init__.py#L145-L169 | train | Sets the address of the
|
APSL/django-kaio | kaio/management/commands/generate_ini.py | module_to_dict | def module_to_dict(module, omittable=lambda k: k.startswith('_')):
"""
Converts a module namespace to a Python dictionary. Used by get_settings_diff.
"""
return dict([(k, repr(v)) for k, v in module.__dict__.items() if not omittable(k)]) | python | def module_to_dict(module, omittable=lambda k: k.startswith('_')):
"""
Converts a module namespace to a Python dictionary. Used by get_settings_diff.
"""
return dict([(k, repr(v)) for k, v in module.__dict__.items() if not omittable(k)]) | [
"def",
"module_to_dict",
"(",
"module",
",",
"omittable",
"=",
"lambda",
"k",
":",
"k",
".",
"startswith",
"(",
"'_'",
")",
")",
":",
"return",
"dict",
"(",
"[",
"(",
"k",
",",
"repr",
"(",
"v",
")",
")",
"for",
"k",
",",
"v",
"in",
"module",
"... | Converts a module namespace to a Python dictionary. Used by get_settings_diff. | [
"Converts",
"a",
"module",
"namespace",
"to",
"a",
"Python",
"dictionary",
".",
"Used",
"by",
"get_settings_diff",
"."
] | b74b109bcfba31d973723bc419e2c95d190b80b7 | https://github.com/APSL/django-kaio/blob/b74b109bcfba31d973723bc419e2c95d190b80b7/kaio/management/commands/generate_ini.py#L15-L19 | train | Converts a module namespace to a Python dictionary. Used by get_settings_diff. |
BD2KGenomics/protect | src/protect/mutation_annotation/snpeff.py | run_snpeff | def run_snpeff(job, merged_mutation_file, univ_options, snpeff_options):
"""
Run snpeff on an input vcf.
:param toil.fileStore.FileID merged_mutation_file: fsID for input vcf
:param dict univ_options: Dict of universal options used by almost all tools
:param dict snpeff_options: Options specific to... | python | def run_snpeff(job, merged_mutation_file, univ_options, snpeff_options):
"""
Run snpeff on an input vcf.
:param toil.fileStore.FileID merged_mutation_file: fsID for input vcf
:param dict univ_options: Dict of universal options used by almost all tools
:param dict snpeff_options: Options specific to... | [
"def",
"run_snpeff",
"(",
"job",
",",
"merged_mutation_file",
",",
"univ_options",
",",
"snpeff_options",
")",
":",
"work_dir",
"=",
"os",
".",
"getcwd",
"(",
")",
"input_files",
"=",
"{",
"'merged_mutations.vcf'",
":",
"merged_mutation_file",
",",
"'snpeff_index.... | Run snpeff on an input vcf.
:param toil.fileStore.FileID merged_mutation_file: fsID for input vcf
:param dict univ_options: Dict of universal options used by almost all tools
:param dict snpeff_options: Options specific to snpeff
:return: fsID for the snpeffed vcf
:rtype: toil.fileStore.FileID | [
"Run",
"snpeff",
"on",
"an",
"input",
"vcf",
"."
] | 06310682c50dcf8917b912c8e551299ff7ee41ce | https://github.com/BD2KGenomics/protect/blob/06310682c50dcf8917b912c8e551299ff7ee41ce/src/protect/mutation_annotation/snpeff.py#L32-L69 | train | This module will run snpeff on an input vcf. |
StackStorm/pybind | pybind/slxos/v17s_1_02/igmp_snooping/ip/igmp/ssm_map/__init__.py | ssm_map._set_igmps_prefix_list | def _set_igmps_prefix_list(self, v, load=False):
"""
Setter method for igmps_prefix_list, mapped from YANG variable /igmp_snooping/ip/igmp/ssm_map/igmps_prefix_list (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_igmps_prefix_list is considered as a private
me... | python | def _set_igmps_prefix_list(self, v, load=False):
"""
Setter method for igmps_prefix_list, mapped from YANG variable /igmp_snooping/ip/igmp/ssm_map/igmps_prefix_list (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_igmps_prefix_list is considered as a private
me... | [
"def",
"_set_igmps_prefix_list",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",... | Setter method for igmps_prefix_list, mapped from YANG variable /igmp_snooping/ip/igmp/ssm_map/igmps_prefix_list (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_igmps_prefix_list is considered as a private
method. Backends looking to populate this variable should
d... | [
"Setter",
"method",
"for",
"igmps_prefix_list",
"mapped",
"from",
"YANG",
"variable",
"/",
"igmp_snooping",
"/",
"ip",
"/",
"igmp",
"/",
"ssm_map",
"/",
"igmps_prefix_list",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/igmp_snooping/ip/igmp/ssm_map/__init__.py#L126-L147 | train | Set the value of igmps_prefix_list in the Igmps header. |
StackStorm/pybind | pybind/nos/v6_0_2f/rbridge_id/vrf/address_family/ip/unicast/ip/route/__init__.py | route._set_static_route_oif | def _set_static_route_oif(self, v, load=False):
"""
Setter method for static_route_oif, mapped from YANG variable /rbridge_id/vrf/address_family/ip/unicast/ip/route/static_route_oif (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_static_route_oif is considered as ... | python | def _set_static_route_oif(self, v, load=False):
"""
Setter method for static_route_oif, mapped from YANG variable /rbridge_id/vrf/address_family/ip/unicast/ip/route/static_route_oif (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_static_route_oif is considered as ... | [
"def",
"_set_static_route_oif",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for static_route_oif, mapped from YANG variable /rbridge_id/vrf/address_family/ip/unicast/ip/route/static_route_oif (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_static_route_oif is considered as a private
method. Backends looking to populate this vari... | [
"Setter",
"method",
"for",
"static_route_oif",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"vrf",
"/",
"address_family",
"/",
"ip",
"/",
"unicast",
"/",
"ip",
"/",
"route",
"/",
"static_route_oif",
"(",
"list",
")",
"If",
"this",
"variable"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/vrf/address_family/ip/unicast/ip/route/__init__.py#L199-L220 | train | Sets the value of static_route_oif in the virtual network. |
StackStorm/pybind | pybind/nos/v6_0_2f/zoning/defined_configuration/cfg/__init__.py | cfg._set_member_zone | def _set_member_zone(self, v, load=False):
"""
Setter method for member_zone, mapped from YANG variable /zoning/defined_configuration/cfg/member_zone (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_member_zone is considered as a private
method. Backends lookin... | python | def _set_member_zone(self, v, load=False):
"""
Setter method for member_zone, mapped from YANG variable /zoning/defined_configuration/cfg/member_zone (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_member_zone is considered as a private
method. Backends lookin... | [
"def",
"_set_member_zone",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for member_zone, mapped from YANG variable /zoning/defined_configuration/cfg/member_zone (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_member_zone is considered as a private
method. Backends looking to populate this variable should
do so via callin... | [
"Setter",
"method",
"for",
"member_zone",
"mapped",
"from",
"YANG",
"variable",
"/",
"zoning",
"/",
"defined_configuration",
"/",
"cfg",
"/",
"member_zone",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/zoning/defined_configuration/cfg/__init__.py#L131-L152 | train | Sets the member_zone of the
based on member_zone. member_zone |
StackStorm/pybind | pybind/slxos/v17s_1_02/bridge_domain/__init__.py | bridge_domain._set_bridge_domain_type | def _set_bridge_domain_type(self, v, load=False):
"""
Setter method for bridge_domain_type, mapped from YANG variable /bridge_domain/bridge_domain_type (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_bridge_domain_type is considered as a private
method.... | python | def _set_bridge_domain_type(self, v, load=False):
"""
Setter method for bridge_domain_type, mapped from YANG variable /bridge_domain/bridge_domain_type (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_bridge_domain_type is considered as a private
method.... | [
"def",
"_set_bridge_domain_type",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"parent",
"=",
"getattr",
"(",
"self",
",",
"\"_parent\"",
",",
"None",
")",
"if",
"parent",
"is",
"not",
"None",
"and",
"load",
"is",
"False",
":",
"raise",
... | Setter method for bridge_domain_type, mapped from YANG variable /bridge_domain/bridge_domain_type (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_bridge_domain_type is considered as a private
method. Backends looking to populate this variable should
do so v... | [
"Setter",
"method",
"for",
"bridge_domain_type",
"mapped",
"from",
"YANG",
"variable",
"/",
"bridge_domain",
"/",
"bridge_domain_type",
"(",
"enumeration",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/bridge_domain/__init__.py#L149-L177 | train | Sets the bridge domain type for the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/bridge_domain/__init__.py | bridge_domain._set_suppress_arp | def _set_suppress_arp(self, v, load=False):
"""
Setter method for suppress_arp, mapped from YANG variable /bridge_domain/suppress_arp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_suppress_arp is considered as a private
method. Backends looking to popul... | python | def _set_suppress_arp(self, v, load=False):
"""
Setter method for suppress_arp, mapped from YANG variable /bridge_domain/suppress_arp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_suppress_arp is considered as a private
method. Backends looking to popul... | [
"def",
"_set_suppress_arp",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"b... | Setter method for suppress_arp, mapped from YANG variable /bridge_domain/suppress_arp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_suppress_arp is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._... | [
"Setter",
"method",
"for",
"suppress_arp",
"mapped",
"from",
"YANG",
"variable",
"/",
"bridge_domain",
"/",
"suppress_arp",
"(",
"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/bridge_domain/__init__.py#L543-L564 | train | Sets the suppress - arp variable for the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/bridge_domain/__init__.py | bridge_domain._set_suppress_nd | def _set_suppress_nd(self, v, load=False):
"""
Setter method for suppress_nd, mapped from YANG variable /bridge_domain/suppress_nd (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_suppress_nd is considered as a private
method. Backends looking to populate ... | python | def _set_suppress_nd(self, v, load=False):
"""
Setter method for suppress_nd, mapped from YANG variable /bridge_domain/suppress_nd (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_suppress_nd is considered as a private
method. Backends looking to populate ... | [
"def",
"_set_suppress_nd",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for suppress_nd, mapped from YANG variable /bridge_domain/suppress_nd (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_suppress_nd is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set... | [
"Setter",
"method",
"for",
"suppress_nd",
"mapped",
"from",
"YANG",
"variable",
"/",
"bridge_domain",
"/",
"suppress_nd",
"(",
"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/bridge_domain/__init__.py#L576-L597 | train | Sets the suppress_nd property of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/mpls_state/rsvp/sessions/psbs/__init__.py | psbs._set_session_type | def _set_session_type(self, v, load=False):
"""
Setter method for session_type, mapped from YANG variable /mpls_state/rsvp/sessions/psbs/session_type (session-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_session_type is considered as a private
method. Backen... | python | def _set_session_type(self, v, load=False):
"""
Setter method for session_type, mapped from YANG variable /mpls_state/rsvp/sessions/psbs/session_type (session-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_session_type is considered as a private
method. Backen... | [
"def",
"_set_session_type",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"b... | Setter method for session_type, mapped from YANG variable /mpls_state/rsvp/sessions/psbs/session_type (session-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_session_type is considered as a private
method. Backends looking to populate this variable should
do so vi... | [
"Setter",
"method",
"for",
"session_type",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_state",
"/",
"rsvp",
"/",
"sessions",
"/",
"psbs",
"/",
"session_type",
"(",
"session",
"-",
"type",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_state/rsvp/sessions/psbs/__init__.py#L254-L277 | train | Sets the session type of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/mpls_state/rsvp/sessions/psbs/__init__.py | psbs._set_frr_cspf_group_computation_mode | def _set_frr_cspf_group_computation_mode(self, v, load=False):
"""
Setter method for frr_cspf_group_computation_mode, mapped from YANG variable /mpls_state/rsvp/sessions/psbs/frr_cspf_group_computation_mode (frr-cspf-group-computation-mode)
If this variable is read-only (config: false) in the
source YAN... | python | def _set_frr_cspf_group_computation_mode(self, v, load=False):
"""
Setter method for frr_cspf_group_computation_mode, mapped from YANG variable /mpls_state/rsvp/sessions/psbs/frr_cspf_group_computation_mode (frr-cspf-group-computation-mode)
If this variable is read-only (config: false) in the
source YAN... | [
"def",
"_set_frr_cspf_group_computation_mode",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",... | Setter method for frr_cspf_group_computation_mode, mapped from YANG variable /mpls_state/rsvp/sessions/psbs/frr_cspf_group_computation_mode (frr-cspf-group-computation-mode)
If this variable is read-only (config: false) in the
source YANG file, then _set_frr_cspf_group_computation_mode is considered as a privat... | [
"Setter",
"method",
"for",
"frr_cspf_group_computation_mode",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_state",
"/",
"rsvp",
"/",
"sessions",
"/",
"psbs",
"/",
"frr_cspf_group_computation_mode",
"(",
"frr",
"-",
"cspf",
"-",
"group",
"-",
"computation",
"-"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_state/rsvp/sessions/psbs/__init__.py#L1993-L2016 | train | Sets the CSPF group computation mode for the current CSPF group. |
StackStorm/pybind | pybind/slxos/v17s_1_02/mpls_state/rsvp/sessions/psbs/__init__.py | psbs._set_session_style | def _set_session_style(self, v, load=False):
"""
Setter method for session_style, mapped from YANG variable /mpls_state/rsvp/sessions/psbs/session_style (session-reservation-style)
If this variable is read-only (config: false) in the
source YANG file, then _set_session_style is considered as a private
... | python | def _set_session_style(self, v, load=False):
"""
Setter method for session_style, mapped from YANG variable /mpls_state/rsvp/sessions/psbs/session_style (session-reservation-style)
If this variable is read-only (config: false) in the
source YANG file, then _set_session_style is considered as a private
... | [
"def",
"_set_session_style",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"... | Setter method for session_style, mapped from YANG variable /mpls_state/rsvp/sessions/psbs/session_style (session-reservation-style)
If this variable is read-only (config: false) in the
source YANG file, then _set_session_style is considered as a private
method. Backends looking to populate this variable sho... | [
"Setter",
"method",
"for",
"session_style",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_state",
"/",
"rsvp",
"/",
"sessions",
"/",
"psbs",
"/",
"session_style",
"(",
"session",
"-",
"reservation",
"-",
"style",
")",
"If",
"this",
"variable",
"is",
"read... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_state/rsvp/sessions/psbs/__init__.py#L2844-L2867 | train | Sets the session style of the
|
StackStorm/pybind | pybind/slxos/v17r_1_01a/show/__init__.py | show._set_defaults | def _set_defaults(self, v, load=False):
"""
Setter method for defaults, mapped from YANG variable /show/defaults (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_defaults is considered as a private
method. Backends looking to populate this variable should
... | python | def _set_defaults(self, v, load=False):
"""
Setter method for defaults, mapped from YANG variable /show/defaults (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_defaults is considered as a private
method. Backends looking to populate this variable should
... | [
"def",
"_set_defaults",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for defaults, mapped from YANG variable /show/defaults (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_defaults is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_defaults() direct... | [
"Setter",
"method",
"for",
"defaults",
"mapped",
"from",
"YANG",
"variable",
"/",
"show",
"/",
"defaults",
"(",
"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/show/__init__.py#L114-L135 | train | Set the defaults of the
|
StackStorm/pybind | pybind/slxos/v17r_1_01a/show/__init__.py | show._set_fabric | def _set_fabric(self, v, load=False):
"""
Setter method for fabric, mapped from YANG variable /show/fabric (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fabric is considered as a private
method. Backends looking to populate this variable should
do s... | python | def _set_fabric(self, v, load=False):
"""
Setter method for fabric, mapped from YANG variable /show/fabric (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fabric is considered as a private
method. Backends looking to populate this variable should
do s... | [
"def",
"_set_fabric",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for fabric, mapped from YANG variable /show/fabric (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fabric is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_fabric() directly.
... | [
"Setter",
"method",
"for",
"fabric",
"mapped",
"from",
"YANG",
"variable",
"/",
"show",
"/",
"fabric",
"(",
"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/show/__init__.py#L221-L250 | train | Set the fabric property. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/show/__init__.py | show._set_show_firmware_dummy | def _set_show_firmware_dummy(self, v, load=False):
"""
Setter method for show_firmware_dummy, mapped from YANG variable /show/show_firmware_dummy (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_firmware_dummy is considered as a private
method. Backen... | python | def _set_show_firmware_dummy(self, v, load=False):
"""
Setter method for show_firmware_dummy, mapped from YANG variable /show/show_firmware_dummy (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_firmware_dummy is considered as a private
method. Backen... | [
"def",
"_set_show_firmware_dummy",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",... | Setter method for show_firmware_dummy, mapped from YANG variable /show/show_firmware_dummy (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_firmware_dummy is considered as a private
method. Backends looking to populate this variable should
do so via calli... | [
"Setter",
"method",
"for",
"show_firmware_dummy",
"mapped",
"from",
"YANG",
"variable",
"/",
"show",
"/",
"show_firmware_dummy",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"sourc... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/show/__init__.py#L299-L320 | train | Sets the show_firmware_dummy variable. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/show/__init__.py | show._set_infra | def _set_infra(self, v, load=False):
"""
Setter method for infra, mapped from YANG variable /show/infra (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_infra is considered as a private
method. Backends looking to populate this variable should
do so vi... | python | def _set_infra(self, v, load=False):
"""
Setter method for infra, mapped from YANG variable /show/infra (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_infra is considered as a private
method. Backends looking to populate this variable should
do so vi... | [
"def",
"_set_infra",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for infra, mapped from YANG variable /show/infra (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_infra is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_infra() directly.
YAN... | [
"Setter",
"method",
"for",
"infra",
"mapped",
"from",
"YANG",
"variable",
"/",
"show",
"/",
"infra",
"(",
"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/v17r_1_01a/show/__init__.py#L334-L357 | train | Set the infra variable. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/show/__init__.py | show._set_http | def _set_http(self, v, load=False):
"""
Setter method for http, mapped from YANG variable /show/http (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_http is considered as a private
method. Backends looking to populate this variable should
do so via ca... | python | def _set_http(self, v, load=False):
"""
Setter method for http, mapped from YANG variable /show/http (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_http is considered as a private
method. Backends looking to populate this variable should
do so via ca... | [
"def",
"_set_http",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for http, mapped from YANG variable /show/http (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_http is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_http() directly. | [
"Setter",
"method",
"for",
"http",
"mapped",
"from",
"YANG",
"variable",
"/",
"show",
"/",
"http",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"file",
"the... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/show/__init__.py#L369-L390 | train | Sets the http property of the
|
StackStorm/pybind | pybind/slxos/v17r_1_01a/show/__init__.py | show._set_bpswitch | def _set_bpswitch(self, v, load=False):
"""
Setter method for bpswitch, mapped from YANG variable /show/bpswitch (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bpswitch is considered as a private
method. Backends looking to populate this variable should
... | python | def _set_bpswitch(self, v, load=False):
"""
Setter method for bpswitch, mapped from YANG variable /show/bpswitch (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bpswitch is considered as a private
method. Backends looking to populate this variable should
... | [
"def",
"_set_bpswitch",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for bpswitch, mapped from YANG variable /show/bpswitch (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bpswitch is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_bpswitch() direct... | [
"Setter",
"method",
"for",
"bpswitch",
"mapped",
"from",
"YANG",
"variable",
"/",
"show",
"/",
"bpswitch",
"(",
"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/show/__init__.py#L468-L489 | train | Sets the bpswitch property of the
|
StackStorm/pybind | pybind/slxos/v17r_1_01a/show/__init__.py | show._set_vnetwork | def _set_vnetwork(self, v, load=False):
"""
Setter method for vnetwork, mapped from YANG variable /show/vnetwork (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_vnetwork is considered as a private
method. Backends looking to populate this variable should
... | python | def _set_vnetwork(self, v, load=False):
"""
Setter method for vnetwork, mapped from YANG variable /show/vnetwork (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_vnetwork is considered as a private
method. Backends looking to populate this variable should
... | [
"def",
"_set_vnetwork",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for vnetwork, mapped from YANG variable /show/vnetwork (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_vnetwork is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_vnetwork() direct... | [
"Setter",
"method",
"for",
"vnetwork",
"mapped",
"from",
"YANG",
"variable",
"/",
"show",
"/",
"vnetwork",
"(",
"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/show/__init__.py#L503-L526 | train | Sets the value of the vnetwork property. |
StackStorm/pybind | pybind/nos/v6_0_2f/rbridge_id/secpolicy/defined_policy/policies/__init__.py | policies._set_member_entry | def _set_member_entry(self, v, load=False):
"""
Setter method for member_entry, mapped from YANG variable /rbridge_id/secpolicy/defined_policy/policies/member_entry (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_member_entry is considered as a private
method.... | python | def _set_member_entry(self, v, load=False):
"""
Setter method for member_entry, mapped from YANG variable /rbridge_id/secpolicy/defined_policy/policies/member_entry (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_member_entry is considered as a private
method.... | [
"def",
"_set_member_entry",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"b... | Setter method for member_entry, mapped from YANG variable /rbridge_id/secpolicy/defined_policy/policies/member_entry (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_member_entry is considered as a private
method. Backends looking to populate this variable should
d... | [
"Setter",
"method",
"for",
"member_entry",
"mapped",
"from",
"YANG",
"variable",
"/",
"rbridge_id",
"/",
"secpolicy",
"/",
"defined_policy",
"/",
"policies",
"/",
"member_entry",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"co... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/rbridge_id/secpolicy/defined_policy/policies/__init__.py#L131-L152 | train | Set the member entry of the
|
StackStorm/pybind | pybind/slxos/v17r_1_01a/ipv6_acl/ipv6/access_list/extended/seq/__init__.py | seq._set_protocol_type | def _set_protocol_type(self, v, load=False):
"""
Setter method for protocol_type, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/protocol_type (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_protocol_type is considered as a private
method. ... | python | def _set_protocol_type(self, v, load=False):
"""
Setter method for protocol_type, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/protocol_type (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_protocol_type is considered as a private
method. ... | [
"def",
"_set_protocol_type",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"... | Setter method for protocol_type, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/protocol_type (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_protocol_type is considered as a private
method. Backends looking to populate this variable should
do ... | [
"Setter",
"method",
"for",
"protocol_type",
"mapped",
"from",
"YANG",
"variable",
"/",
"ipv6_acl",
"/",
"ipv6",
"/",
"access_list",
"/",
"extended",
"/",
"seq",
"/",
"protocol_type",
"(",
"union",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/ipv6_acl/ipv6/access_list/extended/seq/__init__.py#L206-L227 | train | Sets the protocol_type of the
|
StackStorm/pybind | pybind/slxos/v17r_1_01a/ipv6_acl/ipv6/access_list/extended/seq/__init__.py | seq._set_src_host_any_sip | def _set_src_host_any_sip(self, v, load=False):
"""
Setter method for src_host_any_sip, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/src_host_any_sip (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_host_any_sip is considered as a private
... | python | def _set_src_host_any_sip(self, v, load=False):
"""
Setter method for src_host_any_sip, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/src_host_any_sip (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_host_any_sip is considered as a private
... | [
"def",
"_set_src_host_any_sip",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
... | Setter method for src_host_any_sip, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/src_host_any_sip (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_host_any_sip is considered as a private
method. Backends looking to populate this variable shoul... | [
"Setter",
"method",
"for",
"src_host_any_sip",
"mapped",
"from",
"YANG",
"variable",
"/",
"ipv6_acl",
"/",
"ipv6",
"/",
"access_list",
"/",
"extended",
"/",
"seq",
"/",
"src_host_any_sip",
"(",
"union",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/ipv6_acl/ipv6/access_list/extended/seq/__init__.py#L239-L260 | train | Sets the value of src_host_any_sip in the virtual network. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/ipv6_acl/ipv6/access_list/extended/seq/__init__.py | seq._set_src_host_ip | def _set_src_host_ip(self, v, load=False):
"""
Setter method for src_host_ip, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/src_host_ip (sip)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_host_ip is considered as a private
method. Backends l... | python | def _set_src_host_ip(self, v, load=False):
"""
Setter method for src_host_ip, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/src_host_ip (sip)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_host_ip is considered as a private
method. Backends l... | [
"def",
"_set_src_host_ip",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for src_host_ip, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/src_host_ip (sip)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_host_ip is considered as a private
method. Backends looking to populate this variable should
do so via c... | [
"Setter",
"method",
"for",
"src_host_ip",
"mapped",
"from",
"YANG",
"variable",
"/",
"ipv6_acl",
"/",
"ipv6",
"/",
"access_list",
"/",
"extended",
"/",
"seq",
"/",
"src_host_ip",
"(",
"sip",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/ipv6_acl/ipv6/access_list/extended/seq/__init__.py#L272-L293 | train | Sets the src - host - ip of the
|
StackStorm/pybind | pybind/slxos/v17r_1_01a/ipv6_acl/ipv6/access_list/extended/seq/__init__.py | seq._set_sport | def _set_sport(self, v, load=False):
"""
Setter method for sport, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/sport (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_sport is considered as a private
method. Backends looking to popula... | python | def _set_sport(self, v, load=False):
"""
Setter method for sport, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/sport (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_sport is considered as a private
method. Backends looking to popula... | [
"def",
"_set_sport",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for sport, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/sport (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_sport is considered as a private
method. Backends looking to populate this variable should
do so via calling thi... | [
"Setter",
"method",
"for",
"sport",
"mapped",
"from",
"YANG",
"variable",
"/",
"ipv6_acl",
"/",
"ipv6",
"/",
"access_list",
"/",
"extended",
"/",
"seq",
"/",
"sport",
"(",
"enumeration",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"con... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/ipv6_acl/ipv6/access_list/extended/seq/__init__.py#L338-L359 | train | Sets the sport of the
|
StackStorm/pybind | pybind/slxos/v17r_1_01a/ipv6_acl/ipv6/access_list/extended/seq/__init__.py | seq._set_sport_number_eq_neq_tcp | def _set_sport_number_eq_neq_tcp(self, v, load=False):
"""
Setter method for sport_number_eq_neq_tcp, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/sport_number_eq_neq_tcp (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_sport_number_eq_neq_tcp... | python | def _set_sport_number_eq_neq_tcp(self, v, load=False):
"""
Setter method for sport_number_eq_neq_tcp, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/sport_number_eq_neq_tcp (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_sport_number_eq_neq_tcp... | [
"def",
"_set_sport_number_eq_neq_tcp",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
... | Setter method for sport_number_eq_neq_tcp, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/sport_number_eq_neq_tcp (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_sport_number_eq_neq_tcp is considered as a private
method. Backends looking to populat... | [
"Setter",
"method",
"for",
"sport_number_eq_neq_tcp",
"mapped",
"from",
"YANG",
"variable",
"/",
"ipv6_acl",
"/",
"ipv6",
"/",
"access_list",
"/",
"extended",
"/",
"seq",
"/",
"sport_number_eq_neq_tcp",
"(",
"union",
")",
"If",
"this",
"variable",
"is",
"read",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/ipv6_acl/ipv6/access_list/extended/seq/__init__.py#L371-L392 | train | Sets the value of sport - number - eq - tcp in the ipv6 - access - list |
StackStorm/pybind | pybind/slxos/v17r_1_01a/ipv6_acl/ipv6/access_list/extended/seq/__init__.py | seq._set_sport_number_lt_udp | def _set_sport_number_lt_udp(self, v, load=False):
"""
Setter method for sport_number_lt_udp, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/sport_number_lt_udp (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_sport_number_lt_udp is considered a... | python | def _set_sport_number_lt_udp(self, v, load=False):
"""
Setter method for sport_number_lt_udp, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/sport_number_lt_udp (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_sport_number_lt_udp is considered a... | [
"def",
"_set_sport_number_lt_udp",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",... | Setter method for sport_number_lt_udp, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/sport_number_lt_udp (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_sport_number_lt_udp is considered as a private
method. Backends looking to populate this varia... | [
"Setter",
"method",
"for",
"sport_number_lt_udp",
"mapped",
"from",
"YANG",
"variable",
"/",
"ipv6_acl",
"/",
"ipv6",
"/",
"access_list",
"/",
"extended",
"/",
"seq",
"/",
"sport_number_lt_udp",
"(",
"union",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/ipv6_acl/ipv6/access_list/extended/seq/__init__.py#L503-L524 | train | Sets the value of sport - number - lt - udp in the cluster. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/ipv6_acl/ipv6/access_list/extended/seq/__init__.py | seq._set_dscp | def _set_dscp(self, v, load=False):
"""
Setter method for dscp, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/dscp (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_dscp is considered as a private
method. Backends looking to populate this va... | python | def _set_dscp(self, v, load=False):
"""
Setter method for dscp, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/dscp (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_dscp is considered as a private
method. Backends looking to populate this va... | [
"def",
"_set_dscp",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for dscp, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/dscp (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_dscp is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set... | [
"Setter",
"method",
"for",
"dscp",
"mapped",
"from",
"YANG",
"variable",
"/",
"ipv6_acl",
"/",
"ipv6",
"/",
"access_list",
"/",
"extended",
"/",
"seq",
"/",
"dscp",
"(",
"union",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/ipv6_acl/ipv6/access_list/extended/seq/__init__.py#L1163-L1184 | train | Sets the DSCP field of the
. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/ipv6_acl/ipv6/access_list/extended/seq/__init__.py | seq._set_drop_precedence_force | def _set_drop_precedence_force(self, v, load=False):
"""
Setter method for drop_precedence_force, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/drop_precedence_force (ip-access-list:drop-prec-uint)
If this variable is read-only (config: false) in the
source YANG file, then _set_drop_... | python | def _set_drop_precedence_force(self, v, load=False):
"""
Setter method for drop_precedence_force, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/drop_precedence_force (ip-access-list:drop-prec-uint)
If this variable is read-only (config: false) in the
source YANG file, then _set_drop_... | [
"def",
"_set_drop_precedence_force",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
... | Setter method for drop_precedence_force, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/drop_precedence_force (ip-access-list:drop-prec-uint)
If this variable is read-only (config: false) in the
source YANG file, then _set_drop_precedence_force is considered as a private
method. Backends ... | [
"Setter",
"method",
"for",
"drop_precedence_force",
"mapped",
"from",
"YANG",
"variable",
"/",
"ipv6_acl",
"/",
"ipv6",
"/",
"access_list",
"/",
"extended",
"/",
"seq",
"/",
"drop_precedence_force",
"(",
"ip",
"-",
"access",
"-",
"list",
":",
"drop",
"-",
"p... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/ipv6_acl/ipv6/access_list/extended/seq/__init__.py#L1229-L1250 | train | Sets the drop precedence force for the given node. |
StackStorm/pybind | pybind/nos/v6_0_2f/dpod/__init__.py | dpod._set_port_id | def _set_port_id(self, v, load=False):
"""
Setter method for port_id, mapped from YANG variable /dpod/port_id (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_port_id is considered as a private
method. Backends looking to populate this variable should
do so... | python | def _set_port_id(self, v, load=False):
"""
Setter method for port_id, mapped from YANG variable /dpod/port_id (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_port_id is considered as a private
method. Backends looking to populate this variable should
do so... | [
"def",
"_set_port_id",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",... | Setter method for port_id, mapped from YANG variable /dpod/port_id (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_port_id is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_port_id() directly. | [
"Setter",
"method",
"for",
"port_id",
"mapped",
"from",
"YANG",
"variable",
"/",
"dpod",
"/",
"port_id",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"source",
"YANG",
"file",
"th... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/nos/v6_0_2f/dpod/__init__.py#L92-L113 | train | Sets the port_id of the
based on the port_id field. |
StackStorm/pybind | pybind/slxos/v17s_1_02/routing_system/evpn_config/evpn/__init__.py | evpn._set_evpn_instance | def _set_evpn_instance(self, v, load=False):
"""
Setter method for evpn_instance, mapped from YANG variable /routing_system/evpn_config/evpn/evpn_instance (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_evpn_instance is considered as a private
method. Backends... | python | def _set_evpn_instance(self, v, load=False):
"""
Setter method for evpn_instance, mapped from YANG variable /routing_system/evpn_config/evpn/evpn_instance (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_evpn_instance is considered as a private
method. Backends... | [
"def",
"_set_evpn_instance",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"... | Setter method for evpn_instance, mapped from YANG variable /routing_system/evpn_config/evpn/evpn_instance (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_evpn_instance is considered as a private
method. Backends looking to populate this variable should
do so via c... | [
"Setter",
"method",
"for",
"evpn_instance",
"mapped",
"from",
"YANG",
"variable",
"/",
"routing_system",
"/",
"evpn_config",
"/",
"evpn",
"/",
"evpn_instance",
"(",
"list",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false"... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/routing_system/evpn_config/evpn/__init__.py#L94-L117 | train | Set the value of evpn_instance mapped from YANG variable instance_name |
StackStorm/pybind | pybind/slxos/v17r_1_01a/bridge_domain/__init__.py | bridge_domain._set_mac_address | def _set_mac_address(self, v, load=False):
"""
Setter method for mac_address, mapped from YANG variable /bridge_domain/mac_address (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mac_address is considered as a private
method. Backends looking to populate ... | python | def _set_mac_address(self, v, load=False):
"""
Setter method for mac_address, mapped from YANG variable /bridge_domain/mac_address (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mac_address is considered as a private
method. Backends looking to populate ... | [
"def",
"_set_mac_address",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"ba... | Setter method for mac_address, mapped from YANG variable /bridge_domain/mac_address (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mac_address is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set... | [
"Setter",
"method",
"for",
"mac_address",
"mapped",
"from",
"YANG",
"variable",
"/",
"bridge_domain",
"/",
"mac_address",
"(",
"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/bridge_domain/__init__.py#L474-L497 | train | Sets the MAC Address of the node. |
StackStorm/pybind | pybind/slxos/v17r_1_01a/hardware/connector/__init__.py | connector._set_breakout | def _set_breakout(self, v, load=False):
"""
Setter method for breakout, mapped from YANG variable /hardware/connector/breakout (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_breakout is considered as a private
method. Backends looking to populate this va... | python | def _set_breakout(self, v, load=False):
"""
Setter method for breakout, mapped from YANG variable /hardware/connector/breakout (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_breakout is considered as a private
method. Backends looking to populate this va... | [
"def",
"_set_breakout",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base"... | Setter method for breakout, mapped from YANG variable /hardware/connector/breakout (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_breakout is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_bre... | [
"Setter",
"method",
"for",
"breakout",
"mapped",
"from",
"YANG",
"variable",
"/",
"hardware",
"/",
"connector",
"/",
"breakout",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"s... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17r_1_01a/hardware/connector/__init__.py#L133-L154 | train | Sets the value of _breakout |
StackStorm/pybind | pybind/slxos/v17s_1_02/mpls_state/lsp/__init__.py | lsp._set_basic | def _set_basic(self, v, load=False):
"""
Setter method for basic, mapped from YANG variable /mpls_state/lsp/basic (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_basic is considered as a private
method. Backends looking to populate this variable should
... | python | def _set_basic(self, v, load=False):
"""
Setter method for basic, mapped from YANG variable /mpls_state/lsp/basic (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_basic is considered as a private
method. Backends looking to populate this variable should
... | [
"def",
"_set_basic",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
... | Setter method for basic, mapped from YANG variable /mpls_state/lsp/basic (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_basic is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_basic() directly... | [
"Setter",
"method",
"for",
"basic",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_state",
"/",
"lsp",
"/",
"basic",
"(",
"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/mpls_state/lsp/__init__.py#L301-L324 | train | Set the basic property of the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/mpls_state/lsp/__init__.py | lsp._set_forwarding | def _set_forwarding(self, v, load=False):
"""
Setter method for forwarding, mapped from YANG variable /mpls_state/lsp/forwarding (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_forwarding is considered as a private
method. Backends looking to populate thi... | python | def _set_forwarding(self, v, load=False):
"""
Setter method for forwarding, mapped from YANG variable /mpls_state/lsp/forwarding (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_forwarding is considered as a private
method. Backends looking to populate thi... | [
"def",
"_set_forwarding",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"bas... | Setter method for forwarding, mapped from YANG variable /mpls_state/lsp/forwarding (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_forwarding is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_f... | [
"Setter",
"method",
"for",
"forwarding",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_state",
"/",
"lsp",
"/",
"forwarding",
"(",
"container",
")",
"If",
"this",
"variable",
"is",
"read",
"-",
"only",
"(",
"config",
":",
"false",
")",
"in",
"the",
"s... | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | https://github.com/StackStorm/pybind/blob/44c467e71b2b425be63867aba6e6fa28b2cfe7fb/pybind/slxos/v17s_1_02/mpls_state/lsp/__init__.py#L338-L361 | train | Sets the forwarding information for the
|
StackStorm/pybind | pybind/slxos/v17s_1_02/mpls_state/lsp/__init__.py | lsp._set_frr | def _set_frr(self, v, load=False):
"""
Setter method for frr, mapped from YANG variable /mpls_state/lsp/frr (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_frr is considered as a private
method. Backends looking to populate this variable should
do so ... | python | def _set_frr(self, v, load=False):
"""
Setter method for frr, mapped from YANG variable /mpls_state/lsp/frr (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_frr is considered as a private
method. Backends looking to populate this variable should
do so ... | [
"def",
"_set_frr",
"(",
"self",
",",
"v",
",",
"load",
"=",
"False",
")",
":",
"if",
"hasattr",
"(",
"v",
",",
"\"_utype\"",
")",
":",
"v",
"=",
"v",
".",
"_utype",
"(",
"v",
")",
"try",
":",
"t",
"=",
"YANGDynClass",
"(",
"v",
",",
"base",
"... | Setter method for frr, mapped from YANG variable /mpls_state/lsp/frr (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_frr is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_frr() directly.
Y... | [
"Setter",
"method",
"for",
"frr",
"mapped",
"from",
"YANG",
"variable",
"/",
"mpls_state",
"/",
"lsp",
"/",
"frr",
"(",
"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/mpls_state/lsp/__init__.py#L375-L398 | train | Set the FRR field of the
. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.