INSTRUCTION
stringlengths
1
8.43k
RESPONSE
stringlengths
75
104k
Setter method for show_mpls_ldp_path mapped from YANG variable/ brocade_mpls_rpc/ show_mpls_ldp_path ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_show_mpls_ldp_path is considered as a private method. Backends looking to populate this variable should do so via calling thisO...
def _set_show_mpls_ldp_path(self, v, load=False): """ Setter method for show_mpls_ldp_path, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_path (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_ldp_path is considered as a private method. Back...
Setter method for show_mpls_ldp_fec mapped from YANG variable/ brocade_mpls_rpc/ show_mpls_ldp_fec ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_show_mpls_ldp_fec is considered as a private method. Backends looking to populate this variable should do so via calling thisObj....
def _set_show_mpls_ldp_fec(self, v, load=False): """ Setter method for show_mpls_ldp_fec, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_fec (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_ldp_fec is considered as a private method. Backends...
Setter method for show_mpls_policy mapped from YANG variable/ brocade_mpls_rpc/ show_mpls_policy ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_show_mpls_policy is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _s...
def _set_show_mpls_policy(self, v, load=False): """ Setter method for show_mpls_policy, mapped from YANG variable /brocade_mpls_rpc/show_mpls_policy (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_policy is considered as a private method. Backends loo...
Setter method for show_mpls_rsvp mapped from YANG variable/ brocade_mpls_rpc/ show_mpls_rsvp ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_show_mpls_rsvp is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_sho...
def _set_show_mpls_rsvp(self, v, load=False): """ Setter method for show_mpls_rsvp, mapped from YANG variable /brocade_mpls_rpc/show_mpls_rsvp (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_rsvp is considered as a private method. Backends looking to ...
Setter method for show_mpls_rsvp_interface mapped from YANG variable/ brocade_mpls_rpc/ show_mpls_rsvp_interface ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_show_mpls_rsvp_interface is considered as a private method. Backends looking to populate this variable should do so...
def _set_show_mpls_rsvp_interface(self, v, load=False): """ Setter method for show_mpls_rsvp_interface, mapped from YANG variable /brocade_mpls_rpc/show_mpls_rsvp_interface (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_rsvp_interface is considered as a ...
Setter method for show_mpls_rsvp_neighbor mapped from YANG variable/ brocade_mpls_rpc/ show_mpls_rsvp_neighbor ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_show_mpls_rsvp_neighbor is considered as a private method. Backends looking to populate this variable should do so vi...
def _set_show_mpls_rsvp_neighbor(self, v, load=False): """ Setter method for show_mpls_rsvp_neighbor, mapped from YANG variable /brocade_mpls_rpc/show_mpls_rsvp_neighbor (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_rsvp_neighbor is considered as a priv...
Setter method for get_mpls_ldp_neighbor_brief mapped from YANG variable/ brocade_mpls_rpc/ get_mpls_ldp_neighbor_brief ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_get_mpls_ldp_neighbor_brief is considered as a private method. Backends looking to populate this variable sho...
def _set_get_mpls_ldp_neighbor_brief(self, v, load=False): """ Setter method for get_mpls_ldp_neighbor_brief, mapped from YANG variable /brocade_mpls_rpc/get_mpls_ldp_neighbor_brief (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_get_mpls_ldp_neighbor_brief is cons...
Setter method for show_mpls_ldp mapped from YANG variable/ brocade_mpls_rpc/ show_mpls_ldp ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_show_mpls_ldp is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_show_m...
def _set_show_mpls_ldp(self, v, load=False): """ Setter method for show_mpls_ldp, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_ldp is considered as a private method. Backends looking to popu...
Setter method for show_mpls_statistics_oam mapped from YANG variable/ brocade_mpls_rpc/ show_mpls_statistics_oam ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_show_mpls_statistics_oam is considered as a private method. Backends looking to populate this variable should do so...
def _set_show_mpls_statistics_oam(self, v, load=False): """ Setter method for show_mpls_statistics_oam, mapped from YANG variable /brocade_mpls_rpc/show_mpls_statistics_oam (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_statistics_oam is considered as a ...
Setter method for get_mpls_ldp_session_brief mapped from YANG variable/ brocade_mpls_rpc/ get_mpls_ldp_session_brief ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_get_mpls_ldp_session_brief is considered as a private method. Backends looking to populate this variable should...
def _set_get_mpls_ldp_session_brief(self, v, load=False): """ Setter method for get_mpls_ldp_session_brief, mapped from YANG variable /brocade_mpls_rpc/get_mpls_ldp_session_brief (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_get_mpls_ldp_session_brief is consider...
Setter method for get_mpls_autobw_template_brief mapped from YANG variable/ brocade_mpls_rpc/ get_mpls_autobw_template_brief ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_get_mpls_autobw_template_brief is considered as a private method. Backends looking to populate this var...
def _set_get_mpls_autobw_template_brief(self, v, load=False): """ Setter method for get_mpls_autobw_template_brief, mapped from YANG variable /brocade_mpls_rpc/get_mpls_autobw_template_brief (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_get_mpls_autobw_template_b...
Setter method for show_mpls_dynamic_bypass mapped from YANG variable/ brocade_mpls_rpc/ show_mpls_dynamic_bypass ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_show_mpls_dynamic_bypass is considered as a private method. Backends looking to populate this variable should do so...
def _set_show_mpls_dynamic_bypass(self, v, load=False): """ Setter method for show_mpls_dynamic_bypass, mapped from YANG variable /brocade_mpls_rpc/show_mpls_dynamic_bypass (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_dynamic_bypass is considered as a ...
Setter method for ping_mpls mapped from YANG variable/ brocade_mpls_rpc/ ping_mpls ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_ping_mpls is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_ping_mpls () direc...
def _set_ping_mpls(self, v, load=False): """ Setter method for ping_mpls, mapped from YANG variable /brocade_mpls_rpc/ping_mpls (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_ping_mpls is considered as a private method. Backends looking to populate this variab...
Setter method for ldp_params mapped from YANG variable/ mpls_config/ router/ mpls/ mpls_cmds_holder/ mpls_interface/ ldp_params ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_ldp_params is considered as a private method. Backends looking to populate this variable shoul...
def _set_ldp_params(self, v, load=False): """ Setter method for ldp_params, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/ldp_params (container) If this variable is read-only (config: false) in the source YANG file, then _set_ldp_params is considered as a private ...
Setter method for rsvp mapped from YANG variable/ mpls_config/ router/ mpls/ mpls_cmds_holder/ mpls_interface/ rsvp ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_rsvp is considered as a private method. Backends looking to populate this variable should do so via callin...
def _set_rsvp(self, v, load=False): """ Setter method for rsvp, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/rsvp (container) If this variable is read-only (config: false) in the source YANG file, then _set_rsvp is considered as a private method. Backends lookin...
Setter method for interface_dynamic_bypass mapped from YANG variable/ mpls_config/ router/ mpls/ mpls_cmds_holder/ mpls_interface/ interface_dynamic_bypass ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_interface_dynamic_bypass is considered as a private method. Backen...
def _set_interface_dynamic_bypass(self, v, load=False): """ Setter method for interface_dynamic_bypass, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/interface_dynamic_bypass (container) If this variable is read-only (config: false) in the source YANG file, then _set...
Setter method for offset_base1 mapped from YANG variable/ uda_key/ profile/ uda_profile_offsets/ offset_base1 ( uda - offset - base - type ) If this variable is read - only ( config: false ) in the source YANG file then _set_offset_base1 is considered as a private method. Backends looking to populate this variable shou...
def _set_offset_base1(self, v, load=False): """ Setter method for offset_base1, mapped from YANG variable /uda_key/profile/uda_profile_offsets/offset_base1 (uda-offset-base-type) If this variable is read-only (config: false) in the source YANG file, then _set_offset_base1 is considered as a private ...
Setter method for uda_offset1 mapped from YANG variable/ uda_key/ profile/ uda_profile_offsets/ uda_offset1 ( union ) If this variable is read - only ( config: false ) in the source YANG file then _set_uda_offset1 is considered as a private method. Backends looking to populate this variable should do so via calling thi...
def _set_uda_offset1(self, v, load=False): """ Setter method for uda_offset1, mapped from YANG variable /uda_key/profile/uda_profile_offsets/uda_offset1 (union) If this variable is read-only (config: false) in the source YANG file, then _set_uda_offset1 is considered as a private method. Backends lo...
Setter method for name mapped from YANG variable/ rbridge_id/ event_handler/ activate/ name ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_name is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_name () direc...
def _set_name(self, v, load=False): """ Setter method for name, mapped from YANG variable /rbridge_id/event_handler/activate/name (list) If this variable is read-only (config: false) in the source YANG file, then _set_name is considered as a private method. Backends looking to populate this variable...
Index bamfile using samtools
def index_bamfile(job, bamfile, sample_type, univ_options, samtools_options, sample_info=None, export=True): """ Index `bamfile` using samtools :param toil.fileStore.FileID bamfile: fsID for the bam file :param str sample_type: Description of the sample to inject into the filename ...
Sort bamfile using samtools
def sort_bamfile(job, bamfile, sample_type, univ_options, samtools_options): """ Sort `bamfile` using samtools :param toil.fileStore.FileID bamfile: fsID for the bam file :param str sample_type: Description of the sample to inject into the filename :param dict univ_options: Dict of universal option...
Setter method for loam_show_debug_information mapped from YANG variable/ loam_show_debug_state/ loam_show_debug_information ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_loam_show_debug_information is considered as a private method. Backends looking to populate this v...
def _set_loam_show_debug_information(self, v, load=False): """ Setter method for loam_show_debug_information, mapped from YANG variable /loam_show_debug_state/loam_show_debug_information (container) If this variable is read-only (config: false) in the source YANG file, then _set_loam_show_debug_informat...
Setter method for last_received_interface_info mapped from YANG variable/ brocade_port_profile_ext_rpc/ get_port_profile_for_intf/ input/ last_received_interface_info ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_last_received_interface_info is considered as a private...
def _set_last_received_interface_info(self, v, load=False): """ Setter method for last_received_interface_info, mapped from YANG variable /brocade_port_profile_ext_rpc/get_port_profile_for_intf/input/last_received_interface_info (container) If this variable is read-only (config: false) in the source YAN...
Setter method for fabric_priority mapped from YANG variable/ cee_map/ remap/ fabric_priority ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_fabric_priority is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _...
def _set_fabric_priority(self, v, load=False): """ Setter method for fabric_priority, mapped from YANG variable /cee_map/remap/fabric_priority (container) If this variable is read-only (config: false) in the source YANG file, then _set_fabric_priority is considered as a private method. Backends look...
Setter method for lossless_priority mapped from YANG variable/ cee_map/ remap/ lossless_priority ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_lossless_priority is considered as a private method. Backends looking to populate this variable should do so via calling this...
def _set_lossless_priority(self, v, load=False): """ Setter method for lossless_priority, mapped from YANG variable /cee_map/remap/lossless_priority (container) If this variable is read-only (config: false) in the source YANG file, then _set_lossless_priority is considered as a private method. Backe...
Upgrade database.
def upgrade(): """Upgrade database.""" op.create_table( 'access_actionsroles', sa.Column('id', sa.Integer(), nullable=False), sa.Column('action', sa.String(length=80), nullable=True), sa.Column('exclude', sa.Boolean(name='exclude'), server_default='0', nullable=...
Setter method for filter mapped from YANG variable/ interface_vlan/ interface/ vlan/ ip/ arp/ inspection/ filter ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_filter is considered as a private method. Backends looking to populate this variable should do so via calling...
def _set_filter(self, v, load=False): """ Setter method for filter, mapped from YANG variable /interface_vlan/interface/vlan/ip/arp/inspection/filter (container) If this variable is read-only (config: false) in the source YANG file, then _set_filter is considered as a private method. Backends lookin...
Setter method for start_time mapped from YANG variable/ keychain/ key/ accept_lifetime/ start_time ( time - format - start ) If this variable is read - only ( config: false ) in the source YANG file then _set_start_time is considered as a private method. Backends looking to populate this variable should do so via calli...
def _set_start_time(self, v, load=False): """ Setter method for start_time, mapped from YANG variable /keychain/key/accept_lifetime/start_time (time-format-start) If this variable is read-only (config: false) in the source YANG file, then _set_start_time is considered as a private method. Backends l...
Setter method for duration mapped from YANG variable/ keychain/ key/ accept_lifetime/ duration ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_duration is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_d...
def _set_duration(self, v, load=False): """ Setter method for duration, mapped from YANG variable /keychain/key/accept_lifetime/duration (container) If this variable is read-only (config: false) in the source YANG file, then _set_duration is considered as a private method. Backends looking to popula...
Setter method for get_contained_in_ID mapped from YANG variable/ brocade_entity_rpc/ get_contained_in_ID ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_get_contained_in_ID is considered as a private method. Backends looking to populate this variable should do so via calling ...
def _set_get_contained_in_ID(self, v, load=False): """ Setter method for get_contained_in_ID, mapped from YANG variable /brocade_entity_rpc/get_contained_in_ID (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_get_contained_in_ID is considered as a private method...
Setter method for get_stp_brief_info mapped from YANG variable/ brocade_xstp_ext_rpc/ get_stp_brief_info ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_get_stp_brief_info is considered as a private method. Backends looking to populate this variable should do so via calling t...
def _set_get_stp_brief_info(self, v, load=False): """ Setter method for get_stp_brief_info, mapped from YANG variable /brocade_xstp_ext_rpc/get_stp_brief_info (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_get_stp_brief_info is considered as a private method. ...
Setter method for session_role mapped from YANG variable/ mpls_state/ rsvp/ sessions/ session_role ( session - role ) If this variable is read - only ( config: false ) in the source YANG file then _set_session_role is considered as a private method. Backends looking to populate this variable should do so via calling th...
def _set_session_role(self, v, load=False): """ Setter method for session_role, mapped from YANG variable /mpls_state/rsvp/sessions/session_role (session-role) If this variable is read-only (config: false) in the source YANG file, then _set_session_role is considered as a private method. Backends lo...
Setter method for log_adjacency mapped from YANG variable/ rbridge_id/ ipv6/ router/ ospf/ log/ log_adjacency ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_log_adjacency is considered as a private method. Backends looking to populate this variable should do so via cal...
def _set_log_adjacency(self, v, load=False): """ Setter method for log_adjacency, mapped from YANG variable /rbridge_id/ipv6/router/ospf/log/log_adjacency (container) If this variable is read-only (config: false) in the source YANG file, then _set_log_adjacency is considered as a private method. Bac...
Setter method for log_bad_packet mapped from YANG variable/ rbridge_id/ ipv6/ router/ ospf/ log/ log_bad_packet ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_log_bad_packet is considered as a private method. Backends looking to populate this variable should do so via ...
def _set_log_bad_packet(self, v, load=False): """ Setter method for log_bad_packet, mapped from YANG variable /rbridge_id/ipv6/router/ospf/log/log_bad_packet (container) If this variable is read-only (config: false) in the source YANG file, then _set_log_bad_packet is considered as a private method....
Create an identity for a given user instance.
def get_identity(user): """Create an identity for a given user instance. Primarily useful for testing. """ identity = Identity(user.id) if hasattr(user, 'id'): identity.provides.add(UserNeed(user.id)) for role in getattr(user, 'roles', []): identity.provides.add(RoleNeed(role....
Setter method for ip_anycast_gateway mapped from YANG variable/ interface_vlan/ interface/ ve/ ip/ ip_anycast_gateway ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_ip_anycast_gateway is considered as a private method. Backends looking to populate this variable should do so...
def _set_ip_anycast_gateway(self, v, load=False): """ Setter method for ip_anycast_gateway, mapped from YANG variable /interface_vlan/interface/ve/ip/ip_anycast_gateway (list) If this variable is read-only (config: false) in the source YANG file, then _set_ip_anycast_gateway is considered as a private ...
Setter method for int_router_isis mapped from YANG variable/ routing_system/ interface/ ve/ ip/ intf_router_isis/ int_router_isis ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_int_router_isis is considered as a private method. Backends looking to populate this variabl...
def _set_int_router_isis(self, v, load=False): """ Setter method for int_router_isis, mapped from YANG variable /routing_system/interface/ve/ip/intf_router_isis/int_router_isis (container) If this variable is read-only (config: false) in the source YANG file, then _set_int_router_isis is considered as a...
Setter method for addpath_advertise mapped from YANG variable/ routing_system/ router/ router_bgp/ address_family/ ipv6/ ipv6_unicast/ af_ipv6_vrf/ neighbor/ af_ipv6_vrf_neighbor_address_holder/ af_ipv6_neighbor_addr/ additional_paths/ addpath_advertise ( container ) If this variable is read - only ( config: false ) in...
def _set_addpath_advertise(self, v, load=False): """ Setter method for addpath_advertise, mapped from YANG variable /routing_system/router/router_bgp/address_family/ipv6/ipv6_unicast/af_ipv6_vrf/neighbor/af_ipv6_vrf_neighbor_address_holder/af_ipv6_neighbor_addr/additional_paths/addpath_advertise (container) ...
Setter method for fcoe_fabric_map_fcmap mapped from YANG variable/ fcoe/ fcoe_fabric_map/ fcoe_fabric_map_fcmap ( fcoe - fcmap - type ) If this variable is read - only ( config: false ) in the source YANG file then _set_fcoe_fabric_map_fcmap is considered as a private method. Backends looking to populate this variable ...
def _set_fcoe_fabric_map_fcmap(self, v, load=False): """ Setter method for fcoe_fabric_map_fcmap, mapped from YANG variable /fcoe/fcoe_fabric_map/fcoe_fabric_map_fcmap (fcoe-fcmap-type) If this variable is read-only (config: false) in the source YANG file, then _set_fcoe_fabric_map_fcmap is considered a...
Setter method for fcoe_fip_advertisement mapped from YANG variable/ fcoe/ fcoe_fabric_map/ fcoe_fip_advertisement ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_fcoe_fip_advertisement is considered as a private method. Backends looking to populate this variable should ...
def _set_fcoe_fip_advertisement(self, v, load=False): """ Setter method for fcoe_fip_advertisement, mapped from YANG variable /fcoe/fcoe_fabric_map/fcoe_fip_advertisement (container) If this variable is read-only (config: false) in the source YANG file, then _set_fcoe_fip_advertisement is considered as ...
Setter method for fcoe_fip_keep_alive mapped from YANG variable/ fcoe/ fcoe_fabric_map/ fcoe_fip_keep_alive ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_fcoe_fip_keep_alive is considered as a private method. Backends looking to populate this variable should do so via...
def _set_fcoe_fip_keep_alive(self, v, load=False): """ Setter method for fcoe_fip_keep_alive, mapped from YANG variable /fcoe/fcoe_fabric_map/fcoe_fip_keep_alive (container) If this variable is read-only (config: false) in the source YANG file, then _set_fcoe_fip_keep_alive is considered as a private ...
Setter method for vlan_vni_mapping mapped from YANG variable/ overlay_gateway/ map/ vlan_vni_mapping ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_vlan_vni_mapping is considered as a private method. Backends looking to populate this variable should do so via calling thisOb...
def _set_vlan_vni_mapping(self, v, load=False): """ Setter method for vlan_vni_mapping, mapped from YANG variable /overlay_gateway/map/vlan_vni_mapping (list) If this variable is read-only (config: false) in the source YANG file, then _set_vlan_vni_mapping is considered as a private method. Backends...
Setter method for vpnv6_unicast mapped from YANG variable/ routing_system/ router/ router_bgp/ address_family/ vpnv6/ vpnv6_unicast ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_vpnv6_unicast is considered as a private method. Backends looking to populate this variabl...
def _set_vpnv6_unicast(self, v, load=False): """ Setter method for vpnv6_unicast, mapped from YANG variable /routing_system/router/router_bgp/address_family/vpnv6/vpnv6_unicast (container) If this variable is read-only (config: false) in the source YANG file, then _set_vpnv6_unicast is considered as a p...
Freeze tries to convert any data - structure in a hierarchy of tuples. Tuples are comparable/ sortable/ hashable you can use this with with recursive_sort (). freeze has no recursion detection.
def freeze(data_structure): """Freeze tries to convert any data-structure in a hierarchy of tuples. Tuples are comparable/sortable/hashable, you can use this with with recursive_sort(). freeze has no recursion detection. :param data_structure: The structure to convert. >>> recursive_sort(freeze(...
Converts a object to a items list respecting also slots.
def object_to_items(data_structure): """Converts a object to a items list respecting also slots. Use dict(object_to_items(obj)) to get a dictionary.""" items = [] # Get all items from dict try: items = list(data_structure.__dict__.items()) except: pass # Get all slots hi...
Dump will create a human readable version of your data - structure. It will try to dump almost anything it has recursion detection and will try to display the recursion in a meaningful way.
def dump(data_structure): """Dump will create a human readable version of your data-structure. It will try to dump almost anything, it has recursion detection and will try to display the recursion in a meaningful way. :param data_structure: The structure to convert. When you freeze only content ...
Sort a recursive data_structure.
def recursive_sort(data_structure): """Sort a recursive data_structure. :param data_structure: The structure to convert. data_structure must be already sortable or you must use freeze() or dump(). The function will work with many kinds of input. Dictionaries will be converted to lists of tuples....
Yields the leaves of the frozen data - structure pre - order.
def traverse_frozen_data(data_structure): """Yields the leaves of the frozen data-structure pre-order. It will produce the same order as one would write the data-structure.""" parent_stack = [data_structure] while parent_stack: node = parent_stack.pop(0) # We don't iterate strings ...
Dump any data - structure or object traverse it depth - first in - order and apply a unified diff.
def tree_diff(a, b, n=5, sort=False): """Dump any data-structure or object, traverse it depth-first in-order and apply a unified diff. Depth-first in-order is just like structure would be printed. :param a: data_structure a :param b: data_structure b :param ...
User tree_diff () to assert a equals b. Dump any data - structure or object traverse it depth - first and apply a unified diff to display the result.
def tree_diff_assert(a, b, n=5, sort=False): """User tree_diff() to assert a equals b. Dump any data-structure or object, traverse it depth-first and apply a unified diff, to display the result. :param a: data_structure a :param b: data_structure b :param n: ...
Generic cmp method to support python 2/ 3
def _cmp(self, other): """Generic cmp method to support python 2/3""" self_gen = traverse_frozen_data(self.payload) other_gen = traverse_frozen_data(other.payload) while True: try: self_node = repr(next(self_gen)) except StopIteration: ...
Setter method for collector_ip mapped from YANG variable/ telemetry/ collector/ collector_ip ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_collector_ip is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set...
def _set_collector_ip(self, v, load=False): """ Setter method for collector_ip, mapped from YANG variable /telemetry/collector/collector_ip (container) If this variable is read-only (config: false) in the source YANG file, then _set_collector_ip is considered as a private method. Backends looking to...
Setter method for collector_profile mapped from YANG variable/ telemetry/ collector/ collector_profile ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_collector_profile is considered as a private method. Backends looking to populate this variable should do so via calling thi...
def _set_collector_profile(self, v, load=False): """ Setter method for collector_profile, mapped from YANG variable /telemetry/collector/collector_profile (list) If this variable is read-only (config: false) in the source YANG file, then _set_collector_profile is considered as a private method. Back...
Setter method for collector_encoding mapped from YANG variable/ telemetry/ collector/ collector_encoding ( collector - encoding - type ) If this variable is read - only ( config: false ) in the source YANG file then _set_collector_encoding is considered as a private method. Backends looking to populate this variable sh...
def _set_collector_encoding(self, v, load=False): """ Setter method for collector_encoding, mapped from YANG variable /telemetry/collector/collector_encoding (collector-encoding-type) If this variable is read-only (config: false) in the source YANG file, then _set_collector_encoding is considered as a p...
Setter method for quality mapped from YANG variable/ ptp_state/ clock/ quality ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_quality is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_quality () directl...
def _set_quality(self, v, load=False): """ Setter method for quality, mapped from YANG variable /ptp_state/clock/quality (container) If this variable is read-only (config: false) in the source YANG file, then _set_quality is considered as a private method. Backends looking to populate this variable ...
Setter method for if_role mapped from YANG variable/ brocade_xstp_ext_rpc/ get_stp_mst_detail/ output/ cist/ port/ if_role ( stp - port - role ) If this variable is read - only ( config: false ) in the source YANG file then _set_if_role is considered as a private method. Backends looking to populate this variable shoul...
def _set_if_role(self, v, load=False): """ Setter method for if_role, mapped from YANG variable /brocade_xstp_ext_rpc/get_stp_mst_detail/output/cist/port/if_role (stp-port-role) If this variable is read-only (config: false) in the source YANG file, then _set_if_role is considered as a private method...
Setter method for if_state mapped from YANG variable/ brocade_xstp_ext_rpc/ get_stp_mst_detail/ output/ cist/ port/ if_state ( stp - port - state ) If this variable is read - only ( config: false ) in the source YANG file then _set_if_state is considered as a private method. Backends looking to populate this variable s...
def _set_if_state(self, v, load=False): """ Setter method for if_state, mapped from YANG variable /brocade_xstp_ext_rpc/get_stp_mst_detail/output/cist/port/if_state (stp-port-state) If this variable is read-only (config: false) in the source YANG file, then _set_if_state is considered as a private m...
Setter method for transmitted_stp_type mapped from YANG variable/ brocade_xstp_ext_rpc/ get_stp_mst_detail/ output/ cist/ port/ transmitted_stp_type ( stp - type ) If this variable is read - only ( config: false ) in the source YANG file then _set_transmitted_stp_type is considered as a private method. Backends looking...
def _set_transmitted_stp_type(self, v, load=False): """ Setter method for transmitted_stp_type, mapped from YANG variable /brocade_xstp_ext_rpc/get_stp_mst_detail/output/cist/port/transmitted_stp_type (stp-type) If this variable is read-only (config: false) in the source YANG file, then _set_transmitted...
Setter method for server mapped from YANG variable/ ntp/ server ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_server is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_server () directly.
def _set_server(self, v, load=False): """ Setter method for server, mapped from YANG variable /ntp/server (list) If this variable is read-only (config: false) in the source YANG file, then _set_server is considered as a private method. Backends looking to populate this variable should do so via ...
Setter method for peer mapped from YANG variable/ ntp/ peer ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_peer is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_peer () directly.
def _set_peer(self, v, load=False): """ Setter method for peer, mapped from YANG variable /ntp/peer (list) If this variable is read-only (config: false) in the source YANG file, then _set_peer is considered as a private method. Backends looking to populate this variable should do so via calling ...
Setter method for source_ip mapped from YANG variable/ ntp/ source_ip ( srcip_type ) If this variable is read - only ( config: false ) in the source YANG file then _set_source_ip is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_source_ip () directly.
def _set_source_ip(self, v, load=False): """ Setter method for source_ip, mapped from YANG variable /ntp/source_ip (srcip_type) If this variable is read-only (config: false) in the source YANG file, then _set_source_ip is considered as a private method. Backends looking to populate this variable sho...
Setter method for disable mapped from YANG variable/ ntp/ disable ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_disable is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_disable () directly.
def _set_disable(self, v, load=False): """ Setter method for disable, mapped from YANG variable /ntp/disable (container) If this variable is read-only (config: false) in the source YANG file, then _set_disable is considered as a private method. Backends looking to populate this variable should d...
Setter method for authenticate mapped from YANG variable/ ntp/ authenticate ( empty ) If this variable is read - only ( config: false ) in the source YANG file then _set_authenticate is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_authenticate () dire...
def _set_authenticate(self, v, load=False): """ Setter method for authenticate, mapped from YANG variable /ntp/authenticate (empty) If this variable is read-only (config: false) in the source YANG file, then _set_authenticate is considered as a private method. Backends looking to populate this varia...
Setter method for trusted_key mapped from YANG variable/ ntp/ trusted_key ( trust - key ) If this variable is read - only ( config: false ) in the source YANG file then _set_trusted_key is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_trusted_key () di...
def _set_trusted_key(self, v, load=False): """ Setter method for trusted_key, mapped from YANG variable /ntp/trusted_key (trust-key) If this variable is read-only (config: false) in the source YANG file, then _set_trusted_key is considered as a private method. Backends looking to populate this varia...
Setter method for master mapped from YANG variable/ ntp/ master ( uint32 ) If this variable is read - only ( config: false ) in the source YANG file then _set_master is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_master () directly.
def _set_master(self, v, load=False): """ Setter method for master, mapped from YANG variable /ntp/master (uint32) If this variable is read-only (config: false) in the source YANG file, then _set_master is considered as a private method. Backends looking to populate this variable should do so vi...
Setter method for start_type mapped from YANG variable/ cfm_state/ slm/ slm_session_detail/ start_type ( start - stop - type ) If this variable is read - only ( config: false ) in the source YANG file then _set_start_type is considered as a private method. Backends looking to populate this variable should do so via cal...
def _set_start_type(self, v, load=False): """ Setter method for start_type, mapped from YANG variable /cfm_state/slm/slm_session_detail/start_type (start-stop-type) If this variable is read-only (config: false) in the source YANG file, then _set_start_type is considered as a private method. Backends...
Setter method for arp_node_config mapped from YANG variable/ interface/ tengigabitethernet/ ip/ arp_node_config ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_arp_node_config is considered as a private method. Backends looking to populate this variable should do so via...
def _set_arp_node_config(self, v, load=False): """ Setter method for arp_node_config, mapped from YANG variable /interface/tengigabitethernet/ip/arp_node_config (container) If this variable is read-only (config: false) in the source YANG file, then _set_arp_node_config is considered as a private met...
Setter method for interface_te_ospf_conf mapped from YANG variable/ interface/ tengigabitethernet/ ip/ interface_te_ospf_conf ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_interface_te_ospf_conf is considered as a private method. Backends looking to populate this vari...
def _set_interface_te_ospf_conf(self, v, load=False): """ Setter method for interface_te_ospf_conf, mapped from YANG variable /interface/tengigabitethernet/ip/interface_te_ospf_conf (container) If this variable is read-only (config: false) in the source YANG file, then _set_interface_te_ospf_conf is con...
행에 cell을 붙입니다.
def append(self, cell): """행에 cell을 붙입니다. """ assert isinstance(cell, Cell) super(Row, self).append(cell)
쿼리의 정렬 조건을 가져옵니다.
def _order_queries(self): """쿼리의 정렬 조건을 가져옵니다.""" from .condition import Order order = [] for column in self.columns: if column.order_by: o = Order(self.cls, column.attr, column.order_by) order.append(o.__query__()) if not order: ...
Setter method for aggregator_type mapped from YANG variable/ brocade_lag_rpc/ get_port_channel_detail/ output/ lacp/ aggregator_type ( enumeration ) If this variable is read - only ( config: false ) in the source YANG file then _set_aggregator_type is considered as a private method. Backends looking to populate this va...
def _set_aggregator_type(self, v, load=False): """ Setter method for aggregator_type, mapped from YANG variable /brocade_lag_rpc/get_port_channel_detail/output/lacp/aggregator_type (enumeration) If this variable is read-only (config: false) in the source YANG file, then _set_aggregator_type is considere...
Setter method for pmap_seq mapped from YANG variable/ overlay_policy_map/ pmap_seq ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_pmap_seq is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_pmap_seq () direct...
def _set_pmap_seq(self, v, load=False): """ Setter method for pmap_seq, mapped from YANG variable /overlay_policy_map/pmap_seq (list) If this variable is read-only (config: false) in the source YANG file, then _set_pmap_seq is considered as a private method. Backends looking to populate this variabl...
Setter method for enable mapped from YANG variable/ interface/ ethernet/ link_oam_interface/ enable ( enumeration ) If this variable is read - only ( config: false ) in the source YANG file then _set_enable is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _...
def _set_enable(self, v, load=False): """ Setter method for enable, mapped from YANG variable /interface/ethernet/link_oam_interface/enable (enumeration) If this variable is read-only (config: false) in the source YANG file, then _set_enable is considered as a private method. Backends looking to pop...
Setter method for remote_failure mapped from YANG variable/ interface/ ethernet/ link_oam_interface/ remote_failure ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_remote_failure is considered as a private method. Backends looking to populate this variable should do so ...
def _set_remote_failure(self, v, load=False): """ Setter method for remote_failure, mapped from YANG variable /interface/ethernet/link_oam_interface/remote_failure (container) If this variable is read-only (config: false) in the source YANG file, then _set_remote_failure is considered as a private m...
Setter method for interface_ipv6_metric mapped from YANG variable/ routing_system/ interface/ ve/ intf_isis/ interface_isis/ interface_ipv6/ interface_ipv6_metric ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_interface_ipv6_metric is considered as a private method. Backend...
def _set_interface_ipv6_metric(self, v, load=False): """ Setter method for interface_ipv6_metric, mapped from YANG variable /routing_system/interface/ve/intf_isis/interface_isis/interface_ipv6/interface_ipv6_metric (list) If this variable is read-only (config: false) in the source YANG file, then _set_i...
Setter method for above mapped from YANG variable/ rbridge_id/ threshold_monitor/ interface/ policy/ area/ alert/ above ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_above is considered as a private method. Backends looking to populate this variable should do so via c...
def _set_above(self, v, load=False): """ Setter method for above, mapped from YANG variable /rbridge_id/threshold_monitor/interface/policy/area/alert/above (container) If this variable is read-only (config: false) in the source YANG file, then _set_above is considered as a private method. Backends l...
Setter method for below mapped from YANG variable/ rbridge_id/ threshold_monitor/ interface/ policy/ area/ alert/ below ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_below is considered as a private method. Backends looking to populate this variable should do so via c...
def _set_below(self, v, load=False): """ Setter method for below, mapped from YANG variable /rbridge_id/threshold_monitor/interface/policy/area/alert/below (container) If this variable is read-only (config: false) in the source YANG file, then _set_below is considered as a private method. Backends l...
Setter method for igmps_querier mapped from YANG variable/ interface_vlan/ vlan/ ip/ igmpVlan/ snooping/ igmps_querier ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_igmps_querier is considered as a private method. Backends looking to populate this variable should do s...
def _set_igmps_querier(self, v, load=False): """ Setter method for igmps_querier, mapped from YANG variable /interface_vlan/vlan/ip/igmpVlan/snooping/igmps_querier (container) If this variable is read-only (config: false) in the source YANG file, then _set_igmps_querier is considered as a private me...
Setter method for user_session_info mapped from YANG variable/ brocade_aaa_ext_rpc/ user_session_info ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_user_session_info is considered as a private method. Backends looking to populate this variable should do so via calling thisO...
def _set_user_session_info(self, v, load=False): """ Setter method for user_session_info, mapped from YANG variable /brocade_aaa_ext_rpc/user_session_info (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_user_session_info is considered as a private method. Backe...
Setter method for af_vrf mapped from YANG variable/ rbridge_id/ router/ router_bgp/ address_family/ ipv4/ ipv4_unicast/ af_vrf ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_af_vrf is considered as a private method. Backends looking to populate this variable should do so vi...
def _set_af_vrf(self, v, load=False): """ Setter method for af_vrf, mapped from YANG variable /rbridge_id/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf (list) If this variable is read-only (config: false) in the source YANG file, then _set_af_vrf is considered as a private method. Backen...
Basic group statistics.
def stats(self): """Basic group statistics. Returned dict has the following keys: 'online' - users online count 'ingame' - users currently in game count 'chatting' - users chatting count :return: dict """ stats_online = CRef.cint() s...
Setter method for action mapped from YANG variable/ rule/ action ( rule - action ) If this variable is read - only ( config: false ) in the source YANG file then _set_action is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_action () directly.
def _set_action(self, v, load=False): """ Setter method for action, mapped from YANG variable /rule/action (rule-action) If this variable is read-only (config: false) in the source YANG file, then _set_action is considered as a private method. Backends looking to populate this variable should do...
Setter method for operation mapped from YANG variable/ rule/ operation ( rule - operation ) If this variable is read - only ( config: false ) in the source YANG file then _set_operation is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_operation () dire...
def _set_operation(self, v, load=False): """ Setter method for operation, mapped from YANG variable /rule/operation (rule-operation) If this variable is read-only (config: false) in the source YANG file, then _set_operation is considered as a private method. Backends looking to populate this variabl...
Setter method for ldp_peer_state mapped from YANG variable/ brocade_mpls_rpc/ show_mpls_ldp_peer_det_rec/ output/ ldp_peer_state ( ldp - state - name ) If this variable is read - only ( config: false ) in the source YANG file then _set_ldp_peer_state is considered as a private method. Backends looking to populate this ...
def _set_ldp_peer_state(self, v, load=False): """ Setter method for ldp_peer_state, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_peer_det_rec/output/ldp_peer_state (ldp-state-name) If this variable is read-only (config: false) in the source YANG file, then _set_ldp_peer_state is considered ...
Upgrade database.
def upgrade(): """Upgrade database.""" op.create_index(op.f('ix_access_actionsroles_role_id'), 'access_actionsroles', ['role_id'], unique=False) op.drop_constraint(u'fk_access_actionsroles_role_id_accounts_role', 'access_actionsroles', type_='foreignkey') op.cr...
Downgrade database.
def downgrade(): """Downgrade database.""" op.drop_constraint(op.f('fk_access_actionsusers_user_id_accounts_user'), 'access_actionsusers', type_='foreignkey') op.drop_index(op.f('ix_access_actionsusers_user_id'), table_name='access_actionsusers') op.create_foreig...
Setter method for interface_reverse_metric mapped from YANG variable/ routing_system/ interface/ ve/ intf_isis/ interface_isis/ interface_reverse_metric ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_interface_reverse_metric is considered as a private method. Backends ...
def _set_interface_reverse_metric(self, v, load=False): """ Setter method for interface_reverse_metric, mapped from YANG variable /routing_system/interface/ve/intf_isis/interface_isis/interface_reverse_metric (container) If this variable is read-only (config: false) in the source YANG file, then _set_in...
Setter method for interface_auth_key mapped from YANG variable/ routing_system/ interface/ ve/ intf_isis/ interface_isis/ interface_auth_key ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_interface_auth_key is considered as a private method. Backends looking to populate thi...
def _set_interface_auth_key(self, v, load=False): """ Setter method for interface_auth_key, mapped from YANG variable /routing_system/interface/ve/intf_isis/interface_isis/interface_auth_key (list) If this variable is read-only (config: false) in the source YANG file, then _set_interface_auth_key is con...
Setter method for interface_hello mapped from YANG variable/ routing_system/ interface/ ve/ intf_isis/ interface_isis/ interface_hello ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_interface_hello is considered as a private method. Backends looking to populate this va...
def _set_interface_hello(self, v, load=False): """ Setter method for interface_hello, mapped from YANG variable /routing_system/interface/ve/intf_isis/interface_isis/interface_hello (container) If this variable is read-only (config: false) in the source YANG file, then _set_interface_hello is considered...
Setter method for interface_hello_interval mapped from YANG variable/ routing_system/ interface/ ve/ intf_isis/ interface_isis/ interface_hello_interval ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_interface_hello_interval is considered as a private method. Backends looki...
def _set_interface_hello_interval(self, v, load=False): """ Setter method for interface_hello_interval, mapped from YANG variable /routing_system/interface/ve/intf_isis/interface_isis/interface_hello_interval (list) If this variable is read-only (config: false) in the source YANG file, then _set_interfa...
Setter method for interface_hello_multiplier mapped from YANG variable/ routing_system/ interface/ ve/ intf_isis/ interface_isis/ interface_hello_multiplier ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_interface_hello_multiplier is considered as a private method. Backends...
def _set_interface_hello_multiplier(self, v, load=False): """ Setter method for interface_hello_multiplier, mapped from YANG variable /routing_system/interface/ve/intf_isis/interface_isis/interface_hello_multiplier (list) If this variable is read-only (config: false) in the source YANG file, then _set_i...
Setter method for circuit_type mapped from YANG variable/ routing_system/ interface/ ve/ intf_isis/ interface_isis/ circuit_type ( enumeration ) If this variable is read - only ( config: false ) in the source YANG file then _set_circuit_type is considered as a private method. Backends looking to populate this variable ...
def _set_circuit_type(self, v, load=False): """ Setter method for circuit_type, mapped from YANG variable /routing_system/interface/ve/intf_isis/interface_isis/circuit_type (enumeration) If this variable is read-only (config: false) in the source YANG file, then _set_circuit_type is considered as a priv...
Setter method for interface_ipv6 mapped from YANG variable/ routing_system/ interface/ ve/ intf_isis/ interface_isis/ interface_ipv6 ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_interface_ipv6 is considered as a private method. Backends looking to populate this varia...
def _set_interface_ipv6(self, v, load=False): """ Setter method for interface_ipv6, mapped from YANG variable /routing_system/interface/ve/intf_isis/interface_isis/interface_ipv6 (container) If this variable is read-only (config: false) in the source YANG file, then _set_interface_ipv6 is considered as ...
Setter method for interface_priority mapped from YANG variable/ routing_system/ interface/ ve/ intf_isis/ interface_isis/ interface_priority ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_interface_priority is considered as a private method. Backends looking to populat...
def _set_interface_priority(self, v, load=False): """ Setter method for interface_priority, mapped from YANG variable /routing_system/interface/ve/intf_isis/interface_isis/interface_priority (container) If this variable is read-only (config: false) in the source YANG file, then _set_interface_priority i...
Setter method for interface_bfd mapped from YANG variable/ routing_system/ interface/ ve/ intf_isis/ interface_isis/ interface_bfd ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_interface_bfd is considered as a private method. Backends looking to populate this variable...
def _set_interface_bfd(self, v, load=False): """ Setter method for interface_bfd, mapped from YANG variable /routing_system/interface/ve/intf_isis/interface_isis/interface_bfd (container) If this variable is read-only (config: false) in the source YANG file, then _set_interface_bfd is considered as a pr...
Setter method for dest_ethernet_val mapped from YANG variable/ monitor/ session/ span_command/ dest_ethernet_val ( span - if - type ) If this variable is read - only ( config: false ) in the source YANG file then _set_dest_ethernet_val is considered as a private method. Backends looking to populate this variable should...
def _set_dest_ethernet_val(self, v, load=False): """ Setter method for dest_ethernet_val, mapped from YANG variable /monitor/session/span_command/dest_ethernet_val (span-if-type) If this variable is read-only (config: false) in the source YANG file, then _set_dest_ethernet_val is considered as a private...
Setter method for direction mapped from YANG variable/ monitor/ session/ span_command/ direction ( enumeration ) If this variable is read - only ( config: false ) in the source YANG file then _set_direction is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _...
def _set_direction(self, v, load=False): """ Setter method for direction, mapped from YANG variable /monitor/session/span_command/direction (enumeration) If this variable is read-only (config: false) in the source YANG file, then _set_direction is considered as a private method. Backends looking to ...
Setter method for overlay_acl_in mapped from YANG variable/ overlay_gateway/ access_lists/ overlay_acl_in ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_overlay_acl_in is considered as a private method. Backends looking to populate this variable should do so via callin...
def _set_overlay_acl_in(self, v, load=False): """ Setter method for overlay_acl_in, mapped from YANG variable /overlay_gateway/access_lists/overlay_acl_in (container) If this variable is read-only (config: false) in the source YANG file, then _set_overlay_acl_in is considered as a private method. Ba...
Setter method for trunk mapped from YANG variable/ interface/ port_channel/ switchport/ private_vlan/ association/ trunk ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_trunk is considered as a private method. Backends looking to populate this variable should do so via calli...
def _set_trunk(self, v, load=False): """ Setter method for trunk, mapped from YANG variable /interface/port_channel/switchport/private_vlan/association/trunk (list) If this variable is read-only (config: false) in the source YANG file, then _set_trunk is considered as a private method. Backends look...
Run a specified BOT by label e. g. MyBot
def run(bot, config, settings): """Run a specified BOT by label e.g. 'MyBot'""" print_options(bot, config, settings) click.echo() bot_task = BotTask(bot, config) bot_task.run_once()