INSTRUCTION stringlengths 1 46.3k | RESPONSE stringlengths 75 80.2k |
|---|---|
Setter method for sflow, mapped from YANG variable /overlay_gateway/sflow (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_sflow is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_sflow() directly. | def _set_sflow(self, v, load=False):
"""
Setter method for sflow, mapped from YANG variable /overlay_gateway/sflow (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_sflow is considered as a private
method. Backends looking to populate this variable should
do... |
Setter method for mldPIM, mapped from YANG variable /interface_vlan/vlan/ipv6/mldPIM (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mldPIM is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_mld... | def _set_mldPIM(self, v, load=False):
"""
Setter method for mldPIM, mapped from YANG variable /interface_vlan/vlan/ipv6/mldPIM (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mldPIM is considered as a private
method. Backends looking to populate this vari... |
Setter method for ldp_sync, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/address_family/ipv4/af_ipv4_unicast/af_ipv4_attributes/ldp_sync (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ldp_sync is considered as a private
method. B... | def _set_ldp_sync(self, v, load=False):
"""
Setter method for ldp_sync, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/address_family/ipv4/af_ipv4_unicast/af_ipv4_attributes/ldp_sync (container)
If this variable is read-only (config: false) in the
source YANG file, then _s... |
Setter method for speed, mapped from YANG variable /brocade_interface_ext_rpc/get_media_detail/output/interface/on_board/speed (line-speed)
If this variable is read-only (config: false) in the
source YANG file, then _set_speed is considered as a private
method. Backends looking to populate this variable sho... | def _set_speed(self, v, load=False):
"""
Setter method for speed, mapped from YANG variable /brocade_interface_ext_rpc/get_media_detail/output/interface/on_board/speed (line-speed)
If this variable is read-only (config: false) in the
source YANG file, then _set_speed is considered as a private
metho... |
Parse argument and start main program. | def main(argv=sys.argv[1:]):
"""Parse argument and start main program."""
args = docopt(__doc__, argv=argv,
version=pkg_resources.require('buienradar')[0].version)
level = logging.ERROR
if args['-v']:
level = logging.INFO
if args['-v'] == 2:
level = logging.DEBUG
... |
Setter method for mrouter, mapped from YANG variable /interface_vlan/interface/vlan/ipv6/mldVlan/snooping/mrouter (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mrouter is considered as a private
method. Backends looking to populate this variable should
do s... | def _set_mrouter(self, v, load=False):
"""
Setter method for mrouter, mapped from YANG variable /interface_vlan/interface/vlan/ipv6/mldVlan/snooping/mrouter (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mrouter is considered as a private
method. Backend... |
Setter method for group_prio, mapped from YANG variable /qos/cpu/slot/port_group/group/group_config_shaper_wfq/group_prio (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_group_prio is considered as a private
method. Backends looking to populate this variable should
... | def _set_group_prio(self, v, load=False):
"""
Setter method for group_prio, mapped from YANG variable /qos/cpu/slot/port_group/group/group_config_shaper_wfq/group_prio (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_group_prio is considered as a private
method... |
Setter method for client_interface, mapped from YANG variable /cluster/client/client_interface (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_client_interface is considered as a private
method. Backends looking to populate this variable should
do so via call... | def _set_client_interface(self, v, load=False):
"""
Setter method for client_interface, mapped from YANG variable /cluster/client/client_interface (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_client_interface is considered as a private
method. Backends... |
Setter method for ldp_fec_prefix_pend_notif, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_fec_vc_id/output/ldp_fec_prefix_pend_notif (ldp-fec-pend-notify)
If this variable is read-only (config: false) in the
source YANG file, then _set_ldp_fec_prefix_pend_notif is considered as a private
method... | def _set_ldp_fec_prefix_pend_notif(self, v, load=False):
"""
Setter method for ldp_fec_prefix_pend_notif, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_fec_vc_id/output/ldp_fec_prefix_pend_notif (ldp-fec-pend-notify)
If this variable is read-only (config: false) in the
source YANG file, then... |
Setter method for port_control, mapped from YANG variable /interface/fortygigabitethernet/dot1x/port_control (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_port_control is considered as a private
method. Backends looking to populate this variable should
do... | def _set_port_control(self, v, load=False):
"""
Setter method for port_control, mapped from YANG variable /interface/fortygigabitethernet/dot1x/port_control (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_port_control is considered as a private
method. ... |
Setter method for timeout, mapped from YANG variable /interface/fortygigabitethernet/dot1x/timeout (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_timeout is considered as a private
method. Backends looking to populate this variable should
do so via calling t... | def _set_timeout(self, v, load=False):
"""
Setter method for timeout, mapped from YANG variable /interface/fortygigabitethernet/dot1x/timeout (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_timeout is considered as a private
method. Backends looking to po... |
Setter method for group_prio_wfq, mapped from YANG variable /qos/cpu/slot/port_group/group/group_config_shaper_wfq/group_prio/group_prio_config_shaper_wfq/group_prio_wfq (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_group_prio_wfq is considered as a private
met... | def _set_group_prio_wfq(self, v, load=False):
"""
Setter method for group_prio_wfq, mapped from YANG variable /qos/cpu/slot/port_group/group/group_config_shaper_wfq/group_prio/group_prio_config_shaper_wfq/group_prio_wfq (container)
If this variable is read-only (config: false) in the
source YANG file, t... |
Setter method for mep_id, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/mep_id (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_mep_id is considered as a private
method. Backends looking to populate this variable should
do so... | def _set_mep_id(self, v, load=False):
"""
Setter method for mep_id, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/mep_id (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_mep_id is considered as a private
method. Backends ... |
Setter method for mep_down_up, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/mep_down_up (mep-down-up-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_mep_down_up is considered as a private
method. Backends looking to populate this ... | def _set_mep_down_up(self, v, load=False):
"""
Setter method for mep_down_up, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/mep_down_up (mep-down-up-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_mep_down_up is considered as a... |
Setter method for mep_intf_name, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/mep_intf_name (dot1ag-interface-name)
If this variable is read-only (config: false) in the
source YANG file, then _set_mep_intf_name is considered as a private
method. Backends looking to pop... | def _set_mep_intf_name(self, v, load=False):
"""
Setter method for mep_intf_name, mapped from YANG variable /protocol/cfm/domain_name/ma_name/cfm_ma_sub_commands/mep/mep_intf_name (dot1ag-interface-name)
If this variable is read-only (config: false) in the
source YANG file, then _set_mep_intf_name is co... |
Setter method for red_profile, mapped from YANG variable /qos/red_profile (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_red_profile is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_red_profile() ... | def _set_red_profile(self, v, load=False):
"""
Setter method for red_profile, mapped from YANG variable /qos/red_profile (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_red_profile is considered as a private
method. Backends looking to populate this variable s... |
Setter method for queue, mapped from YANG variable /qos/queue (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_queue is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_queue() directly. | def _set_queue(self, v, load=False):
"""
Setter method for queue, mapped from YANG variable /qos/queue (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_queue is considered as a private
method. Backends looking to populate this variable should
do so via... |
Setter method for cspf_group_computation_mode, mapped from YANG variable /mpls_state/policy/cspf_group_computation_mode (mpls-cspf-grp-comp-mode)
If this variable is read-only (config: false) in the
source YANG file, then _set_cspf_group_computation_mode is considered as a private
method. Backends looking t... | def _set_cspf_group_computation_mode(self, v, load=False):
"""
Setter method for cspf_group_computation_mode, mapped from YANG variable /mpls_state/policy/cspf_group_computation_mode (mpls-cspf-grp-comp-mode)
If this variable is read-only (config: false) in the
source YANG file, then _set_cspf_group_com... |
Setter method for te_policy_protocol, mapped from YANG variable /mpls_state/policy/te_policy_protocol (te-protocol)
If this variable is read-only (config: false) in the
source YANG file, then _set_te_policy_protocol is considered as a private
method. Backends looking to populate this variable should
do ... | def _set_te_policy_protocol(self, v, load=False):
"""
Setter method for te_policy_protocol, mapped from YANG variable /mpls_state/policy/te_policy_protocol (te-protocol)
If this variable is read-only (config: false) in the
source YANG file, then _set_te_policy_protocol is considered as a private
met... |
Setter method for igmp_statistics, mapped from YANG variable /igmp_snooping_state/igmp_statistics/igmp_statistics (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_igmp_statistics is considered as a private
method. Backends looking to populate this variable should
d... | def _set_igmp_statistics(self, v, load=False):
"""
Setter method for igmp_statistics, mapped from YANG variable /igmp_snooping_state/igmp_statistics/igmp_statistics (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_igmp_statistics is considered as a private
meth... |
Setter method for fcoe_fabric_map, mapped from YANG variable /fcoe/fcoe_fabric_map (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_fabric_map is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_f... | def _set_fcoe_fabric_map(self, v, load=False):
"""
Setter method for fcoe_fabric_map, mapped from YANG variable /fcoe/fcoe_fabric_map (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_fabric_map is considered as a private
method. Backends looking to populat... |
Setter method for fcoe_map, mapped from YANG variable /fcoe/fcoe_map (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_map is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_fcoe_map() directly.
... | def _set_fcoe_map(self, v, load=False):
"""
Setter method for fcoe_map, mapped from YANG variable /fcoe/fcoe_map (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcoe_map is considered as a private
method. Backends looking to populate this variable should
d... |
Setter method for access_list, mapped from YANG variable /arp/access_list (list)
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_access_list() ... | def _set_access_list(self, v, load=False):
"""
Setter method for access_list, mapped from YANG variable /arp/access_list (list)
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 s... |
Setter method for tieBreaking, mapped from YANG variable /brocade_mpls_rpc/show_mpls_te_path/input/tieBreaking (tie-breaking)
If this variable is read-only (config: false) in the
source YANG file, then _set_tieBreaking is considered as a private
method. Backends looking to populate this variable should
... | def _set_tieBreaking(self, v, load=False):
"""
Setter method for tieBreaking, mapped from YANG variable /brocade_mpls_rpc/show_mpls_te_path/input/tieBreaking (tie-breaking)
If this variable is read-only (config: false) in the
source YANG file, then _set_tieBreaking is considered as a private
method.... |
Setter method for adj_type, mapped from YANG variable /adj_neighbor_entries_state/adj_neighbor/adj_type (isis-adj-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_adj_type is considered as a private
method. Backends looking to populate this variable should
do so via... | def _set_adj_type(self, v, load=False):
"""
Setter method for adj_type, mapped from YANG variable /adj_neighbor_entries_state/adj_neighbor/adj_type (isis-adj-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_adj_type is considered as a private
method. Backends lo... |
Setter method for adj_prot, mapped from YANG variable /adj_neighbor_entries_state/adj_neighbor/adj_prot (isis-adj-prot-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_adj_prot is considered as a private
method. Backends looking to populate this variable should
do s... | def _set_adj_prot(self, v, load=False):
"""
Setter method for adj_prot, mapped from YANG variable /adj_neighbor_entries_state/adj_neighbor/adj_prot (isis-adj-prot-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_adj_prot is considered as a private
method. Backen... |
Setter method for adj_3way_state, mapped from YANG variable /adj_neighbor_entries_state/adj_neighbor/adj_3way_state (isis-dcm-3way-adj-state)
If this variable is read-only (config: false) in the
source YANG file, then _set_adj_3way_state is considered as a private
method. Backends looking to populate this v... | def _set_adj_3way_state(self, v, load=False):
"""
Setter method for adj_3way_state, mapped from YANG variable /adj_neighbor_entries_state/adj_neighbor/adj_3way_state (isis-dcm-3way-adj-state)
If this variable is read-only (config: false) in the
source YANG file, then _set_adj_3way_state is considered as... |
Setter method for adj_use, mapped from YANG variable /adj_neighbor_entries_state/adj_neighbor/adj_use (isis-spf-level)
If this variable is read-only (config: false) in the
source YANG file, then _set_adj_use is considered as a private
method. Backends looking to populate this variable should
do so via c... | def _set_adj_use(self, v, load=False):
"""
Setter method for adj_use, mapped from YANG variable /adj_neighbor_entries_state/adj_neighbor/adj_use (isis-spf-level)
If this variable is read-only (config: false) in the
source YANG file, then _set_adj_use is considered as a private
method. Backends looki... |
Setter method for interface_counters, mapped from YANG variable /interface_statistics_state/interface_counters (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_counters is considered as a private
method. Backends looking to populate this variable should
... | def _set_interface_counters(self, v, load=False):
"""
Setter method for interface_counters, mapped from YANG variable /interface_statistics_state/interface_counters (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_counters is considered as a private
... |
Setter method for dot1q, mapped from YANG variable /vlan/dot1q (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_dot1q is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_dot1q() directly. | def _set_dot1q(self, v, load=False):
"""
Setter method for dot1q, mapped from YANG variable /vlan/dot1q (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_dot1q is considered as a private
method. Backends looking to populate this variable should
do so vi... |
Setter method for ip_anycast_address, mapped from YANG variable /routing_system/interface/ve/ip/ip_anycast_address (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ip_anycast_address is considered as a private
method. Backends looking to populate this variable should
... | def _set_ip_anycast_address(self, v, load=False):
"""
Setter method for ip_anycast_address, mapped from YANG variable /routing_system/interface/ve/ip/ip_anycast_address (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ip_anycast_address is considered as a private
... |
Setter method for ip_vrrp_extended, mapped from YANG variable /routing_system/interface/ve/ip/ip_vrrp_extended (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ip_vrrp_extended is considered as a private
method. Backends looking to populate this variable should
... | def _set_ip_vrrp_extended(self, v, load=False):
"""
Setter method for ip_vrrp_extended, mapped from YANG variable /routing_system/interface/ve/ip/ip_vrrp_extended (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ip_vrrp_extended is considered as a private
... |
Setter method for interface_vlan_ospf_conf, mapped from YANG variable /routing_system/interface/ve/ip/interface_vlan_ospf_conf (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_vlan_ospf_conf is considered as a private
method. Backends looking to populate... | def _set_interface_vlan_ospf_conf(self, v, load=False):
"""
Setter method for interface_vlan_ospf_conf, mapped from YANG variable /routing_system/interface/ve/ip/interface_vlan_ospf_conf (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_vlan_ospf_conf... |
Setter method for ve, mapped from YANG variable /overlay_gateway/ip/interface/ve (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ve is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_ve() direct... | def _set_ve(self, v, load=False):
"""
Setter method for ve, mapped from YANG variable /overlay_gateway/ip/interface/ve (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ve is considered as a private
method. Backends looking to populate this variable should
... |
Setter method for cfm_detail, mapped from YANG variable /cfm_state/cfm_detail (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_cfm_detail is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_cfm_de... | def _set_cfm_detail(self, v, load=False):
"""
Setter method for cfm_detail, mapped from YANG variable /cfm_state/cfm_detail (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_cfm_detail is considered as a private
method. Backends looking to populate this var... |
Setter method for cfm_y1731, mapped from YANG variable /cfm_state/cfm_y1731 (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_cfm_y1731 is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_cfm_y1731... | def _set_cfm_y1731(self, v, load=False):
"""
Setter method for cfm_y1731, mapped from YANG variable /cfm_state/cfm_y1731 (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_cfm_y1731 is considered as a private
method. Backends looking to populate this variabl... |
Setter method for cfm_connectivity, mapped from YANG variable /cfm_state/cfm_connectivity (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_cfm_connectivity is considered as a private
method. Backends looking to populate this variable should
do so via calling t... | def _set_cfm_connectivity(self, v, load=False):
"""
Setter method for cfm_connectivity, mapped from YANG variable /cfm_state/cfm_connectivity (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_cfm_connectivity is considered as a private
method. Backends look... |
Setter method for slm, mapped from YANG variable /cfm_state/slm (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_slm is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_slm() directly.
YANG D... | def _set_slm(self, v, load=False):
"""
Setter method for slm, mapped from YANG variable /cfm_state/slm (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_slm is considered as a private
method. Backends looking to populate this variable should
do so via c... |
Setter method for dmm, mapped from YANG variable /cfm_state/dmm (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_dmm is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_dmm() directly.
YANG D... | def _set_dmm(self, v, load=False):
"""
Setter method for dmm, mapped from YANG variable /cfm_state/dmm (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_dmm is considered as a private
method. Backends looking to populate this variable should
do so via c... |
Setter method for run_mode, mapped from YANG variable /rbridge_id/event_handler/activate/name/run_mode (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_run_mode is considered as a private
method. Backends looking to populate this variable should
do so via ca... | def _set_run_mode(self, v, load=False):
"""
Setter method for run_mode, mapped from YANG variable /rbridge_id/event_handler/activate/name/run_mode (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_run_mode is considered as a private
method. Backends looki... |
Setter method for trigger_mode, mapped from YANG variable /rbridge_id/event_handler/activate/name/trigger_mode (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_trigger_mode is considered as a private
method. Backends looking to populate this variable should
... | def _set_trigger_mode(self, v, load=False):
"""
Setter method for trigger_mode, mapped from YANG variable /rbridge_id/event_handler/activate/name/trigger_mode (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_trigger_mode is considered as a private
method... |
Setter method for action_profile_event_actions, mapped from YANG variable /cfm_state/cfm_y1731/action_profile/action_profile_event_actions (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_action_profile_event_actions is considered as a private
method. Backends loo... | def _set_action_profile_event_actions(self, v, load=False):
"""
Setter method for action_profile_event_actions, mapped from YANG variable /cfm_state/cfm_y1731/action_profile/action_profile_event_actions (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_action_p... |
Setter method for num_samples_collected, mapped from YANG variable /mpls_state/lsp/auto_bandwidth/num_samples_collected (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_num_samples_collected is considered as a private
method. Backends looking to populate this variabl... | def _set_num_samples_collected(self, v, load=False):
"""
Setter method for num_samples_collected, mapped from YANG variable /mpls_state/lsp/auto_bandwidth/num_samples_collected (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_num_samples_collected is considered a... |
Setter method for packet_timestamp, mapped from YANG variable /interface/port_channel/system/packet_timestamp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_packet_timestamp is considered as a private
method. Backends looking to populate this variable should
... | def _set_packet_timestamp(self, v, load=False):
"""
Setter method for packet_timestamp, mapped from YANG variable /interface/port_channel/system/packet_timestamp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_packet_timestamp is considered as a private
m... |
Setter method for hide_mac_acl_ext, mapped from YANG variable /mac/access_list/extended/hide_mac_acl_ext (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_hide_mac_acl_ext is considered as a private
method. Backends looking to populate this variable should
do s... | def _set_hide_mac_acl_ext(self, v, load=False):
"""
Setter method for hide_mac_acl_ext, mapped from YANG variable /mac/access_list/extended/hide_mac_acl_ext (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_hide_mac_acl_ext is considered as a private
method... |
Setter method for msgId, mapped from YANG variable /logging/raslog/message/msgId (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_msgId is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_msgId() direc... | def _set_msgId(self, v, load=False):
"""
Setter method for msgId, mapped from YANG variable /logging/raslog/message/msgId (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_msgId is considered as a private
method. Backends looking to populate this variable should... |
Setter method for instance, mapped from YANG variable /protocol/spanning_tree/mstp/instance (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_instance is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set... | def _set_instance(self, v, load=False):
"""
Setter method for instance, mapped from YANG variable /protocol/spanning_tree/mstp/instance (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_instance is considered as a private
method. Backends looking to populate thi... |
Setter method for region, mapped from YANG variable /protocol/spanning_tree/mstp/region (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_region is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_reg... | def _set_region(self, v, load=False):
"""
Setter method for region, mapped from YANG variable /protocol/spanning_tree/mstp/region (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_region is considered as a private
method. Backends looking to populate this vari... |
Setter method for neighbor, mapped from YANG variable /rbridge_id/router/ospf/neighbor (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_neighbor is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_neig... | def _set_neighbor(self, v, load=False):
"""
Setter method for neighbor, mapped from YANG variable /rbridge_id/router/ospf/neighbor (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_neighbor is considered as a private
method. Backends looking to populate this var... |
Setter method for area, mapped from YANG variable /rbridge_id/router/ospf/area (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_area is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_area() directly. | def _set_area(self, v, load=False):
"""
Setter method for area, mapped from YANG variable /rbridge_id/router/ospf/area (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_area is considered as a private
method. Backends looking to populate this variable should
... |
Setter method for global_bfd, mapped from YANG variable /rbridge_id/router/ospf/global_bfd (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_global_bfd is considered as a private
method. Backends looking to populate this variable should
do so via calling thisOb... | def _set_global_bfd(self, v, load=False):
"""
Setter method for global_bfd, mapped from YANG variable /rbridge_id/router/ospf/global_bfd (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_global_bfd is considered as a private
method. Backends looking to popu... |
Setter method for auto_cost, mapped from YANG variable /rbridge_id/router/ospf/auto_cost (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_auto_cost is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._... | def _set_auto_cost(self, v, load=False):
"""
Setter method for auto_cost, mapped from YANG variable /rbridge_id/router/ospf/auto_cost (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_auto_cost is considered as a private
method. Backends looking to populate... |
Setter method for mac_learning, mapped from YANG variable /overlay_gateway/site/mac_learning (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mac_learning is considered as a private
method. Backends looking to populate this variable should
do so via calling th... | def _set_mac_learning(self, v, load=False):
"""
Setter method for mac_learning, mapped from YANG variable /overlay_gateway/site/mac_learning (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mac_learning is considered as a private
method. Backends looking t... |
Setter method for email_list, mapped from YANG variable /rbridge_id/maps/email/email_list (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_email_list is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set... | def _set_email_list(self, v, load=False):
"""
Setter method for email_list, mapped from YANG variable /rbridge_id/maps/email/email_list (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_email_list is considered as a private
method. Backends looking to populate t... |
Setter method for user_password, mapped from YANG variable /username/user_password (user-passwd)
If this variable is read-only (config: false) in the
source YANG file, then _set_user_password is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._... | def _set_user_password(self, v, load=False):
"""
Setter method for user_password, mapped from YANG variable /username/user_password (user-passwd)
If this variable is read-only (config: false) in the
source YANG file, then _set_user_password is considered as a private
method. Backends looking to popu... |
Setter method for encryption_level, mapped from YANG variable /username/encryption_level (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_encryption_level is considered as a private
method. Backends looking to populate this variable should
do so via calling ... | def _set_encryption_level(self, v, load=False):
"""
Setter method for encryption_level, mapped from YANG variable /username/encryption_level (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_encryption_level is considered as a private
method. Backends loo... |
Setter method for desc, mapped from YANG variable /username/desc (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_desc is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_desc() directly. | def _set_desc(self, v, load=False):
"""
Setter method for desc, mapped from YANG variable /username/desc (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_desc is considered as a private
method. Backends looking to populate this variable should
do so via c... |
Setter method for expire, mapped from YANG variable /username/expire (date)
If this variable is read-only (config: false) in the
source YANG file, then _set_expire is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_expire() directly. | def _set_expire(self, v, load=False):
"""
Setter method for expire, mapped from YANG variable /username/expire (date)
If this variable is read-only (config: false) in the
source YANG file, then _set_expire is considered as a private
method. Backends looking to populate this variable should
do so... |
Setter method for trigger, mapped from YANG variable /event_handler/event_handler_list/trigger (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_trigger is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._s... | def _set_trigger(self, v, load=False):
"""
Setter method for trigger, mapped from YANG variable /event_handler/event_handler_list/trigger (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_trigger is considered as a private
method. Backends looking to populate th... |
Global achievement unlock percent.
:rtype: float | def global_unlock_percent(self):
"""Global achievement unlock percent.
:rtype: float
"""
percent = CRef.cfloat()
result = self._iface.get_ach_progress(self.name, percent)
if not result:
return 0.0
return float(percent) |
``True`` if achievement is unlocked.
:rtype: bool | def unlocked(self):
"""``True`` if achievement is unlocked.
:rtype: bool
"""
achieved = CRef.cbool()
result = self._iface.get_ach(self.name, achieved)
if not result:
return False
return bool(achieved) |
Unlocks the achievement.
:param bool store: Whether to send data to server immediately (as to get overlay notification).
:rtype: bool | def unlock(self, store=True):
"""Unlocks the achievement.
:param bool store: Whether to send data to server immediately (as to get overlay notification).
:rtype: bool
"""
result = self._iface.ach_unlock(self.name)
result and store and self._store()
return resul... |
Clears (locks) the achievement.
:rtype: bool | def clear(self, store=True):
"""Clears (locks) the achievement.
:rtype: bool
"""
result = self._iface.ach_lock(self.name)
result and store and self._store()
return result |
Returns tuple of unlock data: (is_unlocked, unlocked_datetime).
.. note::
`unlocked_datetime` will be ``None`` if achievement if unlocked before 2009-12-01.
:rtype: tuple[bool, datetime] | def get_unlock_info(self):
"""Returns tuple of unlock data: (is_unlocked, unlocked_datetime).
.. note::
`unlocked_datetime` will be ``None`` if achievement if unlocked before 2009-12-01.
:rtype: tuple[bool, datetime]
"""
unlocked = CRef.cbool()
unlocked_at ... |
Setter method for suppress_ra, mapped from YANG variable /routing_system/interface/ve/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/suppress_ra (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_suppress_ra is considered as a private
method. Backends looking to populate this va... | def _set_suppress_ra(self, v, load=False):
"""
Setter method for suppress_ra, mapped from YANG variable /routing_system/interface/ve/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/suppress_ra (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_suppress_ra is considered as a p... |
Setter method for ra_dns_server, mapped from YANG variable /routing_system/interface/ve/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/ra_dns_server (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ra_dns_server is considered as a private
method. Backends looking to populate this v... | def _set_ra_dns_server(self, v, load=False):
"""
Setter method for ra_dns_server, mapped from YANG variable /routing_system/interface/ve/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/ra_dns_server (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ra_dns_server is considered as ... |
Setter method for ra_domain_name, mapped from YANG variable /routing_system/interface/ve/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/ra_domain_name (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ra_domain_name is considered as a private
method. Backends looking to populate thi... | def _set_ra_domain_name(self, v, load=False):
"""
Setter method for ra_domain_name, mapped from YANG variable /routing_system/interface/ve/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/ra_domain_name (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_ra_domain_name is considered... |
Setter method for prefix, mapped from YANG variable /routing_system/interface/ve/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_prefix is considered as a private
method. Backends looking to populate this variable should
do... | def _set_prefix(self, v, load=False):
"""
Setter method for prefix, mapped from YANG variable /routing_system/interface/ve/ipv6/ipv6_nd_ra/ipv6_intf_cmds/nd/prefix (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_prefix is considered as a private
method. Backen... |
Setter method for session_ldp_stats, mapped from YANG variable /mpls_state/ldp/ldp_session/session_ldp_stats (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_session_ldp_stats is considered as a private
method. Backends looking to populate this variable should
... | def _set_session_ldp_stats(self, v, load=False):
"""
Setter method for session_ldp_stats, mapped from YANG variable /mpls_state/ldp/ldp_session/session_ldp_stats (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_session_ldp_stats is considered as a private
... |
Setter method for trunk_private_vlan_classification, mapped from YANG variable /interface/port_channel/switchport/trunk_private_vlan_classification (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_trunk_private_vlan_classification is considered as a private
method... | def _set_trunk_private_vlan_classification(self, v, load=False):
"""
Setter method for trunk_private_vlan_classification, mapped from YANG variable /interface/port_channel/switchport/trunk_private_vlan_classification (container)
If this variable is read-only (config: false) in the
source YANG file, then... |
Setter method for external_lsa_onstartup, mapped from YANG variable /rbridge_id/router/ospf/max_metric/router_lsa/on_startup/external_lsa_onstartup (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_external_lsa_onstartup is considered as a private
method. Backends ... | def _set_external_lsa_onstartup(self, v, load=False):
"""
Setter method for external_lsa_onstartup, mapped from YANG variable /rbridge_id/router/ospf/max_metric/router_lsa/on_startup/external_lsa_onstartup (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_exter... |
Setter method for summary_lsa_onstartup, mapped from YANG variable /rbridge_id/router/ospf/max_metric/router_lsa/on_startup/summary_lsa_onstartup (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_summary_lsa_onstartup is considered as a private
method. Backends loo... | def _set_summary_lsa_onstartup(self, v, load=False):
"""
Setter method for summary_lsa_onstartup, mapped from YANG variable /rbridge_id/router/ospf/max_metric/router_lsa/on_startup/summary_lsa_onstartup (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_summary_... |
Setter method for bd_pim, mapped from YANG variable /bridge_domain/ip/bd_pim (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bd_pim is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_bd_pim() di... | def _set_bd_pim(self, v, load=False):
"""
Setter method for bd_pim, mapped from YANG variable /bridge_domain/ip/bd_pim (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bd_pim is considered as a private
method. Backends looking to populate this variable sho... |
Setter method for bd_ip_igmp, mapped from YANG variable /bridge_domain/ip/bd_ip_igmp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bd_ip_igmp is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set... | def _set_bd_ip_igmp(self, v, load=False):
"""
Setter method for bd_ip_igmp, mapped from YANG variable /bridge_domain/ip/bd_ip_igmp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bd_ip_igmp is considered as a private
method. Backends looking to populate t... |
Setter method for show_raslog, mapped from YANG variable /brocade_ras_ext_rpc/show_raslog (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_raslog is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set... | def _set_show_raslog(self, v, load=False):
"""
Setter method for show_raslog, mapped from YANG variable /brocade_ras_ext_rpc/show_raslog (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_raslog is considered as a private
method. Backends looking to populate ... |
Setter method for show_support_save_status, mapped from YANG variable /brocade_ras_ext_rpc/show_support_save_status (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_support_save_status is considered as a private
method. Backends looking to populate this variable sh... | def _set_show_support_save_status(self, v, load=False):
"""
Setter method for show_support_save_status, mapped from YANG variable /brocade_ras_ext_rpc/show_support_save_status (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_support_save_status is considered as... |
Setter method for show_system_info, mapped from YANG variable /brocade_ras_ext_rpc/show_system_info (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_system_info is considered as a private
method. Backends looking to populate this variable should
do so via calli... | def _set_show_system_info(self, v, load=False):
"""
Setter method for show_system_info, mapped from YANG variable /brocade_ras_ext_rpc/show_system_info (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_system_info is considered as a private
method. Backends ... |
Setter method for peripheral_update_option, mapped from YANG variable /firmware/peripheral_update_option (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_peripheral_update_option is considered as a private
method. Backends looking to populate this variable should
... | def _set_peripheral_update_option(self, v, load=False):
"""
Setter method for peripheral_update_option, mapped from YANG variable /firmware/peripheral_update_option (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_peripheral_update_option is considered as a pr... |
Setter method for download, mapped from YANG variable /firmware/download (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_download is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_download() di... | def _set_download(self, v, load=False):
"""
Setter method for download, mapped from YANG variable /firmware/download (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_download is considered as a private
method. Backends looking to populate this variable sho... |
Convert val into a local datetime for tz Europe/Amsterdam. | def __to_localdatetime(val):
"""Convert val into a local datetime for tz Europe/Amsterdam."""
try:
dt = datetime.strptime(val, __DATE_FORMAT)
dt = pytz.timezone(__TIMEZONE).localize(dt)
return dt
except (ValueError, TypeError):
return None |
Parse the raw data and return as data dictionary. | def parse_xml_data(content, raincontent, latitude=52.091579,
longitude=5.119734, timeframe=60):
"""Parse the raw data and return as data dictionary."""
result = {SUCCESS: False, MESSAGE: None, DATA: None}
if timeframe < 5 or timeframe > 120:
raise ValueError("Timeframe must be >=... |
Get buienradar xml data and return results. | def __get_ws_data():
"""Get buienradar xml data and return results."""
url = 'https://xml.buienradar.nl/'
result = __get_url(url)
if result[SUCCESS]:
return result
# try secondary url:
url = 'https://api.buienradar.nl/'
result = __get_url(url)
return result |
Parse the buienradar xml and rain data. | def __parse_ws_data(content, latitude=52.091579, longitude=5.119734):
"""Parse the buienradar xml and rain data."""
log.info("Parse ws data: latitude: %s, longitude: %s", latitude, longitude)
result = {SUCCESS: False, MESSAGE: None, DATA: None}
# convert the xml data into a dictionary:
try:
... |
Determine if this can be valid data (not all 0's). | def __is_valid(loc_data):
"""Determine if this can be valid data (not all 0's)."""
for key, [value, func] in SENSOR_TYPES.items():
if (key != CONDITION and key != STATIONNAME and key != MEASURED):
if (func is not None):
sens_data = loc_data.get(value)
if func(... |
Parse the xml data from selected weatherstation. | def __parse_loc_data(loc_data, result):
"""Parse the xml data from selected weatherstation."""
result[DATA] = {ATTRIBUTION: ATTRIBUTION_INFO,
FORECAST: [],
PRECIPITATION_FORECAST: None}
for key, [value, func] in SENSOR_TYPES.items():
result[DATA][key] = None
... |
Parse the forecast data from the xml section. | def __parse_fc_data(fc_data):
"""Parse the forecast data from the xml section."""
from buienradar.buienradar import condition_from_code
fc = []
for daycnt in range(1, 6):
daysection = __BRDAYFC % daycnt
if daysection in fc_data:
tmpsect = fc_data[daysection]
fcdat... |
Get the distance to the weatherstation from wstation section of xml.
wstation: weerstation section of buienradar xml (dict)
latitude: our latitude
longitude: our longitude | def __get_ws_distance(wstation, latitude, longitude):
"""Get the distance to the weatherstation from wstation section of xml.
wstation: weerstation section of buienradar xml (dict)
latitude: our latitude
longitude: our longitude
"""
if wstation:
try:
wslat = float(wstation[_... |
Select the nearest weatherstation. | def __select_nearest_ws(xmldata, latitude, longitude):
"""Select the nearest weatherstation."""
log.debug("__select_nearest_ws: latitude: %s, longitude: %s",
latitude, longitude)
dist = 0
dist2 = 0
loc_data = None
try:
ws_xml = xmldata[__BRWEERGEGEVENS][__BRACTUEELWEER]
... |
Setter method for user, mapped from YANG variable /snmp_server/user (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_user is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_user() directly. | def _set_user(self, v, load=False):
"""
Setter method for user, mapped from YANG variable /snmp_server/user (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_user is considered as a private
method. Backends looking to populate this variable should
do so via ... |
Setter method for v3host, mapped from YANG variable /snmp_server/v3host (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_v3host is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_v3host() directly. | def _set_v3host(self, v, load=False):
"""
Setter method for v3host, mapped from YANG variable /snmp_server/v3host (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_v3host is considered as a private
method. Backends looking to populate this variable should
do... |
Setter method for group, mapped from YANG variable /snmp_server/group (list)
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 /snmp_server/group (list)
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 ... |
Setter method for mib, mapped from YANG variable /snmp_server/mib (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mib is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_mib() directly. | def _set_mib(self, v, load=False):
"""
Setter method for mib, mapped from YANG variable /snmp_server/mib (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_mib is considered as a private
method. Backends looking to populate this variable should
do so via... |
Setter method for on_startup_overloadtime, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/router_isis_attributes/set_overload_bit/on_startup/on_startup_overloadtime (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_on_startup_overloadtime is... | def _set_on_startup_overloadtime(self, v, load=False):
"""
Setter method for on_startup_overloadtime, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/router_isis_attributes/set_overload_bit/on_startup/on_startup_overloadtime (uint32)
If this variable is read-only (config: false... |
Setter method for wait_for_bgp, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/router_isis_attributes/set_overload_bit/on_startup/wait_for_bgp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_wait_for_bgp is considered as a private
m... | def _set_wait_for_bgp(self, v, load=False):
"""
Setter method for wait_for_bgp, mapped from YANG variable /routing_system/router/isis/router_isis_cmds_holder/router_isis_attributes/set_overload_bit/on_startup/wait_for_bgp (container)
If this variable is read-only (config: false) in the
source YANG file,... |
Predict binding for each peptide in `peptfile` to `allele` using the IEDB mhcii binding
prediction tool.
:param toil.fileStore.FileID peptfile: The input peptide fasta
:param str allele: Allele to predict binding against
:param dict univ_options: Dict of universal options used by almost all tools
:... | def predict_mhcii_binding(job, peptfile, allele, univ_options, mhcii_options):
"""
Predict binding for each peptide in `peptfile` to `allele` using the IEDB mhcii binding
prediction tool.
:param toil.fileStore.FileID peptfile: The input peptide fasta
:param str allele: Allele to predict binding aga... |
Predict binding for each peptide in `peptfile` to `allele` using netMHCIIpan.
:param toil.fileStore.FileID peptfile: The input peptide fasta
:param str allele: Allele to predict binding against
:param dict univ_options: Dict of universal options used by almost all tools
:param dict netmhciipan_options:... | def predict_netmhcii_binding(job, peptfile, allele, univ_options, netmhciipan_options):
"""
Predict binding for each peptide in `peptfile` to `allele` using netMHCIIpan.
:param toil.fileStore.FileID peptfile: The input peptide fasta
:param str allele: Allele to predict binding against
:param dict u... |
Setter method for multicast, mapped from YANG variable /qos/queue/multicast (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_multicast is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_multicast... | def _set_multicast(self, v, load=False):
"""
Setter method for multicast, mapped from YANG variable /qos/queue/multicast (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_multicast is considered as a private
method. Backends looking to populate this variabl... |
Setter method for cos_to_tc_dp_mappings, mapped from YANG variable /qos/map/cos_traffic_class/cos_to_tc_dp_mappings (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_cos_to_tc_dp_mappings is considered as a private
method. Backends looking to populate this variable shou... | def _set_cos_to_tc_dp_mappings(self, v, load=False):
"""
Setter method for cos_to_tc_dp_mappings, mapped from YANG variable /qos/map/cos_traffic_class/cos_to_tc_dp_mappings (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_cos_to_tc_dp_mappings is considered as a pr... |
In-place update of permissions. | def update(self, permission):
"""In-place update of permissions."""
self.needs.update(permission.needs)
self.excludes.update(permission.excludes) |
Load permissions associated to actions. | def _load_permissions(self):
"""Load permissions associated to actions."""
result = _P(needs=set(), excludes=set())
if not self.allow_by_default:
result.needs.update(self.explicit_needs)
for explicit_need in self.explicit_needs:
if explicit_need.method == 'action... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.