INSTRUCTION stringlengths 1 46.3k | RESPONSE stringlengths 75 80.2k |
|---|---|
Setter method for class_map, mapped from YANG variable /class_map (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_class_map is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_class_map() directly. | def _set_class_map(self, v, load=False):
"""
Setter method for class_map, mapped from YANG variable /class_map (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_class_map is considered as a private
method. Backends looking to populate this variable should
do... |
Setter method for policy_map, mapped from YANG variable /policy_map (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_policy_map is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_policy_map() directly... | def _set_policy_map(self, v, load=False):
"""
Setter method for policy_map, mapped from YANG variable /policy_map (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_policy_map is considered as a private
method. Backends looking to populate this variable should
... |
Setter method for system_qos, mapped from YANG variable /system_qos (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_system_qos is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_system_qos() dir... | def _set_system_qos(self, v, load=False):
"""
Setter method for system_qos, mapped from YANG variable /system_qos (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_system_qos is considered as a private
method. Backends looking to populate this variable shou... |
Setter method for traffic_eng_ospf, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/policy/traffic_engineering/traffic_eng_ospf (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_traffic_eng_ospf is considered as a private
method. Backends lookin... | def _set_traffic_eng_ospf(self, v, load=False):
"""
Setter method for traffic_eng_ospf, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/policy/traffic_engineering/traffic_eng_ospf (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_traffic_eng... |
Setter method for access_list, mapped from YANG variable /ipv6_acl/ipv6/access_list (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_access_list is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set... | def _set_access_list(self, v, load=False):
"""
Setter method for access_list, mapped from YANG variable /ipv6_acl/ipv6/access_list (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_access_list is considered as a private
method. Backends looking to populate ... |
Setter method for route_distinguisher, mapped from YANG variable /rbridge_id/evpn_instance/route_distinguisher (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_route_distinguisher is considered as a private
method. Backends looking to populate this variable should... | def _set_route_distinguisher(self, v, load=False):
"""
Setter method for route_distinguisher, mapped from YANG variable /rbridge_id/evpn_instance/route_distinguisher (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_route_distinguisher is considered as a privat... |
Setter method for echo, mapped from YANG variable /ip/icmp/echo (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_echo is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_echo() directly. | def _set_echo(self, v, load=False):
"""
Setter method for echo, mapped from YANG variable /ip/icmp/echo (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_echo is considered as a private
method. Backends looking to populate this variable should
do so via... |
Setter method for listen_range, mapped from YANG variable /rbridge_id/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf/listen_range (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_listen_range is considered as a private
method. Backends looking to populate th... | def _set_listen_range(self, v, load=False):
"""
Setter method for listen_range, mapped from YANG variable /rbridge_id/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf/listen_range (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_listen_range is considered ... |
A wrapper for the the entire RADIA sub-graph.
:param dict rna_bam: Dict dicts of bam and bai for tumor RNA-Seq obtained by running STAR within
ProTECT.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ... | def run_radia_with_merge(job, rna_bam, tumor_bam, normal_bam, univ_options, radia_options):
"""
A wrapper for the the entire RADIA sub-graph.
:param dict rna_bam: Dict dicts of bam and bai for tumor RNA-Seq obtained by running STAR within
ProTECT.
:param dict tumor_bam: Dict of bam and bai f... |
Spawn a RADIA job for each chromosome on the input bam trios.
:param dict rna_bam: Dict of bam and bai for tumor DNA-Seq. It can be one of two formats
rna_bam: # Just the genomic bam and bai
|- 'rna_genome_sorted.bam': fsID
+- 'rna_genome_sorted.bam.bai': fsID
... | def run_radia(job, rna_bam, tumor_bam, normal_bam, univ_options, radia_options):
"""
Spawn a RADIA job for each chromosome on the input bam trios.
:param dict rna_bam: Dict of bam and bai for tumor DNA-Seq. It can be one of two formats
rna_bam: # Just the genomic bam and bai
|... |
Run RADIA call on a single chromosome in the input bams.
:param dict bams: Dict of bam and bai for tumor DNA-Seq, normal DNA-Seq and tumor RNA-Seq
:param dict univ_options: Dict of universal options used by almost all tools
:param dict radia_options: Options specific to RADIA
:param str chrom: Chromoso... | def run_radia_perchrom(job, bams, univ_options, radia_options, chrom):
"""
Run RADIA call on a single chromosome in the input bams.
:param dict bams: Dict of bam and bai for tumor DNA-Seq, normal DNA-Seq and tumor RNA-Seq
:param dict univ_options: Dict of universal options used by almost all tools
... |
Run filterradia on the RADIA output.
:param dict bams: Dict of bam and bai for tumor DNA-Seq, normal DNA-Seq and tumor RNA-Seq
:param toil.fileStore.FileID radia_file: The vcf from runnning RADIA
:param dict univ_options: Dict of universal options used by almost all tools
:param dict radia_options: Opt... | def run_filter_radia(job, bams, radia_file, univ_options, radia_options, chrom):
"""
Run filterradia on the RADIA output.
:param dict bams: Dict of bam and bai for tumor DNA-Seq, normal DNA-Seq and tumor RNA-Seq
:param toil.fileStore.FileID radia_file: The vcf from runnning RADIA
:param dict univ_o... |
Process the RADIA vcf to for passing calls and additionally sites having multiple alt alleles
to pick out on the most likely ones.
:param toil.fileStore.FileID radia_vcf: fsID for a RADIA generated chromosome vcf
:param str work_dir: Working directory
:param dict univ_options: Dict of universal options... | def process_radia_vcf(job, radia_vcf, work_dir, univ_options):
"""
Process the RADIA vcf to for passing calls and additionally sites having multiple alt alleles
to pick out on the most likely ones.
:param toil.fileStore.FileID radia_vcf: fsID for a RADIA generated chromosome vcf
:param str work_dir... |
Setter method for show_mpls_statistics_ldp_tunnel, mapped from YANG variable /brocade_mpls_rpc/show_mpls_statistics_ldp_tunnel (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_mpls_statistics_ldp_tunnel is considered as a private
method. Backends looking to populat... | def _set_show_mpls_statistics_ldp_tunnel(self, v, load=False):
"""
Setter method for show_mpls_statistics_ldp_tunnel, mapped from YANG variable /brocade_mpls_rpc/show_mpls_statistics_ldp_tunnel (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_mpls_statistics_ld... |
Setter method for show_mpls_ldp_path, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_path (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_mpls_ldp_path is considered as a private
method. Backends looking to populate this variable should
do so via ca... | def _set_show_mpls_ldp_path(self, v, load=False):
"""
Setter method for show_mpls_ldp_path, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_path (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_mpls_ldp_path is considered as a private
method. Back... |
Setter method for show_mpls_ldp_fec, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_fec (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_mpls_ldp_fec is considered as a private
method. Backends looking to populate this variable should
do so via calli... | def _set_show_mpls_ldp_fec(self, v, load=False):
"""
Setter method for show_mpls_ldp_fec, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_fec (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_mpls_ldp_fec is considered as a private
method. Backends... |
Setter method for show_mpls_policy, mapped from YANG variable /brocade_mpls_rpc/show_mpls_policy (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_mpls_policy is considered as a private
method. Backends looking to populate this variable should
do so via calling ... | def _set_show_mpls_policy(self, v, load=False):
"""
Setter method for show_mpls_policy, mapped from YANG variable /brocade_mpls_rpc/show_mpls_policy (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_mpls_policy is considered as a private
method. Backends loo... |
Setter method for show_mpls_rsvp, mapped from YANG variable /brocade_mpls_rpc/show_mpls_rsvp (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_mpls_rsvp is considered as a private
method. Backends looking to populate this variable should
do so via calling thisOb... | def _set_show_mpls_rsvp(self, v, load=False):
"""
Setter method for show_mpls_rsvp, mapped from YANG variable /brocade_mpls_rpc/show_mpls_rsvp (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_mpls_rsvp is considered as a private
method. Backends looking to ... |
Setter method for show_mpls_rsvp_interface, mapped from YANG variable /brocade_mpls_rpc/show_mpls_rsvp_interface (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_mpls_rsvp_interface is considered as a private
method. Backends looking to populate this variable shoul... | def _set_show_mpls_rsvp_interface(self, v, load=False):
"""
Setter method for show_mpls_rsvp_interface, mapped from YANG variable /brocade_mpls_rpc/show_mpls_rsvp_interface (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_mpls_rsvp_interface is considered as a ... |
Setter method for show_mpls_rsvp_neighbor, mapped from YANG variable /brocade_mpls_rpc/show_mpls_rsvp_neighbor (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_mpls_rsvp_neighbor is considered as a private
method. Backends looking to populate this variable should
... | def _set_show_mpls_rsvp_neighbor(self, v, load=False):
"""
Setter method for show_mpls_rsvp_neighbor, mapped from YANG variable /brocade_mpls_rpc/show_mpls_rsvp_neighbor (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_mpls_rsvp_neighbor is considered as a priv... |
Setter method for get_mpls_ldp_neighbor_brief, mapped from YANG variable /brocade_mpls_rpc/get_mpls_ldp_neighbor_brief (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_get_mpls_ldp_neighbor_brief is considered as a private
method. Backends looking to populate this varia... | def _set_get_mpls_ldp_neighbor_brief(self, v, load=False):
"""
Setter method for get_mpls_ldp_neighbor_brief, mapped from YANG variable /brocade_mpls_rpc/get_mpls_ldp_neighbor_brief (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_get_mpls_ldp_neighbor_brief is cons... |
Setter method for show_mpls_ldp, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_mpls_ldp is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._... | def _set_show_mpls_ldp(self, v, load=False):
"""
Setter method for show_mpls_ldp, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_mpls_ldp is considered as a private
method. Backends looking to popu... |
Setter method for show_mpls_statistics_oam, mapped from YANG variable /brocade_mpls_rpc/show_mpls_statistics_oam (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_mpls_statistics_oam is considered as a private
method. Backends looking to populate this variable shoul... | def _set_show_mpls_statistics_oam(self, v, load=False):
"""
Setter method for show_mpls_statistics_oam, mapped from YANG variable /brocade_mpls_rpc/show_mpls_statistics_oam (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_mpls_statistics_oam is considered as a ... |
Setter method for get_mpls_ldp_session_brief, mapped from YANG variable /brocade_mpls_rpc/get_mpls_ldp_session_brief (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_get_mpls_ldp_session_brief is considered as a private
method. Backends looking to populate this variable... | def _set_get_mpls_ldp_session_brief(self, v, load=False):
"""
Setter method for get_mpls_ldp_session_brief, mapped from YANG variable /brocade_mpls_rpc/get_mpls_ldp_session_brief (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_get_mpls_ldp_session_brief is consider... |
Setter method for get_mpls_autobw_template_brief, mapped from YANG variable /brocade_mpls_rpc/get_mpls_autobw_template_brief (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_get_mpls_autobw_template_brief is considered as a private
method. Backends looking to populate t... | def _set_get_mpls_autobw_template_brief(self, v, load=False):
"""
Setter method for get_mpls_autobw_template_brief, mapped from YANG variable /brocade_mpls_rpc/get_mpls_autobw_template_brief (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_get_mpls_autobw_template_b... |
Setter method for show_mpls_dynamic_bypass, mapped from YANG variable /brocade_mpls_rpc/show_mpls_dynamic_bypass (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_mpls_dynamic_bypass is considered as a private
method. Backends looking to populate this variable shoul... | def _set_show_mpls_dynamic_bypass(self, v, load=False):
"""
Setter method for show_mpls_dynamic_bypass, mapped from YANG variable /brocade_mpls_rpc/show_mpls_dynamic_bypass (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_mpls_dynamic_bypass is considered as a ... |
Setter method for ping_mpls, mapped from YANG variable /brocade_mpls_rpc/ping_mpls (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_ping_mpls is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_ping_mpl... | def _set_ping_mpls(self, v, load=False):
"""
Setter method for ping_mpls, mapped from YANG variable /brocade_mpls_rpc/ping_mpls (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_ping_mpls is considered as a private
method. Backends looking to populate this variab... |
Setter method for ldp_params, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/ldp_params (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ldp_params is considered as a private
method. Backends looking to populate this variable sh... | def _set_ldp_params(self, v, load=False):
"""
Setter method for ldp_params, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/ldp_params (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ldp_params is considered as a private
... |
Setter method for rsvp, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/rsvp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_rsvp is considered as a private
method. Backends looking to populate this variable should
do so via... | def _set_rsvp(self, v, load=False):
"""
Setter method for rsvp, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/rsvp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_rsvp is considered as a private
method. Backends lookin... |
Setter method for interface_dynamic_bypass, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/interface_dynamic_bypass (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_dynamic_bypass is considered as a private
method. Bac... | def _set_interface_dynamic_bypass(self, v, load=False):
"""
Setter method for interface_dynamic_bypass, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/interface_dynamic_bypass (container)
If this variable is read-only (config: false) in the
source YANG file, then _set... |
Setter method for offset_base1, mapped from YANG variable /uda_key/profile/uda_profile_offsets/offset_base1 (uda-offset-base-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_offset_base1 is considered as a private
method. Backends looking to populate this variable shoul... | def _set_offset_base1(self, v, load=False):
"""
Setter method for offset_base1, mapped from YANG variable /uda_key/profile/uda_profile_offsets/offset_base1 (uda-offset-base-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_offset_base1 is considered as a private
... |
Setter method for uda_offset1, mapped from YANG variable /uda_key/profile/uda_profile_offsets/uda_offset1 (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_uda_offset1 is considered as a private
method. Backends looking to populate this variable should
do so via ca... | def _set_uda_offset1(self, v, load=False):
"""
Setter method for uda_offset1, mapped from YANG variable /uda_key/profile/uda_profile_offsets/uda_offset1 (union)
If this variable is read-only (config: false) in the
source YANG file, then _set_uda_offset1 is considered as a private
method. Backends lo... |
Setter method for name, mapped from YANG variable /rbridge_id/event_handler/activate/name (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_name is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_name(... | def _set_name(self, v, load=False):
"""
Setter method for name, mapped from YANG variable /rbridge_id/event_handler/activate/name (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_name is considered as a private
method. Backends looking to populate this variable... |
Index `bamfile` using samtools
:param toil.fileStore.FileID bamfile: fsID for the bam file
:param str sample_type: Description of the sample to inject into the filename
:param dict univ_options: Dict of universal options used by almost all tools
:param dict samtools_options: Options specific to samtool... | def index_bamfile(job, bamfile, sample_type, univ_options, samtools_options, sample_info=None,
export=True):
"""
Index `bamfile` using samtools
:param toil.fileStore.FileID bamfile: fsID for the bam file
:param str sample_type: Description of the sample to inject into the filename
... |
Sort `bamfile` using samtools
:param toil.fileStore.FileID bamfile: fsID for the bam file
:param str sample_type: Description of the sample to inject into the filename
:param dict univ_options: Dict of universal options used by almost all tools
:param dict samtools_options: Options specific to samtools... | def sort_bamfile(job, bamfile, sample_type, univ_options, samtools_options):
"""
Sort `bamfile` using samtools
:param toil.fileStore.FileID bamfile: fsID for the bam file
:param str sample_type: Description of the sample to inject into the filename
:param dict univ_options: Dict of universal option... |
Setter method for loam_show_debug_information, mapped from YANG variable /loam_show_debug_state/loam_show_debug_information (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_loam_show_debug_information is considered as a private
method. Backends looking to populate... | def _set_loam_show_debug_information(self, v, load=False):
"""
Setter method for loam_show_debug_information, mapped from YANG variable /loam_show_debug_state/loam_show_debug_information (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_loam_show_debug_informat... |
Setter method for last_received_interface_info, mapped from YANG variable /brocade_port_profile_ext_rpc/get_port_profile_for_intf/input/last_received_interface_info (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_last_received_interface_info is considered as a privat... | def _set_last_received_interface_info(self, v, load=False):
"""
Setter method for last_received_interface_info, mapped from YANG variable /brocade_port_profile_ext_rpc/get_port_profile_for_intf/input/last_received_interface_info (container)
If this variable is read-only (config: false) in the
source YAN... |
Setter method for fabric_priority, mapped from YANG variable /cee_map/remap/fabric_priority (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fabric_priority is considered as a private
method. Backends looking to populate this variable should
do so via calling ... | def _set_fabric_priority(self, v, load=False):
"""
Setter method for fabric_priority, mapped from YANG variable /cee_map/remap/fabric_priority (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fabric_priority is considered as a private
method. Backends look... |
Setter method for lossless_priority, mapped from YANG variable /cee_map/remap/lossless_priority (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_lossless_priority is considered as a private
method. Backends looking to populate this variable should
do so via ca... | def _set_lossless_priority(self, v, load=False):
"""
Setter method for lossless_priority, mapped from YANG variable /cee_map/remap/lossless_priority (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_lossless_priority is considered as a private
method. Backe... |
Upgrade database. | def upgrade():
"""Upgrade database."""
op.create_table(
'access_actionsroles',
sa.Column('id', sa.Integer(), nullable=False),
sa.Column('action', sa.String(length=80), nullable=True),
sa.Column('exclude', sa.Boolean(name='exclude'), server_default='0',
nullable=... |
Setter method for filter, mapped from YANG variable /interface_vlan/interface/vlan/ip/arp/inspection/filter (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_filter is considered as a private
method. Backends looking to populate this variable should
do so via c... | def _set_filter(self, v, load=False):
"""
Setter method for filter, mapped from YANG variable /interface_vlan/interface/vlan/ip/arp/inspection/filter (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_filter is considered as a private
method. Backends lookin... |
Setter method for start_time, mapped from YANG variable /keychain/key/accept_lifetime/start_time (time-format-start)
If this variable is read-only (config: false) in the
source YANG file, then _set_start_time is considered as a private
method. Backends looking to populate this variable should
do so via ... | def _set_start_time(self, v, load=False):
"""
Setter method for start_time, mapped from YANG variable /keychain/key/accept_lifetime/start_time (time-format-start)
If this variable is read-only (config: false) in the
source YANG file, then _set_start_time is considered as a private
method. Backends l... |
Setter method for duration, mapped from YANG variable /keychain/key/accept_lifetime/duration (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_duration is considered as a private
method. Backends looking to populate this variable should
do so via calling thisOb... | def _set_duration(self, v, load=False):
"""
Setter method for duration, mapped from YANG variable /keychain/key/accept_lifetime/duration (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_duration is considered as a private
method. Backends looking to popula... |
Setter method for get_stp_brief_info, mapped from YANG variable /brocade_xstp_ext_rpc/get_stp_brief_info (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_get_stp_brief_info is considered as a private
method. Backends looking to populate this variable should
do so vi... | def _set_get_stp_brief_info(self, v, load=False):
"""
Setter method for get_stp_brief_info, mapped from YANG variable /brocade_xstp_ext_rpc/get_stp_brief_info (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_get_stp_brief_info is considered as a private
method. ... |
Setter method for session_role, mapped from YANG variable /mpls_state/rsvp/sessions/session_role (session-role)
If this variable is read-only (config: false) in the
source YANG file, then _set_session_role is considered as a private
method. Backends looking to populate this variable should
do so via cal... | def _set_session_role(self, v, load=False):
"""
Setter method for session_role, mapped from YANG variable /mpls_state/rsvp/sessions/session_role (session-role)
If this variable is read-only (config: false) in the
source YANG file, then _set_session_role is considered as a private
method. Backends lo... |
Setter method for log_adjacency, mapped from YANG variable /rbridge_id/ipv6/router/ospf/log/log_adjacency (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_log_adjacency is considered as a private
method. Backends looking to populate this variable should
do so ... | def _set_log_adjacency(self, v, load=False):
"""
Setter method for log_adjacency, mapped from YANG variable /rbridge_id/ipv6/router/ospf/log/log_adjacency (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_log_adjacency is considered as a private
method. Bac... |
Setter method for log_bad_packet, mapped from YANG variable /rbridge_id/ipv6/router/ospf/log/log_bad_packet (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_log_bad_packet is considered as a private
method. Backends looking to populate this variable should
do ... | def _set_log_bad_packet(self, v, load=False):
"""
Setter method for log_bad_packet, mapped from YANG variable /rbridge_id/ipv6/router/ospf/log/log_bad_packet (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_log_bad_packet is considered as a private
method.... |
Create an identity for a given user instance.
Primarily useful for testing. | def get_identity(user):
"""Create an identity for a given user instance.
Primarily useful for testing.
"""
identity = Identity(user.id)
if hasattr(user, 'id'):
identity.provides.add(UserNeed(user.id))
for role in getattr(user, 'roles', []):
identity.provides.add(RoleNeed(role.... |
Setter method for ip_anycast_gateway, mapped from YANG variable /interface_vlan/interface/ve/ip/ip_anycast_gateway (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ip_anycast_gateway is considered as a private
method. Backends looking to populate this variable should
... | def _set_ip_anycast_gateway(self, v, load=False):
"""
Setter method for ip_anycast_gateway, mapped from YANG variable /interface_vlan/interface/ve/ip/ip_anycast_gateway (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ip_anycast_gateway is considered as a private
... |
Setter method for int_router_isis, mapped from YANG variable /routing_system/interface/ve/ip/intf_router_isis/int_router_isis (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_int_router_isis is considered as a private
method. Backends looking to populate this vari... | def _set_int_router_isis(self, v, load=False):
"""
Setter method for int_router_isis, mapped from YANG variable /routing_system/interface/ve/ip/intf_router_isis/int_router_isis (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_int_router_isis is considered as a... |
Setter method for addpath_advertise, mapped from YANG variable /routing_system/router/router_bgp/address_family/ipv6/ipv6_unicast/af_ipv6_vrf/neighbor/af_ipv6_vrf_neighbor_address_holder/af_ipv6_neighbor_addr/additional_paths/addpath_advertise (container)
If this variable is read-only (config: false) in the
sou... | def _set_addpath_advertise(self, v, load=False):
"""
Setter method for addpath_advertise, mapped from YANG variable /routing_system/router/router_bgp/address_family/ipv6/ipv6_unicast/af_ipv6_vrf/neighbor/af_ipv6_vrf_neighbor_address_holder/af_ipv6_neighbor_addr/additional_paths/addpath_advertise (container)
... |
Setter method for fcoe_fabric_map_fcmap, mapped from YANG variable /fcoe/fcoe_fabric_map/fcoe_fabric_map_fcmap (fcoe-fcmap-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_fabric_map_fcmap is considered as a private
method. Backends looking to populate this variabl... | def _set_fcoe_fabric_map_fcmap(self, v, load=False):
"""
Setter method for fcoe_fabric_map_fcmap, mapped from YANG variable /fcoe/fcoe_fabric_map/fcoe_fabric_map_fcmap (fcoe-fcmap-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_fabric_map_fcmap is considered a... |
Setter method for fcoe_fip_advertisement, mapped from YANG variable /fcoe/fcoe_fabric_map/fcoe_fip_advertisement (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_fip_advertisement is considered as a private
method. Backends looking to populate this variable s... | def _set_fcoe_fip_advertisement(self, v, load=False):
"""
Setter method for fcoe_fip_advertisement, mapped from YANG variable /fcoe/fcoe_fabric_map/fcoe_fip_advertisement (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_fip_advertisement is considered as ... |
Setter method for fcoe_fip_keep_alive, mapped from YANG variable /fcoe/fcoe_fabric_map/fcoe_fip_keep_alive (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_fip_keep_alive is considered as a private
method. Backends looking to populate this variable should
... | def _set_fcoe_fip_keep_alive(self, v, load=False):
"""
Setter method for fcoe_fip_keep_alive, mapped from YANG variable /fcoe/fcoe_fabric_map/fcoe_fip_keep_alive (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_fip_keep_alive is considered as a private
... |
Setter method for vlan_vni_mapping, mapped from YANG variable /overlay_gateway/map/vlan_vni_mapping (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_vlan_vni_mapping is considered as a private
method. Backends looking to populate this variable should
do so via call... | def _set_vlan_vni_mapping(self, v, load=False):
"""
Setter method for vlan_vni_mapping, mapped from YANG variable /overlay_gateway/map/vlan_vni_mapping (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_vlan_vni_mapping is considered as a private
method. Backends... |
Setter method for vpnv6_unicast, mapped from YANG variable /routing_system/router/router_bgp/address_family/vpnv6/vpnv6_unicast (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_vpnv6_unicast is considered as a private
method. Backends looking to populate this vari... | def _set_vpnv6_unicast(self, v, load=False):
"""
Setter method for vpnv6_unicast, mapped from YANG variable /routing_system/router/router_bgp/address_family/vpnv6/vpnv6_unicast (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_vpnv6_unicast is considered as a p... |
Freeze tries to convert any data-structure in a hierarchy of tuples.
Tuples are comparable/sortable/hashable, you can use this with
with recursive_sort(). freeze has no recursion detection.
:param data_structure: The structure to convert.
>>> recursive_sort(freeze(_TestClass(True)))
(('a', 'huhu... | def freeze(data_structure):
"""Freeze tries to convert any data-structure in a hierarchy of tuples.
Tuples are comparable/sortable/hashable, you can use this with
with recursive_sort(). freeze has no recursion detection.
:param data_structure: The structure to convert.
>>> recursive_sort(freeze(... |
Converts a object to a items list respecting also slots.
Use dict(object_to_items(obj)) to get a dictionary. | def object_to_items(data_structure):
"""Converts a object to a items list respecting also slots.
Use dict(object_to_items(obj)) to get a dictionary."""
items = []
# Get all items from dict
try:
items = list(data_structure.__dict__.items())
except:
pass
# Get all slots
hi... |
Dump will create a human readable version of your data-structure.
It will try to dump almost anything, it has recursion detection and
will try to display the recursion in a meaningful way.
:param data_structure: The structure to convert.
When you freeze only content counts, same content same hash
... | def dump(data_structure):
"""Dump will create a human readable version of your data-structure.
It will try to dump almost anything, it has recursion detection and
will try to display the recursion in a meaningful way.
:param data_structure: The structure to convert.
When you freeze only content ... |
Sort a recursive data_structure.
:param data_structure: The structure to convert.
data_structure must be already sortable or you must use freeze() or dump().
The function will work with many kinds of input. Dictionaries will be
converted to lists of tuples.
>>> _py2_to_py3(vformat(recursive_sor... | def recursive_sort(data_structure):
"""Sort a recursive data_structure.
:param data_structure: The structure to convert.
data_structure must be already sortable or you must use freeze() or dump().
The function will work with many kinds of input. Dictionaries will be
converted to lists of tuples.... |
Yields the leaves of the frozen data-structure pre-order.
It will produce the same order as one would write the data-structure. | def traverse_frozen_data(data_structure):
"""Yields the leaves of the frozen data-structure pre-order.
It will produce the same order as one would write the data-structure."""
parent_stack = [data_structure]
while parent_stack:
node = parent_stack.pop(0)
# We don't iterate strings
... |
Dump any data-structure or object, traverse
it depth-first in-order and apply a unified diff.
Depth-first in-order is just like structure would be printed.
:param a: data_structure a
:param b: data_structure b
:param n: lines of context
:type n:... | def tree_diff(a, b, n=5, sort=False):
"""Dump any data-structure or object, traverse
it depth-first in-order and apply a unified diff.
Depth-first in-order is just like structure would be printed.
:param a: data_structure a
:param b: data_structure b
:param ... |
User tree_diff() to assert a equals b. Dump any data-structure or
object, traverse it depth-first and apply a unified diff, to display
the result.
:param a: data_structure a
:param b: data_structure b
:param n: lines of context
:type n: int
:... | def tree_diff_assert(a, b, n=5, sort=False):
"""User tree_diff() to assert a equals b. Dump any data-structure or
object, traverse it depth-first and apply a unified diff, to display
the result.
:param a: data_structure a
:param b: data_structure b
:param n: ... |
Generic cmp method to support python 2/3 | def _cmp(self, other):
"""Generic cmp method to support python 2/3"""
self_gen = traverse_frozen_data(self.payload)
other_gen = traverse_frozen_data(other.payload)
while True:
try:
self_node = repr(next(self_gen))
except StopIteration:
... |
Setter method for collector_ip, mapped from YANG variable /telemetry/collector/collector_ip (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_collector_ip is considered as a private
method. Backends looking to populate this variable should
do so via calling thi... | def _set_collector_ip(self, v, load=False):
"""
Setter method for collector_ip, mapped from YANG variable /telemetry/collector/collector_ip (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_collector_ip is considered as a private
method. Backends looking to... |
Setter method for collector_profile, mapped from YANG variable /telemetry/collector/collector_profile (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_collector_profile is considered as a private
method. Backends looking to populate this variable should
do so via c... | def _set_collector_profile(self, v, load=False):
"""
Setter method for collector_profile, mapped from YANG variable /telemetry/collector/collector_profile (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_collector_profile is considered as a private
method. Back... |
Setter method for collector_encoding, mapped from YANG variable /telemetry/collector/collector_encoding (collector-encoding-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_collector_encoding is considered as a private
method. Backends looking to populate this variable ... | def _set_collector_encoding(self, v, load=False):
"""
Setter method for collector_encoding, mapped from YANG variable /telemetry/collector/collector_encoding (collector-encoding-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_collector_encoding is considered as a p... |
Setter method for quality, mapped from YANG variable /ptp_state/clock/quality (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_quality is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_quality()... | def _set_quality(self, v, load=False):
"""
Setter method for quality, mapped from YANG variable /ptp_state/clock/quality (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_quality is considered as a private
method. Backends looking to populate this variable ... |
Setter method for if_role, mapped from YANG variable /brocade_xstp_ext_rpc/get_stp_mst_detail/output/cist/port/if_role (stp-port-role)
If this variable is read-only (config: false) in the
source YANG file, then _set_if_role is considered as a private
method. Backends looking to populate this variable should... | def _set_if_role(self, v, load=False):
"""
Setter method for if_role, mapped from YANG variable /brocade_xstp_ext_rpc/get_stp_mst_detail/output/cist/port/if_role (stp-port-role)
If this variable is read-only (config: false) in the
source YANG file, then _set_if_role is considered as a private
method... |
Setter method for if_state, mapped from YANG variable /brocade_xstp_ext_rpc/get_stp_mst_detail/output/cist/port/if_state (stp-port-state)
If this variable is read-only (config: false) in the
source YANG file, then _set_if_state is considered as a private
method. Backends looking to populate this variable sh... | def _set_if_state(self, v, load=False):
"""
Setter method for if_state, mapped from YANG variable /brocade_xstp_ext_rpc/get_stp_mst_detail/output/cist/port/if_state (stp-port-state)
If this variable is read-only (config: false) in the
source YANG file, then _set_if_state is considered as a private
m... |
Setter method for transmitted_stp_type, mapped from YANG variable /brocade_xstp_ext_rpc/get_stp_mst_detail/output/cist/port/transmitted_stp_type (stp-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_transmitted_stp_type is considered as a private
method. Backends lookin... | def _set_transmitted_stp_type(self, v, load=False):
"""
Setter method for transmitted_stp_type, mapped from YANG variable /brocade_xstp_ext_rpc/get_stp_mst_detail/output/cist/port/transmitted_stp_type (stp-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_transmitted... |
Setter method for server, mapped from YANG variable /ntp/server (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_server is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_server() directly. | def _set_server(self, v, load=False):
"""
Setter method for server, mapped from YANG variable /ntp/server (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_server is considered as a private
method. Backends looking to populate this variable should
do so via ... |
Setter method for peer, mapped from YANG variable /ntp/peer (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_peer is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_peer() directly. | def _set_peer(self, v, load=False):
"""
Setter method for peer, mapped from YANG variable /ntp/peer (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_peer is considered as a private
method. Backends looking to populate this variable should
do so via calling ... |
Setter method for source_ip, mapped from YANG variable /ntp/source_ip (srcip_type)
If this variable is read-only (config: false) in the
source YANG file, then _set_source_ip is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_source_ip() di... | def _set_source_ip(self, v, load=False):
"""
Setter method for source_ip, mapped from YANG variable /ntp/source_ip (srcip_type)
If this variable is read-only (config: false) in the
source YANG file, then _set_source_ip is considered as a private
method. Backends looking to populate this variable sho... |
Setter method for disable, mapped from YANG variable /ntp/disable (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_disable is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_disable() directly. | def _set_disable(self, v, load=False):
"""
Setter method for disable, mapped from YANG variable /ntp/disable (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_disable is considered as a private
method. Backends looking to populate this variable should
d... |
Setter method for authenticate, mapped from YANG variable /ntp/authenticate (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_authenticate is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_authentica... | def _set_authenticate(self, v, load=False):
"""
Setter method for authenticate, mapped from YANG variable /ntp/authenticate (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_authenticate is considered as a private
method. Backends looking to populate this varia... |
Setter method for trusted_key, mapped from YANG variable /ntp/trusted_key (trust-key)
If this variable is read-only (config: false) in the
source YANG file, then _set_trusted_key is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_trusted_k... | def _set_trusted_key(self, v, load=False):
"""
Setter method for trusted_key, mapped from YANG variable /ntp/trusted_key (trust-key)
If this variable is read-only (config: false) in the
source YANG file, then _set_trusted_key is considered as a private
method. Backends looking to populate this varia... |
Setter method for master, mapped from YANG variable /ntp/master (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_master is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_master() directly. | def _set_master(self, v, load=False):
"""
Setter method for master, mapped from YANG variable /ntp/master (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_master is considered as a private
method. Backends looking to populate this variable should
do so vi... |
Setter method for start_type, mapped from YANG variable /cfm_state/slm/slm_session_detail/start_type (start-stop-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_start_type is considered as a private
method. Backends looking to populate this variable should
do so vi... | def _set_start_type(self, v, load=False):
"""
Setter method for start_type, mapped from YANG variable /cfm_state/slm/slm_session_detail/start_type (start-stop-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_start_type is considered as a private
method. Backends... |
Setter method for arp_node_config, mapped from YANG variable /interface/tengigabitethernet/ip/arp_node_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_arp_node_config is considered as a private
method. Backends looking to populate this variable should
... | def _set_arp_node_config(self, v, load=False):
"""
Setter method for arp_node_config, mapped from YANG variable /interface/tengigabitethernet/ip/arp_node_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_arp_node_config is considered as a private
met... |
Setter method for interface_te_ospf_conf, mapped from YANG variable /interface/tengigabitethernet/ip/interface_te_ospf_conf (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_te_ospf_conf is considered as a private
method. Backends looking to populate this... | def _set_interface_te_ospf_conf(self, v, load=False):
"""
Setter method for interface_te_ospf_conf, mapped from YANG variable /interface/tengigabitethernet/ip/interface_te_ospf_conf (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_te_ospf_conf is con... |
행에 cell을 붙입니다. | def append(self, cell):
"""행에 cell을 붙입니다. """
assert isinstance(cell, Cell)
super(Row, self).append(cell) |
쿼리의 정렬 조건을 가져옵니다. | def _order_queries(self):
"""쿼리의 정렬 조건을 가져옵니다."""
from .condition import Order
order = []
for column in self.columns:
if column.order_by:
o = Order(self.cls, column.attr, column.order_by)
order.append(o.__query__())
if not order:
... |
Setter method for aggregator_type, mapped from YANG variable /brocade_lag_rpc/get_port_channel_detail/output/lacp/aggregator_type (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_aggregator_type is considered as a private
method. Backends looking to populate thi... | def _set_aggregator_type(self, v, load=False):
"""
Setter method for aggregator_type, mapped from YANG variable /brocade_lag_rpc/get_port_channel_detail/output/lacp/aggregator_type (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_aggregator_type is considere... |
Setter method for pmap_seq, mapped from YANG variable /overlay_policy_map/pmap_seq (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_pmap_seq is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_pmap_seq... | def _set_pmap_seq(self, v, load=False):
"""
Setter method for pmap_seq, mapped from YANG variable /overlay_policy_map/pmap_seq (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_pmap_seq is considered as a private
method. Backends looking to populate this variabl... |
Setter method for remote_failure, mapped from YANG variable /interface/ethernet/link_oam_interface/remote_failure (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_remote_failure is considered as a private
method. Backends looking to populate this variable should
... | def _set_remote_failure(self, v, load=False):
"""
Setter method for remote_failure, mapped from YANG variable /interface/ethernet/link_oam_interface/remote_failure (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_remote_failure is considered as a private
m... |
Setter method for enable, mapped from YANG variable /interface/ethernet/link_oam_interface/enable (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_enable is considered as a private
method. Backends looking to populate this variable should
do so via calling t... | def _set_enable(self, v, load=False):
"""
Setter method for enable, mapped from YANG variable /interface/ethernet/link_oam_interface/enable (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_enable is considered as a private
method. Backends looking to pop... |
Setter method for interface_ipv6_metric, mapped from YANG variable /routing_system/interface/ve/intf_isis/interface_isis/interface_ipv6/interface_ipv6_metric (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_ipv6_metric is considered as a private
method. Backe... | def _set_interface_ipv6_metric(self, v, load=False):
"""
Setter method for interface_ipv6_metric, mapped from YANG variable /routing_system/interface/ve/intf_isis/interface_isis/interface_ipv6/interface_ipv6_metric (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_i... |
Setter method for above, mapped from YANG variable /rbridge_id/threshold_monitor/interface/policy/area/alert/above (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_above is considered as a private
method. Backends looking to populate this variable should
do so... | def _set_above(self, v, load=False):
"""
Setter method for above, mapped from YANG variable /rbridge_id/threshold_monitor/interface/policy/area/alert/above (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_above is considered as a private
method. Backends l... |
Setter method for below, mapped from YANG variable /rbridge_id/threshold_monitor/interface/policy/area/alert/below (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_below is considered as a private
method. Backends looking to populate this variable should
do so... | def _set_below(self, v, load=False):
"""
Setter method for below, mapped from YANG variable /rbridge_id/threshold_monitor/interface/policy/area/alert/below (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_below is considered as a private
method. Backends l... |
Setter method for igmps_querier, mapped from YANG variable /interface_vlan/vlan/ip/igmpVlan/snooping/igmps_querier (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_igmps_querier is considered as a private
method. Backends looking to populate this variable should
... | def _set_igmps_querier(self, v, load=False):
"""
Setter method for igmps_querier, mapped from YANG variable /interface_vlan/vlan/ip/igmpVlan/snooping/igmps_querier (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_igmps_querier is considered as a private
me... |
Setter method for user_session_info, mapped from YANG variable /brocade_aaa_ext_rpc/user_session_info (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_user_session_info is considered as a private
method. Backends looking to populate this variable should
do so via ca... | def _set_user_session_info(self, v, load=False):
"""
Setter method for user_session_info, mapped from YANG variable /brocade_aaa_ext_rpc/user_session_info (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_user_session_info is considered as a private
method. Backe... |
Setter method for af_vrf, mapped from YANG variable /rbridge_id/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_af_vrf is considered as a private
method. Backends looking to populate this variable should
do... | def _set_af_vrf(self, v, load=False):
"""
Setter method for af_vrf, mapped from YANG variable /rbridge_id/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_af_vrf is considered as a private
method. Backen... |
Basic group statistics.
Returned dict has the following keys:
'online' - users online count
'ingame' - users currently in game count
'chatting' - users chatting count
:return: dict | def stats(self):
"""Basic group statistics.
Returned dict has the following keys:
'online' - users online count
'ingame' - users currently in game count
'chatting' - users chatting count
:return: dict
"""
stats_online = CRef.cint()
s... |
Setter method for action, mapped from YANG variable /rule/action (rule-action)
If this variable is read-only (config: false) in the
source YANG file, then _set_action is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_action() directly. | def _set_action(self, v, load=False):
"""
Setter method for action, mapped from YANG variable /rule/action (rule-action)
If this variable is read-only (config: false) in the
source YANG file, then _set_action is considered as a private
method. Backends looking to populate this variable should
do... |
Setter method for operation, mapped from YANG variable /rule/operation (rule-operation)
If this variable is read-only (config: false) in the
source YANG file, then _set_operation is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_operation... | def _set_operation(self, v, load=False):
"""
Setter method for operation, mapped from YANG variable /rule/operation (rule-operation)
If this variable is read-only (config: false) in the
source YANG file, then _set_operation is considered as a private
method. Backends looking to populate this variabl... |
Upgrade database. | def upgrade():
"""Upgrade database."""
op.create_index(op.f('ix_access_actionsroles_role_id'),
'access_actionsroles', ['role_id'], unique=False)
op.drop_constraint(u'fk_access_actionsroles_role_id_accounts_role',
'access_actionsroles', type_='foreignkey')
op.cr... |
Downgrade database. | def downgrade():
"""Downgrade database."""
op.drop_constraint(op.f('fk_access_actionsusers_user_id_accounts_user'),
'access_actionsusers', type_='foreignkey')
op.drop_index(op.f('ix_access_actionsusers_user_id'),
table_name='access_actionsusers')
op.create_foreig... |
Setter method for interface_reverse_metric, mapped from YANG variable /routing_system/interface/ve/intf_isis/interface_isis/interface_reverse_metric (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_reverse_metric is considered as a private
method. Backen... | def _set_interface_reverse_metric(self, v, load=False):
"""
Setter method for interface_reverse_metric, mapped from YANG variable /routing_system/interface/ve/intf_isis/interface_isis/interface_reverse_metric (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_in... |
Setter method for interface_auth_key, mapped from YANG variable /routing_system/interface/ve/intf_isis/interface_isis/interface_auth_key (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_auth_key is considered as a private
method. Backends looking to populate ... | def _set_interface_auth_key(self, v, load=False):
"""
Setter method for interface_auth_key, mapped from YANG variable /routing_system/interface/ve/intf_isis/interface_isis/interface_auth_key (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_auth_key is con... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.