INSTRUCTION
stringlengths
1
8.43k
RESPONSE
stringlengths
75
104k
Setter method for root mapped from YANG variable/ rbridge_id/ root ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_root is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_root () directly.
def _set_root(self, v, load=False): """ Setter method for root, mapped from YANG variable /rbridge_id/root (container) If this variable is read-only (config: false) in the source YANG file, then _set_root is considered as a private method. Backends looking to populate this variable should do so ...
Setter method for vrrp mapped from YANG variable/ rbridge_id/ vrrp ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_vrrp is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_vrrp () directly.
def _set_vrrp(self, v, load=False): """ Setter method for vrrp, mapped from YANG variable /rbridge_id/vrrp (container) If this variable is read-only (config: false) in the source YANG file, then _set_vrrp is considered as a private method. Backends looking to populate this variable should do so ...
Setter method for system_max mapped from YANG variable/ rbridge_id/ system_max ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_system_max is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_system_max () d...
def _set_system_max(self, v, load=False): """ Setter method for system_max, mapped from YANG variable /rbridge_id/system_max (container) If this variable is read-only (config: false) in the source YANG file, then _set_system_max is considered as a private method. Backends looking to populate this va...
Setter method for arp_entry mapped from YANG variable/ rbridge_id/ arp_entry ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_arp_entry is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_arp_entry () directly.
def _set_arp_entry(self, v, load=False): """ Setter method for arp_entry, mapped from YANG variable /rbridge_id/arp_entry (list) If this variable is read-only (config: false) in the source YANG file, then _set_arp_entry is considered as a private method. Backends looking to populate this variable sh...
Setter method for bfd_session_setup_delay mapped from YANG variable/ rbridge_id/ bfd_session_setup_delay ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_bfd_session_setup_delay is considered as a private method. Backends looking to populate this variable should do so vi...
def _set_bfd_session_setup_delay(self, v, load=False): """ Setter method for bfd_session_setup_delay, mapped from YANG variable /rbridge_id/bfd_session_setup_delay (container) If this variable is read-only (config: false) in the source YANG file, then _set_bfd_session_setup_delay is considered as a priv...
Setter method for dhcpd mapped from YANG variable/ rbridge_id/ dhcpd ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_dhcpd is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_dhcpd () directly.
def _set_dhcpd(self, v, load=False): """ Setter method for dhcpd, mapped from YANG variable /rbridge_id/dhcpd (container) If this variable is read-only (config: false) in the source YANG file, then _set_dhcpd is considered as a private method. Backends looking to populate this variable should do...
Setter method for maps mapped from YANG variable/ rbridge_id/ maps ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_maps is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_maps () directly.
def _set_maps(self, v, load=False): """ Setter method for maps, mapped from YANG variable /rbridge_id/maps (container) If this variable is read-only (config: false) in the source YANG file, then _set_maps is considered as a private method. Backends looking to populate this variable should do so ...
Setter method for telnet mapped from YANG variable/ rbridge_id/ telnet ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_telnet is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_telnet () directly.
def _set_telnet(self, v, load=False): """ Setter method for telnet, mapped from YANG variable /rbridge_id/telnet (container) If this variable is read-only (config: false) in the source YANG file, then _set_telnet is considered as a private method. Backends looking to populate this variable should ...
Setter method for ssh mapped from YANG variable/ rbridge_id/ ssh ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_ssh is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_ssh () directly.
def _set_ssh(self, v, load=False): """ Setter method for ssh, mapped from YANG variable /rbridge_id/ssh (container) If this variable is read-only (config: false) in the source YANG file, then _set_ssh is considered as a private method. Backends looking to populate this variable should do so via ...
Setter method for nameserver_fc4s mapped from YANG variable/ brocade_nameserver_rpc/ get_nameserver_detail/ output/ show_nameserver/ nameserver_fc4s ( nameserver - fc4s - type ) If this variable is read - only ( config: false ) in the source YANG file then _set_nameserver_fc4s is considered as a private method. Backend...
def _set_nameserver_fc4s(self, v, load=False): """ Setter method for nameserver_fc4s, mapped from YANG variable /brocade_nameserver_rpc/get_nameserver_detail/output/show_nameserver/nameserver_fc4s (nameserver-fc4s-type) If this variable is read-only (config: false) in the source YANG file, then _set_nam...
Setter method for nameserver_devicetype mapped from YANG variable/ brocade_nameserver_rpc/ get_nameserver_detail/ output/ show_nameserver/ nameserver_devicetype ( nameserver - devicetype - type ) If this variable is read - only ( config: false ) in the source YANG file then _set_nameserver_devicetype is considered as a...
def _set_nameserver_devicetype(self, v, load=False): """ Setter method for nameserver_devicetype, mapped from YANG variable /brocade_nameserver_rpc/get_nameserver_detail/output/show_nameserver/nameserver_devicetype (nameserver-devicetype-type) If this variable is read-only (config: false) in the source ...
Setter method for nameserver_cos mapped from YANG variable/ brocade_nameserver_rpc/ get_nameserver_detail/ output/ show_nameserver/ nameserver_cos ( nameserver - cos - type ) If this variable is read - only ( config: false ) in the source YANG file then _set_nameserver_cos is considered as a private method. Backends lo...
def _set_nameserver_cos(self, v, load=False): """ Setter method for nameserver_cos, mapped from YANG variable /brocade_nameserver_rpc/get_nameserver_detail/output/show_nameserver/nameserver_cos (nameserver-cos-type) If this variable is read-only (config: false) in the source YANG file, then _set_nameser...
Setter method for get_ip_interface mapped from YANG variable/ brocade_interface_ext_rpc/ get_ip_interface ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_get_ip_interface is considered as a private method. Backends looking to populate this variable should do so via calling th...
def _set_get_ip_interface(self, v, load=False): """ Setter method for get_ip_interface, mapped from YANG variable /brocade_interface_ext_rpc/get_ip_interface (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_get_ip_interface is considered as a private method. Bac...
Setter method for get_media_detail mapped from YANG variable/ brocade_interface_ext_rpc/ get_media_detail ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_get_media_detail is considered as a private method. Backends looking to populate this variable should do so via calling th...
def _set_get_media_detail(self, v, load=False): """ Setter method for get_media_detail, mapped from YANG variable /brocade_interface_ext_rpc/get_media_detail (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_get_media_detail is considered as a private method. Bac...
Setter method for nport_interface mapped from YANG variable/ rbridge_id/ ag/ nport_menu/ nport_interface ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_nport_interface is considered as a private method. Backends looking to populate this variable should do so via callin...
def _set_nport_interface(self, v, load=False): """ Setter method for nport_interface, mapped from YANG variable /rbridge_id/ag/nport_menu/nport_interface (container) If this variable is read-only (config: false) in the source YANG file, then _set_nport_interface is considered as a private method. Ba...
Setter method for global_auto_bandwidth mapped from YANG variable/ mpls_config/ router/ mpls/ mpls_cmds_holder/ policy/ global_auto_bandwidth ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_global_auto_bandwidth is considered as a private method. Backends looking to pop...
def _set_global_auto_bandwidth(self, v, load=False): """ Setter method for global_auto_bandwidth, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/policy/global_auto_bandwidth (container) If this variable is read-only (config: false) in the source YANG file, then _set_global_auto_band...
Setter method for interface_dynamic_bypass_primary_path mapped from YANG variable/ mpls_config/ router/ mpls/ mpls_cmds_holder/ mpls_interface/ interface_dynamic_bypass/ mpls_interface_dynamic_bypass_sub_cmds/ interface_dynamic_bypass_primary_path ( string ) If this variable is read - only ( config: false ) in the sour...
def _set_interface_dynamic_bypass_primary_path(self, v, load=False): """ Setter method for interface_dynamic_bypass_primary_path, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/interface_dynamic_bypass/mpls_interface_dynamic_bypass_sub_cmds/interface_dynamic_bypass_primary_pa...
Setter method for interface_dynamic_bypass_name_prefix mapped from YANG variable/ mpls_config/ router/ mpls/ mpls_cmds_holder/ mpls_interface/ interface_dynamic_bypass/ mpls_interface_dynamic_bypass_sub_cmds/ interface_dynamic_bypass_name_prefix ( string ) If this variable is read - only ( config: false ) in the source...
def _set_interface_dynamic_bypass_name_prefix(self, v, load=False): """ Setter method for interface_dynamic_bypass_name_prefix, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/interface_dynamic_bypass/mpls_interface_dynamic_bypass_sub_cmds/interface_dynamic_bypass_name_prefix ...
Setter method for traffic_eng mapped from YANG variable/ mpls_config/ router/ mpls/ mpls_cmds_holder/ mpls_interface/ interface_dynamic_bypass/ mpls_interface_dynamic_bypass_sub_cmds/ traffic_eng ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_traffic_eng is considered ...
def _set_traffic_eng(self, v, load=False): """ Setter method for traffic_eng, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/mpls_interface/interface_dynamic_bypass/mpls_interface_dynamic_bypass_sub_cmds/traffic_eng (container) If this variable is read-only (config: false) in the so...
lista modulos con los distintos niveles a logear y su nivel de debug
def EXTRA_LOGGING(self): """ lista modulos con los distintos niveles a logear y su nivel de debug Por ejemplo: [Logs] EXTRA_LOGGING = oscar.paypal:DEBUG, django.db:INFO """ input_text = get('EXTRA_LOGGING', '') modules = input_text.spli...
Setter method for dscp mapped from YANG variable/ rbridge_id/ route_map/ content/ set/ ip/ dscp ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_dscp is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_dscp...
def _set_dscp(self, v, load=False): """ Setter method for dscp, mapped from YANG variable /rbridge_id/route_map/content/set/ip/dscp (container) If this variable is read-only (config: false) in the source YANG file, then _set_dscp is considered as a private method. Backends looking to populate this v...
Setter method for get_mac_address_table mapped from YANG variable/ brocade_mac_address_table_rpc/ get_mac_address_table ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_get_mac_address_table is considered as a private method. Backends looking to populate this variable should d...
def _set_get_mac_address_table(self, v, load=False): """ Setter method for get_mac_address_table, mapped from YANG variable /brocade_mac_address_table_rpc/get_mac_address_table (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_get_mac_address_table is considered as a...
Setter method for virtual_fabric mapped from YANG variable/ vcs/ virtual_fabric ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_virtual_fabric is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_virtual_fa...
def _set_virtual_fabric(self, v, load=False): """ Setter method for virtual_fabric, mapped from YANG variable /vcs/virtual_fabric (container) If this variable is read-only (config: false) in the source YANG file, then _set_virtual_fabric is considered as a private method. Backends looking to populat...
Setter method for auto_config_backup mapped from YANG variable/ vcs/ auto_config_backup ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_auto_config_backup is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _se...
def _set_auto_config_backup(self, v, load=False): """ Setter method for auto_config_backup, mapped from YANG variable /vcs/auto_config_backup (container) If this variable is read-only (config: false) in the source YANG file, then _set_auto_config_backup is considered as a private method. Backends lo...
Gets a NepDate object from gregorian calendar date
def from_ad_date(cls, date): """ Gets a NepDate object from gregorian calendar date """ functions.check_valid_ad_range(date) days = values.START_EN_DATE - date # Add the required number of days to the start nepali date start_date = NepDate(values.START_NP_YEAR, 1, 1) # N...
Create and update an NepDate object for bikram sambat date
def from_bs_date(cls, year, month, day): """ Create and update an NepDate object for bikram sambat date """ return NepDate(year, month, day).update()
Returns the events today
def events_list(self): """ Returns the events today """ evt = [] evt.extend(events.NEPALI_EVENTS[self.month, self.day]) evt.extend(events.ENGLISH_EVENTS[self.en_date.month, self.en_date.day]) return evt
Updates information about the NepDate
def update(self): """ Updates information about the NepDate """ functions.check_valid_bs_range(self) # Here's a trick to find the gregorian date: # We find the number of days from earliest nepali date to the current # day. We then add the number of days to the earliest english da...
Setter method for isns_vrf_instance mapped from YANG variable/ isns/ isns_vrf/ isns_vrf_instance ( isns - vrf - type ) If this variable is read - only ( config: false ) in the source YANG file then _set_isns_vrf_instance is considered as a private method. Backends looking to populate this variable should do so via call...
def _set_isns_vrf_instance(self, v, load=False): """ Setter method for isns_vrf_instance, mapped from YANG variable /isns/isns_vrf/isns_vrf_instance (isns-vrf-type) If this variable is read-only (config: false) in the source YANG file, then _set_isns_vrf_instance is considered as a private method. B...
Setter method for isns_ipaddress mapped from YANG variable/ isns/ isns_vrf/ isns_ipaddress ( inet: ip - address ) If this variable is read - only ( config: false ) in the source YANG file then _set_isns_ipaddress is considered as a private method. Backends looking to populate this variable should do so via calling this...
def _set_isns_ipaddress(self, v, load=False): """ Setter method for isns_ipaddress, mapped from YANG variable /isns/isns_vrf/isns_ipaddress (inet:ip-address) If this variable is read-only (config: false) in the source YANG file, then _set_isns_ipaddress is considered as a private method. Backends lo...
Setter method for esi_timeout mapped from YANG variable/ isns/ isns_vrf/ esi_timeout ( esi - time ) If this variable is read - only ( config: false ) in the source YANG file then _set_esi_timeout is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_esi_tim...
def _set_esi_timeout(self, v, load=False): """ Setter method for esi_timeout, mapped from YANG variable /isns/isns_vrf/esi_timeout (esi-time) If this variable is read-only (config: false) in the source YANG file, then _set_esi_timeout is considered as a private method. Backends looking to populate t...
Setter method for isns_discovery_domain mapped from YANG variable/ isns/ isns_vrf/ isns_discovery_domain ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_isns_discovery_domain is considered as a private method. Backends looking to populate this variable should do so via calli...
def _set_isns_discovery_domain(self, v, load=False): """ Setter method for isns_discovery_domain, mapped from YANG variable /isns/isns_vrf/isns_discovery_domain (list) If this variable is read-only (config: false) in the source YANG file, then _set_isns_discovery_domain is considered as a private me...
Setter method for isns_discovery_domain_set mapped from YANG variable/ isns/ isns_vrf/ isns_discovery_domain_set ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_isns_discovery_domain_set is considered as a private method. Backends looking to populate this variable should do ...
def _set_isns_discovery_domain_set(self, v, load=False): """ Setter method for isns_discovery_domain_set, mapped from YANG variable /isns/isns_vrf/isns_discovery_domain_set (list) If this variable is read-only (config: false) in the source YANG file, then _set_isns_discovery_domain_set is considered as ...
Setter method for ldp_protocol_errors_instance_total mapped from YANG variable/ mpls_state/ ldp/ ldp_session/ session_ldp_stats/ ldp_protocol_errors_instance_total ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_ldp_protocol_errors_instance_total is considered as a priv...
def _set_ldp_protocol_errors_instance_total(self, v, load=False): """ Setter method for ldp_protocol_errors_instance_total, mapped from YANG variable /mpls_state/ldp/ldp_session/session_ldp_stats/ldp_protocol_errors_instance_total (container) If this variable is read-only (config: false) in the source Y...
This module will spawn a radia job for each chromosome on the RNA and DNA. ARGUMENTS 1. rna_bam: Dict of input STAR bams rna_bam | - rnaAligned. sortedByCoord. out. bam: REFER run_star () | - rna_fix_pg_sorted. bam: <JSid > + - rna_fix_pg_sorted. bam. bai: <JSid > 2. tumor_bam: Dict of input tumor WGS/ WSQ bam + bai tu...
def spawn_radia(job, rna_bam, tumor_bam, normal_bam, univ_options, radia_options): """ This module will spawn a radia job for each chromosome, on the RNA and DNA. ARGUMENTS 1. rna_bam: Dict of input STAR bams rna_bam |- 'rnaAligned.sortedByCoord.out.bam': REFER run_star() ...
This module will spawn a mutect job for each chromosome on the DNA bams. ARGUMENTS 1. tumor_bam: Dict of input tumor WGS/ WSQ bam + bai tumor_bam | - tumor_fix_pg_sorted. bam: <JSid > + - tumor_fix_pg_sorted. bam. bai: <JSid > 2. normal_bam: Dict of input normal WGS/ WSQ bam + bai normal_bam | - normal_fix_pg_sorted. b...
def spawn_mutect(job, tumor_bam, normal_bam, univ_options, mutect_options): """ This module will spawn a mutect job for each chromosome on the DNA bams. ARGUMENTS 1. tumor_bam: Dict of input tumor WGS/WSQ bam + bai tumor_bam |- 'tumor_fix_pg_sorted.bam': <JSid> +- 't...
Downloads a supplied URL that points to an unencrypted unprotected file on Amazon S3. The file is downloaded and a subsequently written to the jobstore and the return value is a the path to the file in the jobstore.
def get_file_from_s3(job, s3_url, encryption_key=None, write_to_jobstore=True): """ Downloads a supplied URL that points to an unencrypted, unprotected file on Amazon S3. The file is downloaded and a subsequently written to the jobstore and the return value is a the path to the file in the jobstore. ...
Setter method for vni_add mapped from YANG variable/ rbridge_id/ evpn_instance/ vni/ vni_add ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_vni_add is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_vni_...
def _set_vni_add(self, v, load=False): """ Setter method for vni_add, mapped from YANG variable /rbridge_id/evpn_instance/vni/vni_add (container) If this variable is read-only (config: false) in the source YANG file, then _set_vni_add is considered as a private method. Backends looking to populate t...
Setter method for port_shaper mapped from YANG variable/ qos/ cpu/ slot/ port_group/ port/ port_shaper ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_port_shaper is considered as a private method. Backends looking to populate this variable should do so via calling this...
def _set_port_shaper(self, v, load=False): """ Setter method for port_shaper, mapped from YANG variable /qos/cpu/slot/port_group/port/port_shaper (container) If this variable is read-only (config: false) in the source YANG file, then _set_port_shaper is considered as a private method. Backends looki...
Setter method for in_exp mapped from YANG variable/ qos_mpls/ map/ inexp_outexp/ in_exp ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_in_exp is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_in_exp () direc...
def _set_in_exp(self, v, load=False): """ Setter method for in_exp, mapped from YANG variable /qos_mpls/map/inexp_outexp/in_exp (list) If this variable is read-only (config: false) in the source YANG file, then _set_in_exp is considered as a private method. Backends looking to populate this variable...
Setter method for active_on mapped from YANG variable/ overlay_policy_map_state/ active_on ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_active_on is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_acti...
def _set_active_on(self, v, load=False): """ Setter method for active_on, mapped from YANG variable /overlay_policy_map_state/active_on (container) If this variable is read-only (config: false) in the source YANG file, then _set_active_on is considered as a private method. Backends looking to popula...
Setter method for igp_sync mapped from YANG variable/ mpls_state/ rsvp/ igp_sync ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_igp_sync is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_igp_sync () dir...
def _set_igp_sync(self, v, load=False): """ Setter method for igp_sync, mapped from YANG variable /mpls_state/rsvp/igp_sync (container) If this variable is read-only (config: false) in the source YANG file, then _set_igp_sync is considered as a private method. Backends looking to populate this varia...
Setter method for extcommunity mapped from YANG variable/ routing_system/ route_map/ content/ set/ extcommunity ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_extcommunity is considered as a private method. Backends looking to populate this variable should do so via ca...
def _set_extcommunity(self, v, load=False): """ Setter method for extcommunity, mapped from YANG variable /routing_system/route_map/content/set/extcommunity (container) If this variable is read-only (config: false) in the source YANG file, then _set_extcommunity is considered as a private method. Ba...
Setter method for community mapped from YANG variable/ routing_system/ route_map/ content/ set/ community ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_community is considered as a private method. Backends looking to populate this variable should do so via calling thi...
def _set_community(self, v, load=False): """ Setter method for community, mapped from YANG variable /routing_system/route_map/content/set/community (container) If this variable is read-only (config: false) in the source YANG file, then _set_community is considered as a private method. Backends looki...
Setter method for weight mapped from YANG variable/ routing_system/ route_map/ content/ set/ weight ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_weight is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _se...
def _set_weight(self, v, load=False): """ Setter method for weight, mapped from YANG variable /routing_system/route_map/content/set/weight (container) If this variable is read-only (config: false) in the source YANG file, then _set_weight is considered as a private method. Backends looking to popula...
Setter method for automatic_tag mapped from YANG variable/ routing_system/ route_map/ content/ set/ automatic_tag ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_automatic_tag is considered as a private method. Backends looking to populate this variable should do so via...
def _set_automatic_tag(self, v, load=False): """ Setter method for automatic_tag, mapped from YANG variable /routing_system/route_map/content/set/automatic_tag (container) If this variable is read-only (config: false) in the source YANG file, then _set_automatic_tag is considered as a private method...
Setter method for local_preference mapped from YANG variable/ routing_system/ route_map/ content/ set/ local_preference ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_local_preference is considered as a private method. Backends looking to populate this variable should ...
def _set_local_preference(self, v, load=False): """ Setter method for local_preference, mapped from YANG variable /routing_system/route_map/content/set/local_preference (container) If this variable is read-only (config: false) in the source YANG file, then _set_local_preference is considered as a privat...
Setter method for origin mapped from YANG variable/ routing_system/ route_map/ content/ set/ origin ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_origin is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _se...
def _set_origin(self, v, load=False): """ Setter method for origin, mapped from YANG variable /routing_system/route_map/content/set/origin (container) If this variable is read-only (config: false) in the source YANG file, then _set_origin is considered as a private method. Backends looking to popula...
Setter method for metric_type mapped from YANG variable/ routing_system/ route_map/ content/ set/ metric_type ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_metric_type is considered as a private method. Backends looking to populate this variable should do so via calli...
def _set_metric_type(self, v, load=False): """ Setter method for metric_type, mapped from YANG variable /routing_system/route_map/content/set/metric_type (container) If this variable is read-only (config: false) in the source YANG file, then _set_metric_type is considered as a private method. Backen...
Setter method for bd_add mapped from YANG variable/ routing_system/ evpn_config/ evpn/ evpn_instance/ bridge_domain/ bd_add ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_bd_add is considered as a private method. Backends looking to populate this variable should do so ...
def _set_bd_add(self, v, load=False): """ Setter method for bd_add, mapped from YANG variable /routing_system/evpn_config/evpn/evpn_instance/bridge_domain/bd_add (container) If this variable is read-only (config: false) in the source YANG file, then _set_bd_add is considered as a private method. Bac...
Setter method for evpn_bd mapped from YANG variable/ routing_system/ evpn_config/ evpn/ evpn_instance/ bridge_domain/ evpn_bd ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_evpn_bd is considered as a private method. Backends looking to populate this variable should do so vi...
def _set_evpn_bd(self, v, load=False): """ Setter method for evpn_bd, mapped from YANG variable /routing_system/evpn_config/evpn/evpn_instance/bridge_domain/evpn_bd (list) If this variable is read-only (config: false) in the source YANG file, then _set_evpn_bd is considered as a private method. Back...
Setter method for portfast mapped from YANG variable/ interface/ port_channel/ spanning_tree/ portfast ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_portfast is considered as a private method. Backends looking to populate this variable should do so via calling thisObj...
def _set_portfast(self, v, load=False): """ Setter method for portfast, mapped from YANG variable /interface/port_channel/spanning_tree/portfast (container) If this variable is read-only (config: false) in the source YANG file, then _set_portfast is considered as a private method. Backends looking t...
Setter method for edgeport mapped from YANG variable/ interface/ port_channel/ spanning_tree/ edgeport ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_edgeport is considered as a private method. Backends looking to populate this variable should do so via calling thisObj...
def _set_edgeport(self, v, load=False): """ Setter method for edgeport, mapped from YANG variable /interface/port_channel/spanning_tree/edgeport (container) If this variable is read-only (config: false) in the source YANG file, then _set_edgeport is considered as a private method. Backends looking t...
Setter method for guard mapped from YANG variable/ interface/ port_channel/ spanning_tree/ guard ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_guard is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_gu...
def _set_guard(self, v, load=False): """ Setter method for guard, mapped from YANG variable /interface/port_channel/spanning_tree/guard (container) If this variable is read-only (config: false) in the source YANG file, then _set_guard is considered as a private method. Backends looking to populate t...
Setter method for bpdu_mac mapped from YANG variable/ interface/ port_channel/ spanning_tree/ bpdu_mac ( enumeration ) If this variable is read - only ( config: false ) in the source YANG file then _set_bpdu_mac is considered as a private method. Backends looking to populate this variable should do so via calling thisO...
def _set_bpdu_mac(self, v, load=False): """ Setter method for bpdu_mac, mapped from YANG variable /interface/port_channel/spanning_tree/bpdu_mac (enumeration) If this variable is read-only (config: false) in the source YANG file, then _set_bpdu_mac is considered as a private method. Backends looking...
Setter method for restricted_role mapped from YANG variable/ interface/ port_channel/ spanning_tree/ restricted_role ( empty ) If this variable is read - only ( config: false ) in the source YANG file then _set_restricted_role is considered as a private method. Backends looking to populate this variable should do so vi...
def _set_restricted_role(self, v, load=False): """ Setter method for restricted_role, mapped from YANG variable /interface/port_channel/spanning_tree/restricted_role (empty) If this variable is read-only (config: false) in the source YANG file, then _set_restricted_role is considered as a private me...
Setter method for instance mapped from YANG variable/ interface/ port_channel/ spanning_tree/ 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. _se...
def _set_instance(self, v, load=False): """ Setter method for instance, mapped from YANG variable /interface/port_channel/spanning_tree/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 pop...
Setter method for information mapped from YANG variable/ routing_system/ ip/ dhcp/ relay/ information ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_information is considered as a private method. Backends looking to populate this variable should do so via calling thisO...
def _set_information(self, v, load=False): """ Setter method for information, mapped from YANG variable /routing_system/ip/dhcp/relay/information (container) If this variable is read-only (config: false) in the source YANG file, then _set_information is considered as a private method. Backends looki...
Setter method for dns_server_global mapped from YANG variable/ ipv6/ ipv6_global_cmds/ nd_global/ dns_server_global ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_dns_server_global is considered as a private method. Backends looking to populate this variable should do so vi...
def _set_dns_server_global(self, v, load=False): """ Setter method for dns_server_global, mapped from YANG variable /ipv6/ipv6_global_cmds/nd_global/dns_server_global (list) If this variable is read-only (config: false) in the source YANG file, then _set_dns_server_global is considered as a private ...
Setter method for domain_name_global mapped from YANG variable/ ipv6/ ipv6_global_cmds/ nd_global/ domain_name_global ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_domain_name_global is considered as a private method. Backends looking to populate this variable should do so...
def _set_domain_name_global(self, v, load=False): """ Setter method for domain_name_global, mapped from YANG variable /ipv6/ipv6_global_cmds/nd_global/domain_name_global (list) If this variable is read-only (config: false) in the source YANG file, then _set_domain_name_global is considered as a private ...
Setter method for show_mpls_te_path mapped from YANG variable/ brocade_mpls_rpc/ show_mpls_te_path ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_show_mpls_te_path is considered as a private method. Backends looking to populate this variable should do so via calling thisObj....
def _set_show_mpls_te_path(self, v, load=False): """ Setter method for show_mpls_te_path, mapped from YANG variable /brocade_mpls_rpc/show_mpls_te_path (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_te_path is considered as a private method. Backends...
Setter method for show_mpls_ldp_targeted_peer_one mapped from YANG variable/ brocade_mpls_rpc/ show_mpls_ldp_targeted_peer_one ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_show_mpls_ldp_targeted_peer_one is considered as a private method. Backends looking to populate this ...
def _set_show_mpls_ldp_targeted_peer_one(self, v, load=False): """ Setter method for show_mpls_ldp_targeted_peer_one, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_targeted_peer_one (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_ldp_targeted_...
Setter method for show_mpls_ldp_peer_br mapped from YANG variable/ brocade_mpls_rpc/ show_mpls_ldp_peer_br ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_show_mpls_ldp_peer_br is considered as a private method. Backends looking to populate this variable should do so via call...
def _set_show_mpls_ldp_peer_br(self, v, load=False): """ Setter method for show_mpls_ldp_peer_br, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_peer_br (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_ldp_peer_br is considered as a private ...
Setter method for show_mpls_interface_one_interface mapped from YANG variable/ brocade_mpls_rpc/ show_mpls_interface_one_interface ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_show_mpls_interface_one_interface is considered as a private method. Backends looking to populate...
def _set_show_mpls_interface_one_interface(self, v, load=False): """ Setter method for show_mpls_interface_one_interface, mapped from YANG variable /brocade_mpls_rpc/show_mpls_interface_one_interface (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_interfa...
Setter method for show_mpls_rsvp_statistics mapped from YANG variable/ brocade_mpls_rpc/ show_mpls_rsvp_statistics ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_show_mpls_rsvp_statistics is considered as a private method. Backends looking to populate this variable should do...
def _set_show_mpls_rsvp_statistics(self, v, load=False): """ Setter method for show_mpls_rsvp_statistics, mapped from YANG variable /brocade_mpls_rpc/show_mpls_rsvp_statistics (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_rsvp_statistics is considered a...
Setter method for show_mpls_ldp_statistics mapped from YANG variable/ brocade_mpls_rpc/ show_mpls_ldp_statistics ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_show_mpls_ldp_statistics is considered as a private method. Backends looking to populate this variable should do so...
def _set_show_mpls_ldp_statistics(self, v, load=False): """ Setter method for show_mpls_ldp_statistics, mapped from YANG variable /brocade_mpls_rpc/show_mpls_ldp_statistics (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_ldp_statistics is considered as a ...
Setter method for show_mpls_rsvp_session_wide mapped from YANG variable/ brocade_mpls_rpc/ show_mpls_rsvp_session_wide ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_show_mpls_rsvp_session_wide is considered as a private method. Backends looking to populate this variable sho...
def _set_show_mpls_rsvp_session_wide(self, v, load=False): """ Setter method for show_mpls_rsvp_session_wide, mapped from YANG variable /brocade_mpls_rpc/show_mpls_rsvp_session_wide (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_rsvp_session_wide is cons...
Setter method for show_mpls_lsp_name_debug mapped from YANG variable/ brocade_mpls_rpc/ show_mpls_lsp_name_debug ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_show_mpls_lsp_name_debug is considered as a private method. Backends looking to populate this variable should do so...
def _set_show_mpls_lsp_name_debug(self, v, load=False): """ Setter method for show_mpls_lsp_name_debug, mapped from YANG variable /brocade_mpls_rpc/show_mpls_lsp_name_debug (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_lsp_name_debug is considered as a ...
Setter method for show_mpls_route mapped from YANG variable/ brocade_mpls_rpc/ show_mpls_route ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_show_mpls_route is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_...
def _set_show_mpls_route(self, v, load=False): """ Setter method for show_mpls_route, mapped from YANG variable /brocade_mpls_rpc/show_mpls_route (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_show_mpls_route is considered as a private method. Backends looking...
Setter method for clear_mpls_lsp mapped from YANG variable/ brocade_mpls_rpc/ clear_mpls_lsp ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_clear_mpls_lsp is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_cle...
def _set_clear_mpls_lsp(self, v, load=False): """ Setter method for clear_mpls_lsp, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_lsp (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_lsp is considered as a private method. Backends looking to ...
Setter method for mpls_reopt_lsp mapped from YANG variable/ brocade_mpls_rpc/ mpls_reopt_lsp ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_mpls_reopt_lsp is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_mpl...
def _set_mpls_reopt_lsp(self, v, load=False): """ Setter method for mpls_reopt_lsp, mapped from YANG variable /brocade_mpls_rpc/mpls_reopt_lsp (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_mpls_reopt_lsp is considered as a private method. Backends looking to ...
Setter method for clear_mpls_rsvp_statistics mapped from YANG variable/ brocade_mpls_rpc/ clear_mpls_rsvp_statistics ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_clear_mpls_rsvp_statistics is considered as a private method. Backends looking to populate this variable should...
def _set_clear_mpls_rsvp_statistics(self, v, load=False): """ Setter method for clear_mpls_rsvp_statistics, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_rsvp_statistics (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_rsvp_statistics is consider...
Setter method for clear_mpls_rsvp_statistics_neighbor mapped from YANG variable/ brocade_mpls_rpc/ clear_mpls_rsvp_statistics_neighbor ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_clear_mpls_rsvp_statistics_neighbor is considered as a private method. Backends looking to po...
def _set_clear_mpls_rsvp_statistics_neighbor(self, v, load=False): """ Setter method for clear_mpls_rsvp_statistics_neighbor, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_rsvp_statistics_neighbor (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_...
Setter method for clear_mpls_ldp_statistics mapped from YANG variable/ brocade_mpls_rpc/ clear_mpls_ldp_statistics ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_clear_mpls_ldp_statistics is considered as a private method. Backends looking to populate this variable should do...
def _set_clear_mpls_ldp_statistics(self, v, load=False): """ Setter method for clear_mpls_ldp_statistics, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_ldp_statistics (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_ldp_statistics is considered a...
Setter method for clear_mpls_statistics mapped from YANG variable/ brocade_mpls_rpc/ clear_mpls_statistics ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_clear_mpls_statistics is considered as a private method. Backends looking to populate this variable should do so via call...
def _set_clear_mpls_statistics(self, v, load=False): """ Setter method for clear_mpls_statistics, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_statistics (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_statistics is considered as a private ...
Setter method for clear_mpls_statistics_ldp_tunnel mapped from YANG variable/ brocade_mpls_rpc/ clear_mpls_statistics_ldp_tunnel ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_clear_mpls_statistics_ldp_tunnel is considered as a private method. Backends looking to populate th...
def _set_clear_mpls_statistics_ldp_tunnel(self, v, load=False): """ Setter method for clear_mpls_statistics_ldp_tunnel, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_statistics_ldp_tunnel (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_statistic...
Setter method for clear_mpls_ldp_neighbor mapped from YANG variable/ brocade_mpls_rpc/ clear_mpls_ldp_neighbor ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_clear_mpls_ldp_neighbor is considered as a private method. Backends looking to populate this variable should do so vi...
def _set_clear_mpls_ldp_neighbor(self, v, load=False): """ Setter method for clear_mpls_ldp_neighbor, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_ldp_neighbor (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_clear_mpls_ldp_neighbor is considered as a priv...
Setter method for clear_mpls_auto_bandwidth_statistics_lsp mapped from YANG variable/ brocade_mpls_rpc/ clear_mpls_auto_bandwidth_statistics_lsp ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_clear_mpls_auto_bandwidth_statistics_lsp is considered as a private method. Backend...
def _set_clear_mpls_auto_bandwidth_statistics_lsp(self, v, load=False): """ Setter method for clear_mpls_auto_bandwidth_statistics_lsp, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_auto_bandwidth_statistics_lsp (rpc) If this variable is read-only (config: false) in the source YANG file, then _...
Setter method for clear_mpls_auto_bandwidth_sample_history_lsp mapped from YANG variable/ brocade_mpls_rpc/ clear_mpls_auto_bandwidth_sample_history_lsp ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_clear_mpls_auto_bandwidth_sample_history_lsp is considered as a private met...
def _set_clear_mpls_auto_bandwidth_sample_history_lsp(self, v, load=False): """ Setter method for clear_mpls_auto_bandwidth_sample_history_lsp, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_auto_bandwidth_sample_history_lsp (rpc) If this variable is read-only (config: false) in the source YANG ...
Setter method for clear_mpls_auto_bandwidth_statistics_all mapped from YANG variable/ brocade_mpls_rpc/ clear_mpls_auto_bandwidth_statistics_all ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_clear_mpls_auto_bandwidth_statistics_all is considered as a private method. Backend...
def _set_clear_mpls_auto_bandwidth_statistics_all(self, v, load=False): """ Setter method for clear_mpls_auto_bandwidth_statistics_all, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_auto_bandwidth_statistics_all (rpc) If this variable is read-only (config: false) in the source YANG file, then _...
Setter method for clear_mpls_auto_bandwidth_sample_history_all mapped from YANG variable/ brocade_mpls_rpc/ clear_mpls_auto_bandwidth_sample_history_all ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_clear_mpls_auto_bandwidth_sample_history_all is considered as a private met...
def _set_clear_mpls_auto_bandwidth_sample_history_all(self, v, load=False): """ Setter method for clear_mpls_auto_bandwidth_sample_history_all, mapped from YANG variable /brocade_mpls_rpc/clear_mpls_auto_bandwidth_sample_history_all (rpc) If this variable is read-only (config: false) in the source YANG ...
Setter method for mpls_adjust_bandwidth_lsp mapped from YANG variable/ brocade_mpls_rpc/ mpls_adjust_bandwidth_lsp ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_mpls_adjust_bandwidth_lsp is considered as a private method. Backends looking to populate this variable should do...
def _set_mpls_adjust_bandwidth_lsp(self, v, load=False): """ Setter method for mpls_adjust_bandwidth_lsp, mapped from YANG variable /brocade_mpls_rpc/mpls_adjust_bandwidth_lsp (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_mpls_adjust_bandwidth_lsp is considered a...
Setter method for mpls_adjust_bandwidth_lsp_all mapped from YANG variable/ brocade_mpls_rpc/ mpls_adjust_bandwidth_lsp_all ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_mpls_adjust_bandwidth_lsp_all is considered as a private method. Backends looking to populate this variab...
def _set_mpls_adjust_bandwidth_lsp_all(self, v, load=False): """ Setter method for mpls_adjust_bandwidth_lsp_all, mapped from YANG variable /brocade_mpls_rpc/mpls_adjust_bandwidth_lsp_all (rpc) If this variable is read-only (config: false) in the source YANG file, then _set_mpls_adjust_bandwidth_lsp_all...
Setter method for system_id mapped from YANG variable/ protocol/ spanning_tree/ rpvst/ system_id ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_system_id is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _se...
def _set_system_id(self, v, load=False): """ Setter method for system_id, mapped from YANG variable /protocol/spanning_tree/rpvst/system_id (container) If this variable is read-only (config: false) in the source YANG file, then _set_system_id is considered as a private method. Backends looking to po...
Setter method for protected_vlans mapped from YANG variable/ interface/ ethernet/ openflow/ protected_vlans ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_protected_vlans is considered as a private method. Backends looking to populate this variable should do so via cal...
def _set_protected_vlans(self, v, load=False): """ Setter method for protected_vlans, mapped from YANG variable /interface/ethernet/openflow/protected_vlans (container) If this variable is read-only (config: false) in the source YANG file, then _set_protected_vlans is considered as a private method....
Setter method for enableInterfaceLevel mapped from YANG variable/ interface/ ethernet/ openflow/ enableInterfaceLevel ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_enableInterfaceLevel is considered as a private method. Backends looking to populate this variable shoul...
def _set_enableInterfaceLevel(self, v, load=False): """ Setter method for enableInterfaceLevel, mapped from YANG variable /interface/ethernet/openflow/enableInterfaceLevel (container) If this variable is read-only (config: false) in the source YANG file, then _set_enableInterfaceLevel is considered as a...
Setter method for multicast_ssm_mapping mapped from YANG variable/ igmp_snooping_state/ multicast_ssm_mapping ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_multicast_ssm_mapping is considered as a private method. Backends looking to populate this variable should do so...
def _set_multicast_ssm_mapping(self, v, load=False): """ Setter method for multicast_ssm_mapping, mapped from YANG variable /igmp_snooping_state/multicast_ssm_mapping (container) If this variable is read-only (config: false) in the source YANG file, then _set_multicast_ssm_mapping is considered as a pri...
Setter method for igmp_statistics mapped from YANG variable/ igmp_snooping_state/ igmp_statistics ( container ) 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 do so via calling thisO...
def _set_igmp_statistics(self, v, load=False): """ Setter method for igmp_statistics, mapped from YANG variable /igmp_snooping_state/igmp_statistics (container) If this variable is read-only (config: false) in the source YANG file, then _set_igmp_statistics is considered as a private method. Backend...
Setter method for debug_igmp mapped from YANG variable/ igmp_snooping_state/ debug_igmp ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_debug_igmp is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_debug_...
def _set_debug_igmp(self, v, load=False): """ Setter method for debug_igmp, mapped from YANG variable /igmp_snooping_state/debug_igmp (container) If this variable is read-only (config: false) in the source YANG file, then _set_debug_igmp is considered as a private method. Backends looking to populat...
Setter method for igmp_interface_statistics mapped from YANG variable/ igmp_snooping_state/ igmp_interface_statistics ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_igmp_interface_statistics is considered as a private method. Backends looking to populate this variable ...
def _set_igmp_interface_statistics(self, v, load=False): """ Setter method for igmp_interface_statistics, mapped from YANG variable /igmp_snooping_state/igmp_interface_statistics (container) If this variable is read-only (config: false) in the source YANG file, then _set_igmp_interface_statistics is con...
Setter method for af_ipv4_neighbor_addr mapped from YANG variable/ rbridge_id/ router/ router_bgp/ address_family/ ipv4/ ipv4_unicast/ af_vrf/ neighbor/ af_ipv4_vrf_neighbor_address_holder/ af_ipv4_neighbor_addr ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_af_ipv4_neighbo...
def _set_af_ipv4_neighbor_addr(self, v, load=False): """ Setter method for af_ipv4_neighbor_addr, mapped from YANG variable /rbridge_id/router/router_bgp/address_family/ipv4/ipv4_unicast/af_vrf/neighbor/af_ipv4_vrf_neighbor_address_holder/af_ipv4_neighbor_addr (list) If this variable is read-only (config: f...
Helper function for spatial lookups filters.
def filter_geometry(queryset, **filters): """Helper function for spatial lookups filters. Provide spatial lookup types as keywords without underscores instead of the usual "geometryfield__lookuptype" format. """ fieldname = geo_field(queryset).name query = {'%s__%s' % (fieldname, k): v for k, v...
Returns the GeometryField for a django or spillway GeoQuerySet.
def geo_field(queryset): """Returns the GeometryField for a django or spillway GeoQuerySet.""" for field in queryset.model._meta.fields: if isinstance(field, models.GeometryField): return field raise exceptions.FieldDoesNotExist('No GeometryField found')
Returns the GeoQuerySet spatial reference identifier.
def get_srid(queryset): """Returns the GeoQuerySet spatial reference identifier.""" try: srid = list(six.viewvalues(queryset.query.annotations))[0].srid except (AttributeError, IndexError): srid = None return srid or geo_field(queryset).srid
Returns a 1D array with higher dimensions aggregated using stat fn.
def agg_dims(arr, stat): """Returns a 1D array with higher dimensions aggregated using stat fn. Arguments: arr -- ndarray stat -- numpy or numpy.ma function as str to call """ axis = None if arr.ndim > 2: axis = 1 arr = arr.reshape(arr.shape[0], -1) module = np.ma if has...
Returns the GeoQuerySet extent as a 4 - tuple.
def extent(self, srid=None): """Returns the GeoQuerySet extent as a 4-tuple. Keyword args: srid -- EPSG id for for transforming the output geometry. """ expr = self.geo_field.name if srid: expr = geofn.Transform(expr, srid) expr = models.Extent(expr) ...
Returns tranlated and scaled geometries suitable for Mapbox vector tiles.
def pbf(self, bbox, geo_col=None, scale=4096): """Returns tranlated and scaled geometries suitable for Mapbox vector tiles. """ col = geo_col or self.geo_field.name w, s, e, n = bbox.extent trans = self._trans_scale(col, -w, -s, scale / (...
Returns a GeoQuerySet intersecting a tile boundary.
def tile(self, bbox, z=0, format=None, clip=True): """Returns a GeoQuerySet intersecting a tile boundary. Arguments: bbox -- tile extent as geometry Keyword args: z -- tile zoom level used as basis for geometry simplification format -- vector tile format as str (pbf, geo...
Returns a list of ndarrays.
def arrays(self, field_name=None): """Returns a list of ndarrays. Keyword args: field_name -- raster field name as str """ fieldname = field_name or self.raster_field.name arrays = [] for obj in self: arr = getattr(obj, fieldname) if isins...
Returns list of ndarrays averaged to a given number of periods.
def aggregate_periods(self, periods): """Returns list of ndarrays averaged to a given number of periods. Arguments: periods -- desired number of periods as int """ try: fieldname = self.raster_field.name except TypeError: raise exceptions.FieldDoe...