INSTRUCTION stringlengths 1 46.3k | RESPONSE stringlengths 75 80.2k |
|---|---|
Returns a lower and upper money amount separated by a spread percentage | def spread_money(money: Money, spread_p: Decimal) -> Tuple[Money, Money]:
"""Returns a lower and upper money amount separated by a spread percentage"""
upper, lower = spread_value(money.amount, spread_p)
return Money(upper, money.currency), Money(lower, money.currency) |
Returns a lower and upper value separated by a spread percentage | def spread_value(value: Decimal, spread_p: Decimal) -> Tuple[Decimal, Decimal]:
"""Returns a lower and upper value separated by a spread percentage"""
upper = value * (1 + spread_p)
lower = value / (1 + spread_p)
return lower, upper |
Check if age is valid (within tolerance) | def validate_age(name: str, tolerance: float, from_timestamp: float, to_timestamp: float) -> None:
"""Check if age is valid (within tolerance)"""
age = to_timestamp - from_timestamp
assert age <= tolerance, f'{name} is too old! (Age: {age} > Tolerance: {tolerance})' |
Setter method for ruleaction, mapped from YANG variable /rbridge_id/maps/policy/ruleaction (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ruleaction is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._se... | def _set_ruleaction(self, v, load=False):
"""
Setter method for ruleaction, mapped from YANG variable /rbridge_id/maps/policy/ruleaction (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ruleaction is considered as a private
method. Backends looking to populate ... |
Checks if the english date is in valid range for conversion | def check_valid_ad_range(date):
"""
Checks if the english date is in valid range for conversion
"""
if date < values.START_EN_DATE or date > values.END_EN_DATE:
raise ValueError("Date out of range")
return True |
Checks if the nepali date is in valid range for conversion | def check_valid_bs_range(date):
"""
Checks if the nepali date is in valid range for conversion
"""
ERR_MSG = "%s out of range" % str(date)
if date.year < values.START_NP_YEAR or date.year > values.END_NP_YEAR:
raise ValueError(ERR_MSG)
if date.month < 1 or date.month > 12:
raise... |
Convert a number to nepali | def nepali_number(number):
"""
Convert a number to nepali
"""
nepnum = ""
for n in str(number):
nepnum += values.NEPDIGITS[int(n)]
return nepnum |
Setter method for connector, mapped from YANG variable /hardware/connector (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_connector is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_connector() dir... | def _set_connector(self, v, load=False):
"""
Setter method for connector, mapped from YANG variable /hardware/connector (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_connector is considered as a private
method. Backends looking to populate this variable shou... |
Setter method for port_group, mapped from YANG variable /hardware/port_group (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_port_group is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_port_group()... | def _set_port_group(self, v, load=False):
"""
Setter method for port_group, mapped from YANG variable /hardware/port_group (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_port_group is considered as a private
method. Backends looking to populate this variable ... |
Setter method for system_mode, mapped from YANG variable /hardware/system_mode (system-mode-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_system_mode is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._s... | def _set_system_mode(self, v, load=False):
"""
Setter method for system_mode, mapped from YANG variable /hardware/system_mode (system-mode-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_system_mode is considered as a private
method. Backends looking to populat... |
Setter method for detail, mapped from YANG variable /openflow_state/detail (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_detail is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_detail() dire... | def _set_detail(self, v, load=False):
"""
Setter method for detail, mapped from YANG variable /openflow_state/detail (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_detail is considered as a private
method. Backends looking to populate this variable shoul... |
Setter method for flow, mapped from YANG variable /openflow_state/flow (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_flow is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_flow() directly.
... | def _set_flow(self, v, load=False):
"""
Setter method for flow, mapped from YANG variable /openflow_state/flow (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_flow is considered as a private
method. Backends looking to populate this variable should
do... |
Setter method for group, mapped from YANG variable /openflow_state/group (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_group is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_group() directly... | def _set_group(self, v, load=False):
"""
Setter method for group, mapped from YANG variable /openflow_state/group (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_group is considered as a private
method. Backends looking to populate this variable should
... |
Setter method for meter, mapped from YANG variable /openflow_state/meter (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_meter is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_meter() directly... | def _set_meter(self, v, load=False):
"""
Setter method for meter, mapped from YANG variable /openflow_state/meter (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_meter is considered as a private
method. Backends looking to populate this variable should
... |
Setter method for resources, mapped from YANG variable /openflow_state/resources (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_resources is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_reso... | def _set_resources(self, v, load=False):
"""
Setter method for resources, mapped from YANG variable /openflow_state/resources (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_resources is considered as a private
method. Backends looking to populate this va... |
Setter method for flow_id, mapped from YANG variable /openflow_state/flow_id (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_flow_id is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_flow_id() ... | def _set_flow_id(self, v, load=False):
"""
Setter method for flow_id, mapped from YANG variable /openflow_state/flow_id (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_flow_id is considered as a private
method. Backends looking to populate this variable s... |
Setter method for group_id, mapped from YANG variable /openflow_state/group_id (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_group_id is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_group_i... | def _set_group_id(self, v, load=False):
"""
Setter method for group_id, mapped from YANG variable /openflow_state/group_id (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_group_id is considered as a private
method. Backends looking to populate this variab... |
Setter method for meter_id, mapped from YANG variable /openflow_state/meter_id (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_meter_id is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_meter_i... | def _set_meter_id(self, v, load=False):
"""
Setter method for meter_id, mapped from YANG variable /openflow_state/meter_id (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_meter_id is considered as a private
method. Backends looking to populate this variab... |
Setter method for queues_interface, mapped from YANG variable /openflow_state/queues_interface (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_queues_interface is considered as a private
method. Backends looking to populate this variable should
do so via call... | def _set_queues_interface(self, v, load=False):
"""
Setter method for queues_interface, mapped from YANG variable /openflow_state/queues_interface (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_queues_interface is considered as a private
method. Backends... |
Returns *data* encoded as GeoJSON. | def render(self, data, accepted_media_type=None, renderer_context=None):
"""Returns *data* encoded as GeoJSON."""
data = collections.as_feature(data)
try:
return data.geojson
except AttributeError:
return super(GeoJSONRenderer, self).render(
data, ... |
Returns a fields dict for this serializer with a 'geometry' field
added. | def get_fields(self):
"""Returns a fields dict for this serializer with a 'geometry' field
added.
"""
fields = super(GeoModelSerializer, self).get_fields()
# Set the geometry field name when it's undeclared.
if not self.Meta.geom_field:
for name, field in fiel... |
Setter method for addpath_select, mapped from YANG variable /routing_system/router/router_bgp/address_family/ipv6/ipv6_unicast/af_ipv6_vrf/af_additional_paths/addpath_select (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_addpath_select is considered as a private
... | def _set_addpath_select(self, v, load=False):
"""
Setter method for addpath_select, mapped from YANG variable /routing_system/router/router_bgp/address_family/ipv6/ipv6_unicast/af_ipv6_vrf/af_additional_paths/addpath_select (container)
If this variable is read-only (config: false) in the
source YANG fil... |
Setter method for destination, mapped from YANG variable /openflow_global/openflow/mirror/destination (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_destination is considered as a private
method. Backends looking to populate this variable should
do so via ca... | def _set_destination(self, v, load=False):
"""
Setter method for destination, mapped from YANG variable /openflow_global/openflow/mirror/destination (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_destination is considered as a private
method. Backends lo... |
Setter method for mac_learn_disable, mapped from YANG variable /interface/port_channel/mac_learning/mac_learn_disable (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mac_learn_disable is considered as a private
method. Backends looking to populate this variable s... | def _set_mac_learn_disable(self, v, load=False):
"""
Setter method for mac_learn_disable, mapped from YANG variable /interface/port_channel/mac_learning/mac_learn_disable (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mac_learn_disable is considered as a pri... |
A wrapper for the the entire MuSE sub-graph.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of universal options used by almost all tools
:param dict muse_options: Options specific to MuSE
:r... | def run_muse_with_merge(job, tumor_bam, normal_bam, univ_options, muse_options):
"""
A wrapper for the the entire MuSE sub-graph.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of universal o... |
Spawn a MuSE job for each chromosome on the DNA bams.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of universal options used by almost all tools
:param dict muse_options: Options specific to Mu... | def run_muse(job, tumor_bam, normal_bam, univ_options, muse_options):
"""
Spawn a MuSE job for each chromosome on the DNA bams.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of universal opt... |
Run MuSE call on a single chromosome in the input bams.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of universal options used by almost all tools
:param dict muse_options: Options specific to ... | def run_muse_perchrom(job, tumor_bam, normal_bam, univ_options, muse_options, chrom):
"""
Run MuSE call on a single chromosome in the input bams.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dic... |
Run MuSE sump on the MuSE call generated vcf.
:param toil.fileStore.FileID muse_output: vcf generated by MuSE call
:param dict univ_options: Dict of universal options used by almost all tools
:param dict muse_options: Options specific to MuSE
:param str chrom: Chromosome to process
:return: fsID fo... | def run_muse_sump_perchrom(job, muse_output, univ_options, muse_options, chrom):
"""
Run MuSE sump on the MuSE call generated vcf.
:param toil.fileStore.FileID muse_output: vcf generated by MuSE call
:param dict univ_options: Dict of universal options used by almost all tools
:param dict muse_optio... |
Setter method for autoupgrade, mapped from YANG variable /firmware/autoupgrade (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_autoupgrade is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_auto... | def _set_autoupgrade(self, v, load=False):
"""
Setter method for autoupgrade, mapped from YANG variable /firmware/autoupgrade (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_autoupgrade is considered as a private
method. Backends looking to populate this ... |
Setter method for autoupgrade_params, mapped from YANG variable /firmware/autoupgrade_params (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_autoupgrade_params is considered as a private
method. Backends looking to populate this variable should
do so via call... | def _set_autoupgrade_params(self, v, load=False):
"""
Setter method for autoupgrade_params, mapped from YANG variable /firmware/autoupgrade_params (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_autoupgrade_params is considered as a private
method. Backen... |
Setter method for route_target, mapped from YANG variable /rbridge_id/vrf/address_family/ipv6/unicast/route_target (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_route_target is considered as a private
method. Backends looking to populate this variable should
do ... | def _set_route_target(self, v, load=False):
"""
Setter method for route_target, mapped from YANG variable /rbridge_id/vrf/address_family/ipv6/unicast/route_target (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_route_target is considered as a private
method. B... |
Setter method for no_advertise, mapped from YANG variable /interface/fortygigabitethernet/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix/lifetime/no_advertise (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_no_advertise is considered as a private
method. Backends looking t... | def _set_no_advertise(self, v, load=False):
"""
Setter method for no_advertise, mapped from YANG variable /interface/fortygigabitethernet/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix/lifetime/no_advertise (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_no_advertise i... |
Setter method for valid_lifetime, mapped from YANG variable /interface/fortygigabitethernet/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix/lifetime/valid_lifetime (common-def:time-interval-sec)
If this variable is read-only (config: false) in the
source YANG file, then _set_valid_lifetime is considered as a private
... | def _set_valid_lifetime(self, v, load=False):
"""
Setter method for valid_lifetime, mapped from YANG variable /interface/fortygigabitethernet/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix/lifetime/valid_lifetime (common-def:time-interval-sec)
If this variable is read-only (config: false) in the
source YANG f... |
Setter method for valid_infinite, mapped from YANG variable /interface/fortygigabitethernet/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix/lifetime/valid_infinite (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_valid_infinite is considered as a private
method. Backends loo... | def _set_valid_infinite(self, v, load=False):
"""
Setter method for valid_infinite, mapped from YANG variable /interface/fortygigabitethernet/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix/lifetime/valid_infinite (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_valid_in... |
Setter method for fcoe_get_interface, mapped from YANG variable /brocade_fcoe_ext_rpc/fcoe_get_interface (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_get_interface is considered as a private
method. Backends looking to populate this variable should
do so vi... | def _set_fcoe_get_interface(self, v, load=False):
"""
Setter method for fcoe_get_interface, mapped from YANG variable /brocade_fcoe_ext_rpc/fcoe_get_interface (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_get_interface is considered as a private
method. ... |
Setter method for virtual_ip, mapped from YANG variable /interface/port_channel/ipv6/hide_vrrpv3_holder/vrrpv3/virtual_ip (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_virtual_ip is considered as a private
method. Backends looking to populate this variable should
... | def _set_virtual_ip(self, v, load=False):
"""
Setter method for virtual_ip, mapped from YANG variable /interface/port_channel/ipv6/hide_vrrpv3_holder/vrrpv3/virtual_ip (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_virtual_ip is considered as a private
method... |
Setter method for counter, mapped from YANG variable /rbridge_id/ag/counter (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_counter is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_counter() d... | def _set_counter(self, v, load=False):
"""
Setter method for counter, mapped from YANG variable /rbridge_id/ag/counter (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_counter is considered as a private
method. Backends looking to populate this variable sh... |
Setter method for nport_menu, mapped from YANG variable /rbridge_id/ag/nport_menu (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_nport_menu is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_np... | def _set_nport_menu(self, v, load=False):
"""
Setter method for nport_menu, mapped from YANG variable /rbridge_id/ag/nport_menu (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_nport_menu is considered as a private
method. Backends looking to populate this... |
Setter method for pg, mapped from YANG variable /rbridge_id/ag/pg (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_pg is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_pg() directly. | def _set_pg(self, v, load=False):
"""
Setter method for pg, mapped from YANG variable /rbridge_id/ag/pg (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_pg is considered as a private
method. Backends looking to populate this variable should
do so via callin... |
Setter method for switch_state, mapped from YANG variable /brocade_system_monitor_ext_rpc/show_system_monitor/output/switch_status/switch_state (system-monitor-health-state-enum)
If this variable is read-only (config: false) in the
source YANG file, then _set_switch_state is considered as a private
method. ... | def _set_switch_state(self, v, load=False):
"""
Setter method for switch_state, mapped from YANG variable /brocade_system_monitor_ext_rpc/show_system_monitor/output/switch_status/switch_state (system-monitor-health-state-enum)
If this variable is read-only (config: false) in the
source YANG file, then _... |
Returns an ndarray of linear breaks. | def linear(self, limits=None, k=5):
"""Returns an ndarray of linear breaks."""
start, stop = limits or (self.minval, self.maxval)
return np.linspace(start, stop, k) |
Returns an ndarray of quantile breaks. | def quantiles(self, k=5):
"""Returns an ndarray of quantile breaks."""
arr = self.array()
q = list(np.linspace(0, 100, k))
return np.percentile(arr.compressed(), q) |
Setter method for standard, mapped from YANG variable /ipv6_acl/ipv6/access_list/standard (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_standard is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_s... | def _set_standard(self, v, load=False):
"""
Setter method for standard, mapped from YANG variable /ipv6_acl/ipv6/access_list/standard (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_standard is considered as a private
method. Backends looking to populate this ... |
Setter method for ssm_map, mapped from YANG variable /igmp_snooping/ip/igmp/ssm_map (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ssm_map is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_ssm... | def _set_ssm_map(self, v, load=False):
"""
Setter method for ssm_map, mapped from YANG variable /igmp_snooping/ip/igmp/ssm_map (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ssm_map is considered as a private
method. Backends looking to populate this var... |
Setter method for nport, mapped from YANG variable /rbridge_id/ag/nport_menu/nport_interface/nport (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_nport is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj.... | def _set_nport(self, v, load=False):
"""
Setter method for nport, mapped from YANG variable /rbridge_id/ag/nport_menu/nport_interface/nport (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_nport is considered as a private
method. Backends looking to populate th... |
Setter method for hello_padding_point_to_point, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/router_isis_attributes/hello/padding/hello_padding_point_to_point (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_hello_padding_point_to_poin... | def _set_hello_padding_point_to_point(self, v, load=False):
"""
Setter method for hello_padding_point_to_point, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/router_isis_attributes/hello/padding/hello_padding_point_to_point (container)
If this variable is read-only (config: f... |
Setter method for customized, mapped from YANG variable /rbridge_id/hardware_profile/kap/customized (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_customized is considered as a private
method. Backends looking to populate this variable should
do so via calli... | def _set_customized(self, v, load=False):
"""
Setter method for customized, mapped from YANG variable /rbridge_id/hardware_profile/kap/customized (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_customized is considered as a private
method. Backends lookin... |
Setter method for receive, mapped from YANG variable /routing_system/ipv6/receive (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_receive is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_recei... | def _set_receive(self, v, load=False):
"""
Setter method for receive, mapped from YANG variable /routing_system/ipv6/receive (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_receive is considered as a private
method. Backends looking to populate this varia... |
Setter method for show_cluster_management, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_cluster_management is considered as a private
method. Backends looking to populate this variable shoul... | def _set_show_cluster_management(self, v, load=False):
"""
Setter method for show_cluster_management, mapped from YANG variable /brocade_cluster_rpc/show_cluster_management (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_cluster_management is considered as a p... |
Setter method for enable, mapped from YANG variable /beacon/enable (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_enable is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_enable() directly. | def _set_enable(self, v, load=False):
"""
Setter method for enable, mapped from YANG variable /beacon/enable (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_enable is considered as a private
method. Backends looking to populate this variable should
do... |
Setter method for TC1, mapped from YANG variable /policy_map/class/scheduler/strict_priority/TC1 (shaping-rate-limit)
If this variable is read-only (config: false) in the
source YANG file, then _set_TC1 is considered as a private
method. Backends looking to populate this variable should
do so via callin... | def _set_TC1(self, v, load=False):
"""
Setter method for TC1, mapped from YANG variable /policy_map/class/scheduler/strict_priority/TC1 (shaping-rate-limit)
If this variable is read-only (config: false) in the
source YANG file, then _set_TC1 is considered as a private
method. Backends looking to pop... |
Normalize data to a list of floats. | def to_python(self, value):
"""Normalize data to a list of floats."""
if not value:
return []
return map(super(CommaSepFloatField, self).to_python, value.split(',')) |
Run validators for each item separately. | def run_validators(self, values):
"""Run validators for each item separately."""
for val in values:
super(CommaSepFloatField, self).run_validators(val) |
Returns a GEOS Polygon from bounding box values. | def to_python(self, value):
"""Returns a GEOS Polygon from bounding box values."""
value = super(BoundingBoxField, self).to_python(value)
try:
bbox = gdal.OGRGeometry.from_bbox(value).geos
except (ValueError, AttributeError):
return []
bbox.srid = self.sri... |
Setter method for traffic_class_mutation_mappings, mapped from YANG variable /qos/map/traffic_class_mutation/traffic_class_mutation_mappings (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_traffic_class_mutation_mappings is considered as a private
method. Backends loo... | def _set_traffic_class_mutation_mappings(self, v, load=False):
"""
Setter method for traffic_class_mutation_mappings, mapped from YANG variable /qos/map/traffic_class_mutation/traffic_class_mutation_mappings (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_traffic_... |
A wrapper for the the entire MuTect sub-graph.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of universal options used by almost all tools
:param dict mutect_options: Options specific to MuTect
... | def run_mutect_with_merge(job, tumor_bam, normal_bam, univ_options, mutect_options):
"""
A wrapper for the the entire MuTect sub-graph.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of unive... |
Spawn a MuTect job for each chromosome on the DNA bams.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of universal options used by almost all tools
:param dict mutect_options: Options specific t... | def run_mutect(job, tumor_bam, normal_bam, univ_options, mutect_options):
"""
Spawn a MuTect job for each chromosome on the DNA bams.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of univers... |
Run MuTect call on a single chromosome in the input bams.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of universal options used by almost all tools
:param dict mutect_options: Options specific... | def run_mutect_perchrom(job, tumor_bam, normal_bam, univ_options, mutect_options, chrom):
"""
Run MuTect call on a single chromosome in the input bams.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_option... |
Process the MuTect vcf for accepted calls.
:param toil.fileStore.FileID mutect_vcf: fsID for a MuTect generated chromosome vcf
:param str work_dir: Working directory
:param dict univ_options: Dict of universal options used by almost all tools
:return: Path to the processed vcf
:rtype: str | def process_mutect_vcf(job, mutect_vcf, work_dir, univ_options):
"""
Process the MuTect vcf for accepted calls.
:param toil.fileStore.FileID mutect_vcf: fsID for a MuTect generated chromosome vcf
:param str work_dir: Working directory
:param dict univ_options: Dict of universal options used by almo... |
Setter method for vcs, mapped from YANG variable /event_handler/event_handler_list/trigger/vcs (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_vcs is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj... | def _set_vcs(self, v, load=False):
"""
Setter method for vcs, mapped from YANG variable /event_handler/event_handler_list/trigger/vcs (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_vcs is considered as a private
method. Backends looking to populate thi... |
Setter method for interface_nodespecific, mapped from YANG variable /rbridge_id/interface_nodespecific (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_nodespecific is considered as a private
method. Backends looking to populate this variable should
... | def _set_interface_nodespecific(self, v, load=False):
"""
Setter method for interface_nodespecific, mapped from YANG variable /rbridge_id/interface_nodespecific (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_nodespecific is considered as a private
... |
Setter method for ag, mapped from YANG variable /rbridge_id/ag (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ag is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_ag() directly. | def _set_ag(self, v, load=False):
"""
Setter method for ag, mapped from YANG variable /rbridge_id/ag (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ag is considered as a private
method. Backends looking to populate this variable should
do so via call... |
Setter method for default_config, mapped from YANG variable /rbridge_id/default_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_default_config is considered as a private
method. Backends looking to populate this variable should
do so via calling thisOb... | def _set_default_config(self, v, load=False):
"""
Setter method for default_config, mapped from YANG variable /rbridge_id/default_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_default_config is considered as a private
method. Backends looking to ... |
Setter method for fcoe_config, mapped from YANG variable /rbridge_id/fcoe_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_config is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_fc... | def _set_fcoe_config(self, v, load=False):
"""
Setter method for fcoe_config, mapped from YANG variable /rbridge_id/fcoe_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_config is considered as a private
method. Backends looking to populate thi... |
Setter method for logical_chassis, mapped from YANG variable /rbridge_id/logical_chassis (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_logical_chassis is considered as a private
method. Backends looking to populate this variable should
do so via calling thi... | def _set_logical_chassis(self, v, load=False):
"""
Setter method for logical_chassis, mapped from YANG variable /rbridge_id/logical_chassis (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_logical_chassis is considered as a private
method. Backends looking... |
Setter method for system_monitor, mapped from YANG variable /rbridge_id/system_monitor (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_system_monitor is considered as a private
method. Backends looking to populate this variable should
do so via calling thisOb... | def _set_system_monitor(self, v, load=False):
"""
Setter method for system_monitor, mapped from YANG variable /rbridge_id/system_monitor (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_system_monitor is considered as a private
method. Backends looking to ... |
Setter method for threshold_monitor, mapped from YANG variable /rbridge_id/threshold_monitor (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_threshold_monitor is considered as a private
method. Backends looking to populate this variable should
do so via calli... | def _set_threshold_monitor(self, v, load=False):
"""
Setter method for threshold_monitor, mapped from YANG variable /rbridge_id/threshold_monitor (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_threshold_monitor is considered as a private
method. Backends... |
Setter method for protected_port, mapped from YANG variable /interface/hundredgigabitethernet/protected_port (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_protected_port is considered as a private
method. Backends looking to populate this variable should
do... | def _set_protected_port(self, v, load=False):
"""
Setter method for protected_port, mapped from YANG variable /interface/hundredgigabitethernet/protected_port (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_protected_port is considered as a private
method... |
Setter method for openflow_interface_cfg, mapped from YANG variable /interface/hundredgigabitethernet/openflow_interface_cfg (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_openflow_interface_cfg is considered as a private
method. Backends looking to populate thi... | def _set_openflow_interface_cfg(self, v, load=False):
"""
Setter method for openflow_interface_cfg, mapped from YANG variable /interface/hundredgigabitethernet/openflow_interface_cfg (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_openflow_interface_cfg is co... |
Setter method for storm_control, mapped from YANG variable /interface/hundredgigabitethernet/storm_control (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_storm_control is considered as a private
method. Backends looking to populate this variable should
do so... | def _set_storm_control(self, v, load=False):
"""
Setter method for storm_control, mapped from YANG variable /interface/hundredgigabitethernet/storm_control (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_storm_control is considered as a private
method. Ba... |
Setter method for rmon, mapped from YANG variable /interface/hundredgigabitethernet/rmon (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_rmon is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_r... | def _set_rmon(self, v, load=False):
"""
Setter method for rmon, mapped from YANG variable /interface/hundredgigabitethernet/rmon (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_rmon is considered as a private
method. Backends looking to populate this vari... |
Setter method for udld, mapped from YANG variable /interface/hundredgigabitethernet/udld (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_udld is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_u... | def _set_udld(self, v, load=False):
"""
Setter method for udld, mapped from YANG variable /interface/hundredgigabitethernet/udld (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_udld is considered as a private
method. Backends looking to populate this vari... |
Setter method for bpdu_drop, mapped from YANG variable /interface/hundredgigabitethernet/bpdu_drop (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bpdu_drop is considered as a private
method. Backends looking to populate this variable should
do so via calling... | def _set_bpdu_drop(self, v, load=False):
"""
Setter method for bpdu_drop, mapped from YANG variable /interface/hundredgigabitethernet/bpdu_drop (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bpdu_drop is considered as a private
method. Backends looking t... |
Setter method for mac_refresh_time_config, mapped from YANG variable /protocol/edge_loop_detection/mac_refresh_time_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mac_refresh_time_config is considered as a private
method. Backends looking to populate this... | def _set_mac_refresh_time_config(self, v, load=False):
"""
Setter method for mac_refresh_time_config, mapped from YANG variable /protocol/edge_loop_detection/mac_refresh_time_config (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mac_refresh_time_config is co... |
Setter method for ip_local_anycast_gateway, mapped from YANG variable /rbridge_id/interface/ve/ip/ip_local_anycast_gateway (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ip_local_anycast_gateway is considered as a private
method. Backends looking to populate this var... | def _set_ip_local_anycast_gateway(self, v, load=False):
"""
Setter method for ip_local_anycast_gateway, mapped from YANG variable /rbridge_id/interface/ve/ip/ip_local_anycast_gateway (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ip_local_anycast_gateway is consi... |
Setter method for icmp, mapped from YANG variable /rbridge_id/interface/ve/ip/icmp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_icmp is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_icmp() ... | def _set_icmp(self, v, load=False):
"""
Setter method for icmp, mapped from YANG variable /rbridge_id/interface/ve/ip/icmp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_icmp is considered as a private
method. Backends looking to populate this variable s... |
Setter method for load_balance, mapped from YANG variable /load_balance_lag/load_balance (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_load_balance is considered as a private
method. Backends looking to populate this variable should
do so via calling thisOb... | def _set_load_balance(self, v, load=False):
"""
Setter method for load_balance, mapped from YANG variable /load_balance_lag/load_balance (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_load_balance is considered as a private
method. Backends looking to po... |
Setter method for dst_vtep_ip, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/dst_vtep_ip (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_vtep_ip is considered as a private
method. Backends looking to populate this variable sho... | def _set_dst_vtep_ip(self, v, load=False):
"""
Setter method for dst_vtep_ip, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/dst_vtep_ip (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_vtep_ip is considered as a private
... |
Setter method for dst_vtep_ip_any, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/dst_vtep_ip_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_vtep_ip_any is considered as a private
method. Backends looking to populate this variable sho... | def _set_dst_vtep_ip_any(self, v, load=False):
"""
Setter method for dst_vtep_ip_any, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/dst_vtep_ip_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_dst_vtep_ip_any is considered as a private... |
Setter method for src_vtep_ip, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/src_vtep_ip (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_vtep_ip is considered as a private
method. Backends looking to populate this variable sho... | def _set_src_vtep_ip(self, v, load=False):
"""
Setter method for src_vtep_ip, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/src_vtep_ip (inet:ipv4-address)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_vtep_ip is considered as a private
... |
Setter method for src_vtep_ip_any, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/src_vtep_ip_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_vtep_ip_any is considered as a private
method. Backends looking to populate this variable sho... | def _set_src_vtep_ip_any(self, v, load=False):
"""
Setter method for src_vtep_ip_any, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/src_vtep_ip_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_src_vtep_ip_any is considered as a private... |
Setter method for vni_any, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/vni_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_vni_any is considered as a private
method. Backends looking to populate this variable should
do so via callin... | def _set_vni_any(self, v, load=False):
"""
Setter method for vni_any, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/vni_any (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_vni_any is considered as a private
method. Backends looking to... |
Setter method for vni_mask, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/vni_mask (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_vni_mask is considered as a private
method. Backends looking to populate this variable should
do so via ca... | def _set_vni_mask(self, v, load=False):
"""
Setter method for vni_mask, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/vni_mask (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_vni_mask is considered as a private
method. Backends looki... |
Setter method for redirect, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/redirect (interface:interface-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_redirect is considered as a private
method. Backends looking to populate this variable shoul... | def _set_redirect(self, v, load=False):
"""
Setter method for redirect, mapped from YANG variable /overlay/access_list/type/vxlan/standard/seq/redirect (interface:interface-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_redirect is considered as a private
meth... |
Setter method for mpls_traffic_fecs, mapped from YANG variable /telemetry/profile/mpls_traffic_fec/mpls_traffic_fecs (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_mpls_traffic_fecs is considered as a private
method. Backends looking to populate this variable should
... | def _set_mpls_traffic_fecs(self, v, load=False):
"""
Setter method for mpls_traffic_fecs, mapped from YANG variable /telemetry/profile/mpls_traffic_fec/mpls_traffic_fecs (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_mpls_traffic_fecs is considered as a private
... |
Setter method for add_, mapped from YANG variable /telemetry/profile/mpls_traffic_fec/add (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_add_ is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_add_(... | def _set_add_(self, v, load=False):
"""
Setter method for add_, mapped from YANG variable /telemetry/profile/mpls_traffic_fec/add (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_add_ is considered as a private
method. Backends looking to populate this variable... |
Setter method for cmap_seq, mapped from YANG variable /overlay_class_map/cmap_seq (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_cmap_seq is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_cmap_seq(... | def _set_cmap_seq(self, v, load=False):
"""
Setter method for cmap_seq, mapped from YANG variable /overlay_class_map/cmap_seq (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_cmap_seq is considered as a private
method. Backends looking to populate this variable... |
Setter method for isis_spf_log_reason, mapped from YANG variable /spf_log_state/spf_log_levels/spf_log_events/isis_spf_log_reason (isis-spf-log-reason-code)
If this variable is read-only (config: false) in the
source YANG file, then _set_isis_spf_log_reason is considered as a private
method. Backends lookin... | def _set_isis_spf_log_reason(self, v, load=False):
"""
Setter method for isis_spf_log_reason, mapped from YANG variable /spf_log_state/spf_log_levels/spf_log_events/isis_spf_log_reason (isis-spf-log-reason-code)
If this variable is read-only (config: false) in the
source YANG file, then _set_isis_spf_lo... |
Setter method for type, mapped from YANG variable /rbridge_id/threshold_monitor/interface/policy/area/type (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_type is considered as a private
method. Backends looking to populate this variable should
do so via ca... | def _set_type(self, v, load=False):
"""
Setter method for type, mapped from YANG variable /rbridge_id/threshold_monitor/interface/policy/area/type (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_type is considered as a private
method. Backends looking t... |
Setter method for area_value, mapped from YANG variable /rbridge_id/threshold_monitor/interface/policy/area/area_value (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_area_value is considered as a private
method. Backends looking to populate this variable shoul... | def _set_area_value(self, v, load=False):
"""
Setter method for area_value, mapped from YANG variable /rbridge_id/threshold_monitor/interface/policy/area/area_value (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_area_value is considered as a private
me... |
Setter method for alert, mapped from YANG variable /rbridge_id/threshold_monitor/interface/policy/area/alert (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_alert is considered as a private
method. Backends looking to populate this variable should
do so via c... | def _set_alert(self, v, load=False):
"""
Setter method for alert, mapped from YANG variable /rbridge_id/threshold_monitor/interface/policy/area/alert (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_alert is considered as a private
method. Backends looking... |
Setter method for get_arp, mapped from YANG variable /brocade_arp_rpc/get_arp (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_get_arp is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_get_arp() direc... | def _set_get_arp(self, v, load=False):
"""
Setter method for get_arp, mapped from YANG variable /brocade_arp_rpc/get_arp (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_get_arp is considered as a private
method. Backends looking to populate this variable should... |
Setter method for interface_type, mapped from YANG variable /brocade_interface_ext_rpc/get_interface_detail/input/interface_type (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_type is considered as a private
method. Backends looking to populate this ... | def _set_interface_type(self, v, load=False):
"""
Setter method for interface_type, mapped from YANG variable /brocade_interface_ext_rpc/get_interface_detail/input/interface_type (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_type is considered a... |
Setter method for last_rcvd_interface, mapped from YANG variable /brocade_interface_ext_rpc/get_interface_detail/input/last_rcvd_interface (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_last_rcvd_interface is considered as a private
method. Backends looking to p... | def _set_last_rcvd_interface(self, v, load=False):
"""
Setter method for last_rcvd_interface, mapped from YANG variable /brocade_interface_ext_rpc/get_interface_detail/input/last_rcvd_interface (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_last_rcvd_interfa... |
Returns universe the client is connected to. See ``Universe``.
:param bool as_str: Return human-friendly universe name instead of an ID.
:rtype: int|str | def get_universe(self, as_str=False):
"""Returns universe the client is connected to. See ``Universe``.
:param bool as_str: Return human-friendly universe name instead of an ID.
:rtype: int|str
"""
result = self._iface.get_connected_universe()
if as_str:
ret... |
Setter method for cfm, mapped from YANG variable /protocol/cfm (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_cfm is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_cfm() directly. | def _set_cfm(self, v, load=False):
"""
Setter method for cfm, mapped from YANG variable /protocol/cfm (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_cfm is considered as a private
method. Backends looking to populate this variable should
do so via ca... |
Setter method for spanning_tree, mapped from YANG variable /protocol/spanning_tree (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_spanning_tree is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._se... | def _set_spanning_tree(self, v, load=False):
"""
Setter method for spanning_tree, mapped from YANG variable /protocol/spanning_tree (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_spanning_tree is considered as a private
method. Backends looking to popula... |
Setter method for tlv_type, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/cfm_mep_sub_commands/tlv_type (ccm-tlv-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_tlv_type is considered as a private
method. Backends looking to popula... | def _set_tlv_type(self, v, load=False):
"""
Setter method for tlv_type, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/cfm_mep_sub_commands/tlv_type (ccm-tlv-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_tlv_type is considered... |
Setter method for remote_mep, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/cfm_mep_sub_commands/remote_mep (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_remote_mep is considered as a private
method. Backends looking to populate... | def _set_remote_mep(self, v, load=False):
"""
Setter method for remote_mep, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/cfm_mep_sub_commands/remote_mep (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_remote_mep is considered... |
Setter method for snooping, mapped from YANG variable /interface_vlan/interface/vlan/ipv6/mldVlan/snooping (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_snooping is considered as a private
method. Backends looking to populate this variable should
do so via ... | def _set_snooping(self, v, load=False):
"""
Setter method for snooping, mapped from YANG variable /interface_vlan/interface/vlan/ipv6/mldVlan/snooping (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_snooping is considered as a private
method. Backends loo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.