code string | signature string | docstring string | loss_without_docstring float64 | loss_with_docstring float64 | factor float64 |
|---|---|---|---|---|---|
int_type = kwargs.pop('int_type').lower()
name = kwargs.pop('name')
pri_vlan = kwargs.pop('pri_vlan')
sec_vlan = kwargs.pop('sec_vlan')
callback = kwargs.pop('callback', self._callback)
int_types = ['gigabitethernet', 'tengigabitethernet',
'... | def pvlan_host_association(self, **kwargs) | Set interface PVLAN association.
Args:
int_type (str): Type of interface. (gigabitethernet,
tengigabitethernet, etc)
name (str): Name of interface. (1/0/5, 1/0/10, etc)
pri_vlan (str): The primary PVLAN.
sec_vlan (str): The secondary PVLAN.
... | 2.453207 | 2.160932 | 1.135254 |
int_type = kwargs.pop('int_type').lower()
name = kwargs.pop('name')
mode = kwargs.pop('mode').lower()
callback = kwargs.pop('callback', self._callback)
int_types = ['gigabitethernet', 'tengigabitethernet',
'fortygigabitethernet', 'hundredgigabitethe... | def private_vlan_mode(self, **kwargs) | Set PVLAN mode (promiscuous, host, trunk).
Args:
int_type (str): Type of interface. (gigabitethernet,
tengigabitethernet, etc)
name (str): Name of interface. (1/0/5, 1/0/10, etc)
mode (str): The switchport PVLAN mode.
callback (function): A functi... | 2.374472 | 2.102971 | 1.129104 |
int_type = kwargs.pop('int_type').lower()
name = kwargs.pop('name')
enabled = kwargs.pop('enabled', True)
callback = kwargs.pop('callback', self._callback)
int_types = ['gigabitethernet', 'tengigabitethernet',
'fortygigabitethernet', 'hundredgigabit... | def tag_native_vlan(self, **kwargs) | Set tagging of native VLAN on trunk.
Args:
int_type (str): Type of interface. (gigabitethernet,
tengigabitethernet, etc)
name (str): Name of interface. (1/0/5, 1/0/10, etc)
mode (str): Trunk port mode (trunk, trunk-no-default-native).
enabled (boo... | 2.812041 | 2.655574 | 1.05892 |
int_type = kwargs.pop('int_type').lower()
name = kwargs.pop('name')
pri_vlan = kwargs.pop('pri_vlan')
sec_vlan = kwargs.pop('sec_vlan')
callback = kwargs.pop('callback', self._callback)
int_types = ['gigabitethernet', 'tengigabitethernet',
'f... | def switchport_pvlan_mapping(self, **kwargs) | Switchport private VLAN mapping.
Args:
int_type (str): Type of interface. (gigabitethernet,
tengigabitethernet, etc)
name (str): Name of interface. (1/0/5, 1/0/10, etc)
pri_vlan (str): The primary PVLAN.
sec_vlan (str): The secondary PVLAN.
... | 2.250435 | 2.037383 | 1.104572 |
int_type = kwargs.pop('int_type').lower()
name = kwargs.pop('name')
mtu = kwargs.pop('mtu')
callback = kwargs.pop('callback', self._callback)
int_types = [
'gigabitethernet',
'tengigabitethernet',
'fortygigabitethernet',
'... | def mtu(self, **kwargs) | Set interface mtu.
Args:
int_type (str): Type of interface. (gigabitethernet,
tengigabitethernet, etc)
name (str): Name of interface. (1/0/5, 1/0/10, etc)
mtu (str): Value between 1522 and 9216
callback (function): A function executed upon complet... | 2.395994 | 2.112754 | 1.134062 |
int_type = str(kwargs.pop('int_type').lower())
name = str(kwargs.pop('name'))
enabled = kwargs.pop('enabled', True)
callback = kwargs.pop('callback', self._callback)
int_types = [
'tengigabitethernet',
'fortygigabitethernet',
'hundred... | def fabric_isl(self, **kwargs) | Set fabric ISL state.
Args:
int_type (str): Type of interface. (gigabitethernet,
tengigabitethernet, etc)
name (str): Name of interface. (1/0/5, 1/0/10, etc)
enabled (bool): Is fabric ISL state enabled? (True, False)
get (bool): Get config instead... | 2.545925 | 2.292358 | 1.110614 |
int_type = str(kwargs.pop('int_type').lower())
name = str(kwargs.pop('name'))
callback = kwargs.pop('callback', self._callback)
int_types = [
'gigabitethernet',
'tengigabitethernet',
'fortygigabitethernet',
'hundredgigabitethernet... | def v6_nd_suppress_ra(self, **kwargs) | Disable IPv6 Router Advertisements
Args:
int_type (str): Type of interface. (gigabitethernet,
tengigabitethernet, etc)
name (str): Name of interface. (1/0/5, 1/0/10, etc)
rbridge_id (str): rbridge-id for device. Only required when type is
`ve`... | 2.247805 | 2.072668 | 1.084498 |
int_type = kwargs.pop('int_type').lower()
name = kwargs.pop('name')
enabled = kwargs.pop('enabled', True)
rbridge_id = kwargs.pop('rbridge_id', '1')
callback = kwargs.pop('callback', self._callback)
valid_int_types = ['gigabitethernet', 'tengigabitethernet',
... | def proxy_arp(self, **kwargs) | Set interface administrative state.
Args:
int_type (str): Type of interface. (gigabitethernet,
tengigabitethernet, etc).
name (str): Name of interface. (1/0/5, 1/0/10, etc).
enabled (bool): Is proxy-arp enabled? (True, False)
rbridge_id (str): rbr... | 2.266585 | 2.146659 | 1.055866 |
name = str(kwargs.pop('name'))
minimum_links = str(kwargs.pop('minimum_links'))
callback = kwargs.pop('callback', self._callback)
min_links_args = dict(name=name, minimum_links=minimum_links)
if not pynos.utilities.valid_interface('port_channel', name):
rai... | def port_channel_minimum_links(self, **kwargs) | Set minimum number of links in a port channel.
Args:
name (str): Port-channel number. (1, 5, etc)
minimum_links (str): Minimum number of links in channel group.
callback (function): A function executed upon completion of the
method. The only parameter passed... | 3.469539 | 3.366198 | 1.030699 |
int_type = kwargs.pop('int_type').lower()
name = kwargs.pop('name')
channel_type = kwargs.pop('channel_type')
port_int = kwargs.pop('port_int')
mode = kwargs.pop('mode')
delete = kwargs.pop('delete', False)
callback = kwargs.pop('callback', self._callback... | def channel_group(self, **kwargs) | set channel group mode.
args:
int_type (str): type of interface. (gigabitethernet,
tengigabitethernet, etc)
name (str): name of interface. (1/0/5, 1/0/10, etc)
port_int (str): port-channel number (1, 2, 3, etc).
channel_type (str): tiype of port-c... | 2.196606 | 1.861284 | 1.180157 |
name = str(kwargs.pop('name'))
enabled = bool(kwargs.pop('enabled', True))
callback = kwargs.pop('callback', self._callback)
vlag_ignore_args = dict(name=name)
if not pynos.utilities.valid_interface('port_channel', name):
raise ValueError("`name` must match... | def port_channel_vlag_ignore_split(self, **kwargs) | Ignore VLAG Split.
Args:
name (str): Port-channel number. (1, 5, etc)
enabled (bool): Is ignore split enabled? (True, False)
callback (function): A function executed upon completion of the
method. The only parameter passed to `callback` will be the
... | 3.509658 | 3.578429 | 0.980782 |
int_type = kwargs.pop('int_type').lower()
name = kwargs.pop('name')
mode = kwargs.pop('mode').lower()
get = kwargs.pop('get', False)
callback = kwargs.pop('callback', self._callback)
int_types = ['gigabitethernet', 'tengigabitethernet',
'fort... | def trunk_mode(self, **kwargs) | Set trunk mode (trunk, trunk-no-default-vlan).
Args:
int_type (str): Type of interface. (gigabitethernet,
tengigabitethernet, etc)
name (str): Name of interface. (1/0/5, 1/0/10, etc)
mode (str): Trunk port mode (trunk, trunk-no-default-native).
ca... | 2.569535 | 2.277905 | 1.128026 |
vlan = kwargs.pop('vlan')
service_id = kwargs.pop('service_id')
callback = kwargs.pop('callback', self._callback)
if not pynos.utilities.valid_vlan_id(vlan, extended=True):
raise InvalidVlanId("vlan must be between `1` and `8191`")
service_args = dict(name=... | def transport_service(self, **kwargs) | Configure VLAN Transport Service.
Args:
vlan (str): The VLAN ID.
service_id (str): The transport-service ID.
callback (function): A function executed upon completion of the
method. The only parameter passed to `callback` will be the
``Element... | 3.67425 | 3.360433 | 1.093386 |
int_type = kwargs.pop('int_type').lower()
name = kwargs.pop('name')
timeout = kwargs.pop('timeout')
callback = kwargs.pop('callback', self._callback)
int_types = [
'gigabitethernet',
'tengigabitethernet',
'fortygigabitethernet',
... | def lacp_timeout(self, **kwargs) | Set lacp timeout.
Args:
int_type (str): Type of interface. (gigabitethernet,
tengigabitethernet, etc)
timeout (str): Timeout length. (short, long)
name (str): Name of interface. (1/0/5, 1/0/10, etc)
callback (function): A function executed upon ... | 2.485942 | 2.269916 | 1.095169 |
int_type = kwargs.pop('int_type').lower()
name = kwargs.pop('name')
enabled = kwargs.pop('enabled', True)
callback = kwargs.pop('callback', self._callback)
int_types = ['gigabitethernet', 'tengigabitethernet',
'fortygigabitethernet', 'hundredgigabite... | def switchport(self, **kwargs) | Set interface switchport status.
Args:
int_type (str): Type of interface. (gigabitethernet,
tengigabitethernet, etc)
name (str): Name of interface. (1/0/5, 1/0/10, etc)
enabled (bool): Is the interface enabled? (True, False)
get (bool): Get config... | 2.350043 | 2.142768 | 1.096733 |
int_type = kwargs.pop('int_type')
name = kwargs.pop('name')
vlan = kwargs.pop('vlan')
callback = kwargs.pop('callback', self._callback)
int_types = ['gigabitethernet', 'tengigabitethernet',
'fortygigabitethernet', 'hundredgigabitethernet',
... | def acc_vlan(self, **kwargs) | Set access VLAN on a port.
Args:
int_type (str): Type of interface. (gigabitethernet,
tengigabitethernet, etc)
name (str): Name of interface. (1/0/5, 1/0/10, etc)
vlan (str): VLAN ID to set as the access VLAN.
callback (function): A function execu... | 2.366338 | 2.106887 | 1.123144 |
urn = "{urn:brocade.com:mgmt:brocade-interface-ext}"
int_ns = 'urn:brocade.com:mgmt:brocade-interface-ext'
result = []
has_more = ''
last_interface_name = ''
last_interface_type = ''
while (has_more == '') or (has_more == 'true'):
request_in... | def interfaces(self) | list[dict]: A list of dictionary items describing the operational
state of interfaces.
This method currently only lists the Physical Interfaces (
Gigabitethernet, tengigabitethernet, fortygigabitethernet,
hundredgigabitethernet) and Loopback interfaces. It currently
excludes VLA... | 2.14401 | 2.133744 | 1.004811 |
request_interface = ET.Element(
'get-interface-detail',
xmlns="urn:brocade.com:mgmt:brocade-interface-ext"
)
if last_interface_name != '':
last_received_int = ET.SubElement(request_interface,
"last-rcvd-i... | def get_interface_detail_request(last_interface_name,
last_interface_type) | Creates a new Netconf request based on the last received
interface name and type when the hasMore flag is true | 2.271477 | 2.18466 | 1.03974 |
urn = "{urn:brocade.com:mgmt:brocade-interface-ext}"
result = []
has_more = ''
last_interface_name = ''
last_interface_type = ''
while (has_more == '') or (has_more == 'true'):
request_interface = self.get_interface_detail_request(
l... | def interface_detail(self) | list[dict]: A list of dictionary items describing the
interface type, name, role, mac, admin and operational
state of interfaces of all rbridges.
This method currently only lists the Physical Interfaces (
Gigabitethernet, tengigabitethernet, fortygigabitethernet,
hundredgigabitet... | 2.239738 | 2.237732 | 1.000896 |
urn = "{urn:brocade.com:mgmt:brocade-interface-ext}"
result = []
request_interface = self.get_interface_switchport_request()
interface_result = self._callback(request_interface, 'get')
for interface in interface_result.findall('%sswitchport' % urn):
vlans = [... | def switchport_list(self) | list[dict]:A list of dictionary items describing the details
of list of dictionary items describing the details of switch port | 2.87881 | 2.863886 | 1.005211 |
urn = "{urn:brocade.com:mgmt:brocade-interface-ext}"
result = []
has_more = ''
last_vlan_id = ''
while (has_more == '') or (has_more == 'true'):
request_interface = self.get_vlan_brief_request(last_vlan_id)
interface_result = self._callback(reque... | def vlans(self) | list[dict]: A list of dictionary items describing the details of
vlan interfaces.
This method fetches the VLAN interfaces
Examples:
>>> import pynos.device
>>> switch = '10.24.39.202'
>>> auth = ('admin', 'password')
>>> conn = (switch, '22')
... | 2.010037 | 2.105101 | 0.954841 |
request_interface = ET.Element(
'get-vlan-brief',
xmlns="urn:brocade.com:mgmt:brocade-interface-ext"
)
if last_vlan_id != '':
last_received_int_el = ET.SubElement(request_interface,
"last-rcvd-vlan-id"... | def get_vlan_brief_request(last_vlan_id) | Creates a new Netconf request based on the last received
vlan id when the hasMore flag is true | 3.450734 | 3.191317 | 1.081288 |
port_channel_ns = 'urn:brocade.com:mgmt:brocade-lag'
request_port_channel = ET.Element('get-port-channel-detail',
xmlns=port_channel_ns)
if last_aggregator_id != '':
last_received_port_chann_el = ET.SubElement(request_port_channel,... | def get_port_chann_detail_request(last_aggregator_id) | Creates a new Netconf request based on the last received
aggregator id when the hasMore flag is true | 2.698003 | 2.718194 | 0.992572 |
urn = "{urn:brocade.com:mgmt:brocade-interface-ext}"
rbridge_id = kwargs.pop('rbridge_id', None)
ip_result = []
request_interface = self._get_intf_rb_id(rbridge_id=rbridge_id)
interface_result = self._callback(request_interface, 'get')
for interface in interfac... | def ve_interfaces(self, **kwargs) | list[dict]: A list of dictionary items describing the operational
state of ve interfaces along with the ip address associations.
Args:
rbridge_id (str): rbridge-id for device.
callback (function): A function executed upon completion of the
method. The only param... | 2.401258 | 2.400816 | 1.000184 |
intf_rb_id = ET.Element(
'get-ip-interface',
xmlns="urn:brocade.com:mgmt:brocade-interface-ext"
)
if rbridge_id is not None:
rbridge_el = ET.SubElement(intf_rb_id, "rbridge-id")
rbridge_el.text = rbridge_id
return intf_rb_id | def _get_intf_rb_id(rbridge_id) | Creates a new Netconf request based on the rbridge_id specifed | 2.467929 | 2.283886 | 1.080583 |
callback = kwargs.pop('callback', self._callback)
mac_learning = getattr(self._mac_address_table,
'mac_address_table_learning_mode')
config = mac_learning(learning_mode='conversational')
if kwargs.pop('get', False):
output = callback(... | def conversational_mac(self, **kwargs) | Enable conversational mac learning on vdx switches
Args:
get (bool): Get config instead of editing config. (True, False)
delete (bool): True, delete the mac-learning. (True, False)
callback (function): A function executed upon completion of the
method. The o... | 4.06872 | 3.324925 | 1.223703 |
callback = kwargs.pop('callback', self._callback)
get_config = kwargs.pop('get', False)
if not get_config:
gw_name = kwargs.pop('gw_name')
overlay_gw = getattr(self._tunnels, 'overlay_gateway_name')
config = overlay_gw(name=gw_name)
if get_c... | def overlay_gateway_name(self, **kwargs) | Configure Name of Overlay Gateway on vdx switches
Args:
gw_name: Name of Overlay Gateway
get (bool): Get config instead of editing config. (True, False)
delete (bool): True, delete the overlay gateway config.
(True, False)
callback (fun... | 2.697324 | 2.52272 | 1.069213 |
callback = kwargs.pop('callback', self._callback)
get_config = kwargs.pop('get', False)
if not get_config:
gw_name = kwargs.pop('gw_name')
overlay_gw = getattr(self._tunnels, 'overlay_gateway_activate')
config = overlay_gw(name=gw_name)
if g... | def overlay_gateway_activate(self, **kwargs) | Activates the Overlay Gateway Instance on VDX switches
Args:
gw_name: Name of Overlay Gateway
get (bool): Get config instead of editing config. (True, False)
delete (bool): True, delete the activate config. (True, False)
callback (function): A function executed u... | 2.91528 | 2.812338 | 1.036604 |
callback = kwargs.pop('callback', self._callback)
get_config = kwargs.pop('get', False)
if not get_config:
gw_name = kwargs.pop('gw_name')
gw_type = kwargs.pop('gw_type')
gw_args = dict(name=gw_name, gw_type=gw_type)
overlay_gw = getattr(... | def overlay_gateway_type(self, **kwargs) | Configure Overlay Gateway Type on vdx switches
Args:
gw_name: Name of Overlay Gateway
gw_type: Type of Overlay Gateway(hardware-vtep/
layer2-extension/nsx)
get (bool): Get config instead of editing config. (True, False)
delete (bool): True, d... | 2.613154 | 2.533519 | 1.031433 |
callback = kwargs.pop('callback', self._callback)
get_config = kwargs.pop('get', False)
if not get_config:
gw_name = kwargs.pop('gw_name')
loopback_id = kwargs.pop('loopback_id')
gw_args = dict(name=gw_name, loopback_id=loopback_id)
overl... | def overlay_gateway_loopback_id(self, **kwargs) | Configure Overlay Gateway ip interface loopback
Args:
gw_name: Name of Overlay Gateway <WORD:1-32>
loopback_id: Loopback interface Id <NUMBER: 1-255>
get (bool): Get config instead of editing config. (True, False)
delete (bool): True, delete the overlay gateway... | 2.458852 | 2.336547 | 1.052345 |
callback = kwargs.pop('callback', self._callback)
get_config = kwargs.pop('get', False)
delete = kwargs.pop('delete', False)
if not get_config:
gw_name = kwargs.pop('gw_name')
rbridge_id = kwargs.pop('rbridge_id')
if delete is True:
... | def overlay_gateway_attach_rbridge_id(self, **kwargs) | Configure Overlay Gateway attach rbridge id
Args:
gw_name: Name of Overlay Gateway <WORD:1-32>
rbridge_id: Single or range of rbridge id to be added/removed
get (bool): Get config instead of editing config. (True, False)
delete (bool): True, delete the attached... | 2.186925 | 2.149278 | 1.017516 |
int_type = kwargs.pop('int_type').lower()
ve_name = kwargs.pop('name')
rbridge_id = kwargs.pop('rbridge_id', '1')
callback = kwargs.pop('callback', self._callback)
valid_int_types = ['loopback', 've']
if int_type not in valid_int_types:
raise ValueEr... | def ipv6_link_local(self, **kwargs) | Configure ipv6 link local address on interfaces on vdx switches
Args:
int_type: Interface type on which the ipv6 link local needs to be
configured.
name: 'Ve' or 'loopback' interface name.
rbridge_id (str): rbridge-id for device.
get (bool): Get conf... | 2.461307 | 2.22963 | 1.103908 |
ve_name = kwargs.pop('ve_name', '')
rbridge_id = kwargs.pop('rbridge_id', '1')
enable = kwargs.pop('enable', True)
get = kwargs.pop('get', False)
callback = kwargs.pop('callback', self._callback)
ve_args = dict(name=ve_name, rbridge_id=rbridge_id)
if get... | def create_ve(self, **kwargs) | Add Ve Interface .
Args:
ve_name: Ve name with which the Ve interface needs to be
created.
enable (bool): If vrf fowarding should be enabled
or disabled.Default:``True``.
get (bool) : Get config instead of editing config. (True, False)
... | 2.68466 | 2.328815 | 1.152801 |
config = ET.Element("config")
interface = ET.SubElement(config, "interface", xmlns="urn:brocade.com:mgmt:brocade-interface")
tengigabitethernet = ET.SubElement(interface, inter_type)
name_key = ET.SubElement(tengigabitethernet, "name")
name_key.text = inter
if ... | def port_profile_port(self,inter_type, inter,enable=True) | Activates the Automatic Migration of Port Profiles (AMPP) port-profile configuration mode on a port.
Args:
inter_type: The type of interface you want to configure. Ex.
tengigabitethernet, gigabitethernet, fortygigabitethernet.
inter: The ID for the interface you want to confi... | 1.864248 | 1.811937 | 1.02887 |
config = ET.Element("config")
mld_snooping = ET.SubElement(config, "mld-snooping", xmlns="urn:brocade.com:mgmt:brocade-mld-snooping")
ipv6 = ET.SubElement(mld_snooping, "ipv6")
pim = ET.SubElement(ipv6, "pim")
snooping = ET.SubElement(pim, "snooping")
pimv6_enabl... | def mld_snooping_ipv6_pim_snooping_pimv6_enable(self, **kwargs) | Auto Generated Code | 1.308551 | 1.255181 | 1.04252 |
config = ET.Element("config")
mld_snooping = ET.SubElement(config, "mld-snooping", xmlns="urn:brocade.com:mgmt:brocade-mld-snooping")
ipv6 = ET.SubElement(mld_snooping, "ipv6")
mld = ET.SubElement(ipv6, "mld")
snooping = ET.SubElement(mld, "snooping")
enable = ET... | def mld_snooping_ipv6_mld_snooping_enable(self, **kwargs) | Auto Generated Code | 1.325324 | 1.249834 | 1.0604 |
'''
Hook to capture the results of a list query.
Useful when wanting to know when certain documents have come up in a query.
Implement in resource subclasses to provide domain-specific behavior
'''
serialized_objects = await asyncio.gather(*[obj.serialize() for obj in ins... | async def post_list(cls, sender, db, instances) | Hook to capture the results of a list query.
Useful when wanting to know when certain documents have come up in a query.
Implement in resource subclasses to provide domain-specific behavior | 12.093325 | 2.982974 | 4.054116 |
'''
Corresponds to GET request without a resource identifier, fetching documents from the database
'''
limit = int(kwargs.pop('limit', self.limit))
limit = 1000 if limit == 0 else limit # lets not go crazy here
offset = int(kwargs.pop('offset', self.offset))
proj... | async def list(self, *args, **kwargs) | Corresponds to GET request without a resource identifier, fetching documents from the database | 3.392061 | 2.979153 | 1.138599 |
'''
Corresponds to GET request with a resource unique identifier, fetching a single document from the database
'''
try:
pk = self.pk_type(kwargs.get('pk'))
obj = await self._meta.object_class.find_one(self.db, {self.pk: pk})
if obj:
ret... | async def detail(self, **kwargs) | Corresponds to GET request with a resource unique identifier, fetching a single document from the database | 6.290695 | 3.682388 | 1.70832 |
'''
Corresponds to POST request without a resource identifier, inserting a document into the database
'''
try:
# create model
obj = self._meta.object_class()
# deserialize data from request body
self.data.update(kwargs)
await ob... | async def create(self, **kwargs) | Corresponds to POST request without a resource identifier, inserting a document into the database | 6.326683 | 3.730022 | 1.696152 |
'''
Corresponds to PATCH request with a resource identifier, modifying a single document in the database
'''
try:
pk = self.pk_type(kwargs['pk'])
# modify is a class method on MongoCollectionMixin
result = await self._meta.object_class.modify(self.db, ... | async def modify(self, **kwargs) | Corresponds to PATCH request with a resource identifier, modifying a single document in the database | 7.777112 | 4.836661 | 1.607951 |
'''
Corresponds to PUT request with a resource identifier, updating a single document in the database
'''
try:
self.data[self.pk] = self.pk_type(kwargs['pk'])
updated_obj = await self._meta.object_class().update(self.db, data=self.data)
if updated_obj ... | async def update(self, **kwargs) | Corresponds to PUT request with a resource identifier, updating a single document in the database | 5.888189 | 3.699363 | 1.591676 |
'''
Corresponds to DELETE request with a resource identifier, deleting a single document from the database
'''
pk = self.pk_type(kwargs['pk'])
result = await self._meta.object_class.delete_entries(db=self.db, query={self.pk: pk})
if result.acknowledged:
if res... | async def delete(self, *args, **kwargs) | Corresponds to DELETE request with a resource identifier, deleting a single document from the database | 6.795204 | 4.04073 | 1.681677 |
''' Break url parameters and turn into filters '''
filters = {}
for param, value in kwargs.items():
# break each url parameter to key + operator (if exists)
pl = dict(enumerate(param.split('__')))
key = pl[0]
operator = pl.get(1, None)
... | def build_filters(self, **kwargs) | Break url parameters and turn into filters | 5.393923 | 5.042596 | 1.069672 |
''' Break url parameters and turn into sort arguments '''
sort = []
order = kwargs.get('order_by', None)
if order:
if type(order) is list:
order = order[0]
if order[:1] == '-':
sort.append((order[1:], -1))
else:
... | def build_sort(self, **kwargs) | Break url parameters and turn into sort arguments | 3.657672 | 2.629586 | 1.390969 |
'''
Returns a serialized from of the model taking into account projection rules and ``@serialize`` decorated methods.
:param native:
Deternines if data is serialized to Python native types or primitive form. Defaults to ``False``
'''
data = {}
# itera... | async def serialize(self, native=False) | Returns a serialized from of the model taking into account projection rules and ``@serialize`` decorated methods.
:param native:
Deternines if data is serialized to Python native types or primitive form. Defaults to ``False`` | 5.540516 | 2.87806 | 1.925087 |
'''
Deserializes a Python ``dict`` into the model by assigning values to their respective fields.
Ignores data attributes that do not match one of the Model's fields.
Ignores data attributes who's matching fields are declared with the ``readonly`` attribute
Validates the data aft... | async def deserialize(self, data: dict, silent=True) | Deserializes a Python ``dict`` into the model by assigning values to their respective fields.
Ignores data attributes that do not match one of the Model's fields.
Ignores data attributes who's matching fields are declared with the ``readonly`` attribute
Validates the data after import.
O... | 10.02834 | 1.571631 | 6.38085 |
''' Internal deserialize method for sifting out unacceptable data for the model '''
deserialized_data = {}
for name, field in self._fields.items():
if field._readonly is False and name in data:
deserialized_data[name] = data.get(name)
return deserialized_data | def _deserialize(self, data: dict, silent=True) -> dict | Internal deserialize method for sifting out unacceptable data for the model | 6.385483 | 3.323621 | 1.921243 |
'''
Imports data into model and converts to python form.
Model fields and container of model fields retain their model class structure.
Merges with existing if data is partial
'''
if not isinstance(data, dict):
raise ValueError('Cannot import data not as dict'... | def import_data(self, data: dict) | Imports data into model and converts to python form.
Model fields and container of model fields retain their model class structure.
Merges with existing if data is partial | 9.099282 | 2.514797 | 3.618297 |
config = ET.Element("config")
police_priority_map = ET.SubElement(config, "police-priority-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
name = ET.SubElement(police_priority_map, "name")
name.text = kwargs.pop('name')
callback = kwargs.pop('callback', self._callba... | def police_priority_map_name(self, **kwargs) | Auto Generated Code | 1.559319 | 1.354408 | 1.151292 |
config = ET.Element("config")
police_priority_map = ET.SubElement(config, "police-priority-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
name_key = ET.SubElement(police_priority_map, "name")
name_key.text = kwargs.pop('name')
conform = ET.SubElement(police_priority... | def police_priority_map_conform_map_pri0_conform(self, **kwargs) | Auto Generated Code | 1.430529 | 1.323943 | 1.080507 |
config = ET.Element("config")
police_priority_map = ET.SubElement(config, "police-priority-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
name_key = ET.SubElement(police_priority_map, "name")
name_key.text = kwargs.pop('name')
conform = ET.SubElement(police_priority... | def police_priority_map_conform_map_pri1_conform(self, **kwargs) | Auto Generated Code | 1.42283 | 1.32267 | 1.075726 |
config = ET.Element("config")
police_priority_map = ET.SubElement(config, "police-priority-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
name_key = ET.SubElement(police_priority_map, "name")
name_key.text = kwargs.pop('name')
conform = ET.SubElement(police_priority... | def police_priority_map_conform_map_pri2_conform(self, **kwargs) | Auto Generated Code | 1.424672 | 1.323796 | 1.076202 |
config = ET.Element("config")
police_priority_map = ET.SubElement(config, "police-priority-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
name_key = ET.SubElement(police_priority_map, "name")
name_key.text = kwargs.pop('name')
conform = ET.SubElement(police_priority... | def police_priority_map_conform_map_pri3_conform(self, **kwargs) | Auto Generated Code | 1.420536 | 1.321652 | 1.074819 |
config = ET.Element("config")
police_priority_map = ET.SubElement(config, "police-priority-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
name_key = ET.SubElement(police_priority_map, "name")
name_key.text = kwargs.pop('name')
conform = ET.SubElement(police_priority... | def police_priority_map_conform_map_pri4_conform(self, **kwargs) | Auto Generated Code | 1.414941 | 1.315734 | 1.075401 |
config = ET.Element("config")
police_priority_map = ET.SubElement(config, "police-priority-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
name_key = ET.SubElement(police_priority_map, "name")
name_key.text = kwargs.pop('name')
conform = ET.SubElement(police_priority... | def police_priority_map_conform_map_pri5_conform(self, **kwargs) | Auto Generated Code | 1.434026 | 1.325725 | 1.081692 |
config = ET.Element("config")
police_priority_map = ET.SubElement(config, "police-priority-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
name_key = ET.SubElement(police_priority_map, "name")
name_key.text = kwargs.pop('name')
conform = ET.SubElement(police_priority... | def police_priority_map_conform_map_pri6_conform(self, **kwargs) | Auto Generated Code | 1.417194 | 1.323243 | 1.071 |
config = ET.Element("config")
police_priority_map = ET.SubElement(config, "police-priority-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
name_key = ET.SubElement(police_priority_map, "name")
name_key.text = kwargs.pop('name')
conform = ET.SubElement(police_priority... | def police_priority_map_conform_map_pri7_conform(self, **kwargs) | Auto Generated Code | 1.424191 | 1.32757 | 1.07278 |
config = ET.Element("config")
police_priority_map = ET.SubElement(config, "police-priority-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
name_key = ET.SubElement(police_priority_map, "name")
name_key.text = kwargs.pop('name')
exceed = ET.SubElement(police_priority_... | def police_priority_map_exceed_map_pri0_exceed(self, **kwargs) | Auto Generated Code | 1.419104 | 1.306806 | 1.085933 |
config = ET.Element("config")
police_priority_map = ET.SubElement(config, "police-priority-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
name_key = ET.SubElement(police_priority_map, "name")
name_key.text = kwargs.pop('name')
exceed = ET.SubElement(police_priority_... | def police_priority_map_exceed_map_pri1_exceed(self, **kwargs) | Auto Generated Code | 1.405434 | 1.302057 | 1.079395 |
config = ET.Element("config")
police_priority_map = ET.SubElement(config, "police-priority-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
name_key = ET.SubElement(police_priority_map, "name")
name_key.text = kwargs.pop('name')
exceed = ET.SubElement(police_priority_... | def police_priority_map_exceed_map_pri2_exceed(self, **kwargs) | Auto Generated Code | 1.411839 | 1.305541 | 1.08142 |
config = ET.Element("config")
police_priority_map = ET.SubElement(config, "police-priority-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
name_key = ET.SubElement(police_priority_map, "name")
name_key.text = kwargs.pop('name')
exceed = ET.SubElement(police_priority_... | def police_priority_map_exceed_map_pri3_exceed(self, **kwargs) | Auto Generated Code | 1.407941 | 1.303999 | 1.079711 |
config = ET.Element("config")
police_priority_map = ET.SubElement(config, "police-priority-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
name_key = ET.SubElement(police_priority_map, "name")
name_key.text = kwargs.pop('name')
exceed = ET.SubElement(police_priority_... | def police_priority_map_exceed_map_pri4_exceed(self, **kwargs) | Auto Generated Code | 1.40601 | 1.299906 | 1.081624 |
config = ET.Element("config")
police_priority_map = ET.SubElement(config, "police-priority-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
name_key = ET.SubElement(police_priority_map, "name")
name_key.text = kwargs.pop('name')
exceed = ET.SubElement(police_priority_... | def police_priority_map_exceed_map_pri5_exceed(self, **kwargs) | Auto Generated Code | 1.417199 | 1.30824 | 1.083287 |
config = ET.Element("config")
police_priority_map = ET.SubElement(config, "police-priority-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
name_key = ET.SubElement(police_priority_map, "name")
name_key.text = kwargs.pop('name')
exceed = ET.SubElement(police_priority_... | def police_priority_map_exceed_map_pri6_exceed(self, **kwargs) | Auto Generated Code | 1.40731 | 1.307799 | 1.07609 |
config = ET.Element("config")
police_priority_map = ET.SubElement(config, "police-priority-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
name_key = ET.SubElement(police_priority_map, "name")
name_key.text = kwargs.pop('name')
exceed = ET.SubElement(police_priority_... | def police_priority_map_exceed_map_pri7_exceed(self, **kwargs) | Auto Generated Code | 1.40912 | 1.30868 | 1.076749 |
config = ET.Element("config")
class_map = ET.SubElement(config, "class-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
name = ET.SubElement(class_map, "name")
name.text = kwargs.pop('name')
callback = kwargs.pop('callback', self._callback)
return callback(co... | def class_map_name(self, **kwargs) | Auto Generated Code | 1.840849 | 1.48088 | 1.243078 |
config = ET.Element("config")
class_map = ET.SubElement(config, "class-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
name_key = ET.SubElement(class_map, "name")
name_key.text = kwargs.pop('name')
match = ET.SubElement(class_map, "match")
access_group = ET.S... | def class_map_match_access_group_access_group_name(self, **kwargs) | Auto Generated Code | 1.336667 | 1.268213 | 1.053977 |
config = ET.Element("config")
policy_map = ET.SubElement(config, "policy-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
po_name = ET.SubElement(policy_map, "po-name")
po_name.text = kwargs.pop('po_name')
callback = kwargs.pop('callback', self._callback)
ret... | def policy_map_po_name(self, **kwargs) | Auto Generated Code | 1.617356 | 1.413542 | 1.144186 |
config = ET.Element("config")
policy_map = ET.SubElement(config, "policy-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
po_name_key = ET.SubElement(policy_map, "po-name")
po_name_key.text = kwargs.pop('po_name')
clss = ET.SubElement(policy_map, "class")
cl_n... | def policy_map_clss_cl_name(self, **kwargs) | Auto Generated Code | 1.594663 | 1.480535 | 1.077086 |
config = ET.Element("config")
policy_map = ET.SubElement(config, "policy-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
po_name_key = ET.SubElement(policy_map, "po-name")
po_name_key.text = kwargs.pop('po_name')
clss = ET.SubElement(policy_map, "class")
cl_n... | def policy_map_clss_set_set_dscp_dscp(self, **kwargs) | Auto Generated Code | 1.472798 | 1.410214 | 1.044379 |
config = ET.Element("config")
policy_map = ET.SubElement(config, "policy-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
po_name_key = ET.SubElement(policy_map, "po-name")
po_name_key.text = kwargs.pop('po_name')
clss = ET.SubElement(policy_map, "class")
cl_n... | def policy_map_clss_span_session(self, **kwargs) | Auto Generated Code | 1.543941 | 1.446093 | 1.067663 |
config = ET.Element("config")
policy_map = ET.SubElement(config, "policy-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
po_name_key = ET.SubElement(policy_map, "po-name")
po_name_key.text = kwargs.pop('po_name')
clss = ET.SubElement(policy_map, "class")
cl_n... | def policy_map_clss_map_dscp_mutation(self, **kwargs) | Auto Generated Code | 1.547482 | 1.443799 | 1.071813 |
config = ET.Element("config")
policy_map = ET.SubElement(config, "policy-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
po_name_key = ET.SubElement(policy_map, "po-name")
po_name_key.text = kwargs.pop('po_name')
clss = ET.SubElement(policy_map, "class")
cl_n... | def policy_map_clss_shape_shaping_rate(self, **kwargs) | Auto Generated Code | 1.639657 | 1.49412 | 1.097407 |
config = ET.Element("config")
policy_map = ET.SubElement(config, "policy-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
po_name_key = ET.SubElement(policy_map, "po-name")
po_name_key.text = kwargs.pop('po_name')
clss = ET.SubElement(policy_map, "class")
cl_n... | def policy_map_clss_priority_mapping_table_imprt_cee(self, **kwargs) | Auto Generated Code | 1.523546 | 1.426742 | 1.067849 |
config = ET.Element("config")
system_qos = ET.SubElement(config, "system-qos", xmlns="urn:brocade.com:mgmt:brocade-policer")
qos = ET.SubElement(system_qos, "qos")
service_policy = ET.SubElement(qos, "service-policy")
policy_map_name_key = ET.SubElement(service_policy, "... | def system_qos_qos_service_policy_direction(self, **kwargs) | Auto Generated Code | 1.4209 | 1.376434 | 1.032305 |
config = ET.Element("config")
system_qos = ET.SubElement(config, "system-qos", xmlns="urn:brocade.com:mgmt:brocade-policer")
qos = ET.SubElement(system_qos, "qos")
service_policy = ET.SubElement(qos, "service-policy")
direction_key = ET.SubElement(service_policy, "direct... | def system_qos_qos_service_policy_policy_map_name(self, **kwargs) | Auto Generated Code | 1.504272 | 1.46393 | 1.027558 |
config = ET.Element("config")
system_qos = ET.SubElement(config, "system-qos", xmlns="urn:brocade.com:mgmt:brocade-policer")
qos = ET.SubElement(system_qos, "qos")
service_policy = ET.SubElement(qos, "service-policy")
direction_key = ET.SubElement(service_policy, "direct... | def system_qos_qos_service_policy_attach_rbridge_id_add_rb_add_range(self, **kwargs) | Auto Generated Code | 1.413462 | 1.372368 | 1.029944 |
config = ET.Element("config")
system_qos = ET.SubElement(config, "system-qos", xmlns="urn:brocade.com:mgmt:brocade-policer")
qos = ET.SubElement(system_qos, "qos")
service_policy = ET.SubElement(qos, "service-policy")
direction_key = ET.SubElement(service_policy, "direct... | def system_qos_qos_service_policy_attach_rbridge_id_remove_rb_remove_range(self, **kwargs) | Auto Generated Code | 1.404796 | 1.366841 | 1.027768 |
config = ET.Element("config")
qos = ET.SubElement(config, "qos", xmlns="urn:brocade.com:mgmt:brocade-qos")
map = ET.SubElement(qos, "map")
dscp_mutation = ET.SubElement(map, "dscp-mutation")
dscp_mutation_map_name = ET.SubElement(dscp_mutation, "dscp-mutation-map-name")
... | def qos_map_dscp_mutation_dscp_mutation_map_name(self, **kwargs) | Auto Generated Code | 1.288834 | 1.243441 | 1.036506 |
config = ET.Element("config")
qos = ET.SubElement(config, "qos", xmlns="urn:brocade.com:mgmt:brocade-qos")
map = ET.SubElement(qos, "map")
dscp_mutation = ET.SubElement(map, "dscp-mutation")
dscp_mutation_map_name_key = ET.SubElement(dscp_mutation, "dscp-mutation-map-nam... | def qos_map_dscp_mutation_mark_dscp_in_values(self, **kwargs) | Auto Generated Code | 1.372493 | 1.326352 | 1.034788 |
config = ET.Element("config")
qos = ET.SubElement(config, "qos", xmlns="urn:brocade.com:mgmt:brocade-qos")
map = ET.SubElement(qos, "map")
dscp_mutation = ET.SubElement(map, "dscp-mutation")
dscp_mutation_map_name_key = ET.SubElement(dscp_mutation, "dscp-mutation-map-nam... | def qos_map_dscp_mutation_mark_to(self, **kwargs) | Auto Generated Code | 1.455346 | 1.40838 | 1.033348 |
config = ET.Element("config")
qos = ET.SubElement(config, "qos", xmlns="urn:brocade.com:mgmt:brocade-qos")
map = ET.SubElement(qos, "map")
dscp_traffic_class = ET.SubElement(map, "dscp-traffic-class")
dscp_traffic_class_map_name = ET.SubElement(dscp_traffic_class, "dscp-... | def qos_map_dscp_traffic_class_dscp_traffic_class_map_name(self, **kwargs) | Auto Generated Code | 1.246849 | 1.207423 | 1.032654 |
config = ET.Element("config")
qos = ET.SubElement(config, "qos", xmlns="urn:brocade.com:mgmt:brocade-qos")
map = ET.SubElement(qos, "map")
dscp_traffic_class = ET.SubElement(map, "dscp-traffic-class")
dscp_traffic_class_map_name_key = ET.SubElement(dscp_traffic_class, "d... | def qos_map_dscp_traffic_class_mark_dscp_in_values(self, **kwargs) | Auto Generated Code | 1.322927 | 1.283494 | 1.030723 |
config = ET.Element("config")
qos = ET.SubElement(config, "qos", xmlns="urn:brocade.com:mgmt:brocade-qos")
map = ET.SubElement(qos, "map")
dscp_traffic_class = ET.SubElement(map, "dscp-traffic-class")
dscp_traffic_class_map_name_key = ET.SubElement(dscp_traffic_class, "d... | def qos_map_dscp_traffic_class_mark_to(self, **kwargs) | Auto Generated Code | 1.417074 | 1.37286 | 1.032206 |
config = ET.Element("config")
qos = ET.SubElement(config, "qos", xmlns="urn:brocade.com:mgmt:brocade-qos")
map = ET.SubElement(qos, "map")
dscp_cos = ET.SubElement(map, "dscp-cos")
dscp_cos_map_name = ET.SubElement(dscp_cos, "dscp-cos-map-name")
dscp_cos_map_name... | def qos_map_dscp_cos_dscp_cos_map_name(self, **kwargs) | Auto Generated Code | 1.307399 | 1.267281 | 1.031657 |
config = ET.Element("config")
qos = ET.SubElement(config, "qos", xmlns="urn:brocade.com:mgmt:brocade-qos")
map = ET.SubElement(qos, "map")
dscp_cos = ET.SubElement(map, "dscp-cos")
dscp_cos_map_name_key = ET.SubElement(dscp_cos, "dscp-cos-map-name")
dscp_cos_map_... | def qos_map_dscp_cos_mark_dscp_in_values(self, **kwargs) | Auto Generated Code | 1.360988 | 1.325858 | 1.026496 |
config = ET.Element("config")
qos = ET.SubElement(config, "qos", xmlns="urn:brocade.com:mgmt:brocade-qos")
map = ET.SubElement(qos, "map")
dscp_cos = ET.SubElement(map, "dscp-cos")
dscp_cos_map_name_key = ET.SubElement(dscp_cos, "dscp-cos-map-name")
dscp_cos_map_... | def qos_map_dscp_cos_mark_to(self, **kwargs) | Auto Generated Code | 1.477996 | 1.441417 | 1.025378 |
config = ET.Element("config")
qos = ET.SubElement(config, "qos", xmlns="urn:brocade.com:mgmt:brocade-qos")
map = ET.SubElement(qos, "map")
cos_mutation = ET.SubElement(map, "cos-mutation")
name = ET.SubElement(cos_mutation, "name")
name.text = kwargs.pop('name')
... | def qos_map_cos_mutation_name(self, **kwargs) | Auto Generated Code | 1.419493 | 1.297353 | 1.094146 |
config = ET.Element("config")
qos = ET.SubElement(config, "qos", xmlns="urn:brocade.com:mgmt:brocade-qos")
map = ET.SubElement(qos, "map")
cos_mutation = ET.SubElement(map, "cos-mutation")
name_key = ET.SubElement(cos_mutation, "name")
name_key.text = kwargs.pop(... | def qos_map_cos_mutation_cos0(self, **kwargs) | Auto Generated Code | 1.401167 | 1.300219 | 1.077639 |
config = ET.Element("config")
qos = ET.SubElement(config, "qos", xmlns="urn:brocade.com:mgmt:brocade-qos")
map = ET.SubElement(qos, "map")
cos_mutation = ET.SubElement(map, "cos-mutation")
name_key = ET.SubElement(cos_mutation, "name")
name_key.text = kwargs.pop(... | def qos_map_cos_mutation_cos1(self, **kwargs) | Auto Generated Code | 1.398496 | 1.300516 | 1.075339 |
config = ET.Element("config")
qos = ET.SubElement(config, "qos", xmlns="urn:brocade.com:mgmt:brocade-qos")
map = ET.SubElement(qos, "map")
cos_mutation = ET.SubElement(map, "cos-mutation")
name_key = ET.SubElement(cos_mutation, "name")
name_key.text = kwargs.pop(... | def qos_map_cos_mutation_cos2(self, **kwargs) | Auto Generated Code | 1.413895 | 1.30683 | 1.081927 |
config = ET.Element("config")
qos = ET.SubElement(config, "qos", xmlns="urn:brocade.com:mgmt:brocade-qos")
map = ET.SubElement(qos, "map")
cos_mutation = ET.SubElement(map, "cos-mutation")
name_key = ET.SubElement(cos_mutation, "name")
name_key.text = kwargs.pop(... | def qos_map_cos_mutation_cos3(self, **kwargs) | Auto Generated Code | 1.412886 | 1.317519 | 1.072383 |
config = ET.Element("config")
qos = ET.SubElement(config, "qos", xmlns="urn:brocade.com:mgmt:brocade-qos")
map = ET.SubElement(qos, "map")
cos_mutation = ET.SubElement(map, "cos-mutation")
name_key = ET.SubElement(cos_mutation, "name")
name_key.text = kwargs.pop(... | def qos_map_cos_mutation_cos4(self, **kwargs) | Auto Generated Code | 1.401072 | 1.309081 | 1.070271 |
config = ET.Element("config")
qos = ET.SubElement(config, "qos", xmlns="urn:brocade.com:mgmt:brocade-qos")
map = ET.SubElement(qos, "map")
cos_mutation = ET.SubElement(map, "cos-mutation")
name_key = ET.SubElement(cos_mutation, "name")
name_key.text = kwargs.pop(... | def qos_map_cos_mutation_cos5(self, **kwargs) | Auto Generated Code | 1.407767 | 1.308881 | 1.075551 |
config = ET.Element("config")
qos = ET.SubElement(config, "qos", xmlns="urn:brocade.com:mgmt:brocade-qos")
map = ET.SubElement(qos, "map")
cos_mutation = ET.SubElement(map, "cos-mutation")
name_key = ET.SubElement(cos_mutation, "name")
name_key.text = kwargs.pop(... | def qos_map_cos_mutation_cos6(self, **kwargs) | Auto Generated Code | 1.390649 | 1.303404 | 1.066936 |
config = ET.Element("config")
qos = ET.SubElement(config, "qos", xmlns="urn:brocade.com:mgmt:brocade-qos")
map = ET.SubElement(qos, "map")
cos_mutation = ET.SubElement(map, "cos-mutation")
name_key = ET.SubElement(cos_mutation, "name")
name_key.text = kwargs.pop(... | def qos_map_cos_mutation_cos7(self, **kwargs) | Auto Generated Code | 1.403129 | 1.31509 | 1.066945 |
config = ET.Element("config")
qos = ET.SubElement(config, "qos", xmlns="urn:brocade.com:mgmt:brocade-qos")
map = ET.SubElement(qos, "map")
cos_traffic_class = ET.SubElement(map, "cos-traffic-class")
name = ET.SubElement(cos_traffic_class, "name")
name.text = kwar... | def qos_map_cos_traffic_class_name(self, **kwargs) | Auto Generated Code | 1.373123 | 1.281435 | 1.071551 |
config = ET.Element("config")
qos = ET.SubElement(config, "qos", xmlns="urn:brocade.com:mgmt:brocade-qos")
map = ET.SubElement(qos, "map")
cos_traffic_class = ET.SubElement(map, "cos-traffic-class")
name_key = ET.SubElement(cos_traffic_class, "name")
name_key.tex... | def qos_map_cos_traffic_class_cos0(self, **kwargs) | Auto Generated Code | 1.340791 | 1.27397 | 1.05245 |
config = ET.Element("config")
qos = ET.SubElement(config, "qos", xmlns="urn:brocade.com:mgmt:brocade-qos")
map = ET.SubElement(qos, "map")
cos_traffic_class = ET.SubElement(map, "cos-traffic-class")
name_key = ET.SubElement(cos_traffic_class, "name")
name_key.tex... | def qos_map_cos_traffic_class_cos1(self, **kwargs) | Auto Generated Code | 1.331224 | 1.268245 | 1.049659 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.