code string | signature string | docstring string | loss_without_docstring float64 | loss_with_docstring float64 | factor float64 |
|---|---|---|---|---|---|
config = ET.Element("config")
port_profile_domain = ET.SubElement(config, "port-profile-domain", xmlns="urn:brocade.com:mgmt:brocade-port-profile")
port_profile_domain_name_key = ET.SubElement(port_profile_domain, "port-profile-domain-name")
port_profile_domain_name_key.text = k... | def port_profile_domain_profile_profile_name(self, **kwargs) | Auto Generated Code | 1.343246 | 1.277163 | 1.051742 |
'''
Creates a MongoDB collection and all the declared indices in the model's ``Meta`` class
:param db:
A database handle
:type db:
motor.motor_asyncio.AsyncIOMotorClient
:param model_class:
The model to create
:type model_class:
Subclass of ``Model`` mixed with ... | async def create_collection(db, model_class: MongoCollectionMixin) | Creates a MongoDB collection and all the declared indices in the model's ``Meta`` class
:param db:
A database handle
:type db:
motor.motor_asyncio.AsyncIOMotorClient
:param model_class:
The model to create
:type model_class:
Subclass of ``Model`` mixed with ``MongoColle... | 2.877358 | 2.050273 | 1.403402 |
''' load all models in app and create collections in db with specified indices'''
futures = []
for model_class in MongoCollectionMixin.__subclasses__():
if model_class._meta.concrete is True:
futures.append(create_collection(db, model_class))
await asyncio.gather(*futures) | async def create_app_collections(db) | load all models in app and create collections in db with specified indices | 7.242649 | 4.055067 | 1.786074 |
'''
Gets the full name of the collection, as declared by the ModelOptions class like so:
namespace.name
If no namespace or name is provided, the class's lowercase name is used
'''
if hasattr(cls, '_meta'):
np = getattr(cls._meta, 'namespace', None)
... | def get_collection_name(cls) | Gets the full name of the collection, as declared by the ModelOptions class like so:
namespace.name
If no namespace or name is provided, the class's lowercase name is used | 5.094339 | 2.202324 | 2.313165 |
''' Delete documents by given query. '''
query = cls.process_query(query)
for i in cls.connection_retries():
try:
result = await db[cls.get_collection_name()].delete_many(query)
return result
except ConnectionFailure as ex:
... | async def delete_entries(cls, db, query) | Delete documents by given query. | 6.054616 | 5.437796 | 1.113432 |
''' Delete document '''
for i in self.connection_retries():
try:
return await db[self.get_collection_name()].delete_one({self.primary_key: self.pk})
except ConnectionFailure as ex:
exceed = await self.check_reconnect_tries_and_wait(i, 'delete')
... | async def delete(self, db) | Delete document | 7.312222 | 6.958816 | 1.050785 |
'''
Creates model instance from data (dict).
'''
if fields is None:
fields = set(cls._fields.keys())
else:
if not isinstance(fields, set):
fields = set(fields)
new_keys = set(data.keys()) - fields
if new_keys:
fo... | def create_model(cls, data: dict, fields=None) | Creates model instance from data (dict). | 3.091499 | 2.536124 | 1.218986 |
'''
Prepare data for persistency by exporting it to native form
and making sure we're not persisting with a null primary key.
'''
data = data or self.export_data(native=True)
# make sure we don't persist a null _id and let MongoDB auto-generate it
if '_id' in dat... | def prepare_data(self, data=None) | Prepare data for persistency by exporting it to native form
and making sure we're not persisting with a null primary key. | 8.239604 | 2.877279 | 2.863679 |
'''
If object has _id, then object will be created or fully rewritten.
If not, object will be inserted and _id will be assigned.
'''
self._db = db or self.db
data = self.prepare_data()
# validate object
self.validate()
# connect to DB to save the m... | async def save(self, db=None) | If object has _id, then object will be created or fully rewritten.
If not, object will be inserted and _id will be assigned. | 5.291782 | 3.78605 | 1.397705 |
'''
Update the entire document by replacing its content with new data, retaining its primary key
'''
db = db or self.db
if data: # update model explicitely with a new data structure
# merge the current model's data with the new data
self.import_data(data)... | async def update(self, db=None, data=None) | Update the entire document by replacing its content with new data, retaining its primary key | 4.598558 | 4.052228 | 1.134822 |
'''
Partially modify a document by providing a subset of its data fields to be modified
:param db:
Handle to the MongoDB database
:param key:
The primary key of the database object being modified. Usually its ``_id``
:param data:
The data se... | async def modify(cls, db, key, data: dict) | Partially modify a document by providing a subset of its data fields to be modified
:param db:
Handle to the MongoDB database
:param key:
The primary key of the database object being modified. Usually its ``_id``
:param data:
The data set to be modified
... | 4.901998 | 3.192602 | 1.535424 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
context = ET.SubElement(snmp_server, "context")
context_name = ET.SubElement(context, "context-name")
context_name.text = kwargs.pop('context_name'... | def snmp_server_context_context_name(self, **kwargs) | Auto Generated Code | 1.341129 | 1.274909 | 1.051941 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
context = ET.SubElement(snmp_server, "context")
context_name_key = ET.SubElement(context, "context-name")
context_name_key.text = kwargs.pop('conte... | def snmp_server_context_vrf_name(self, **kwargs) | Auto Generated Code | 1.311719 | 1.249768 | 1.049569 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
community = ET.SubElement(snmp_server, "community")
community = ET.SubElement(community, "community")
community.text = kwargs.pop('community')
... | def snmp_server_community_community(self, **kwargs) | Auto Generated Code | 1.382381 | 1.300911 | 1.062625 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
community = ET.SubElement(snmp_server, "community")
community_key = ET.SubElement(community, "community")
community_key.text = kwargs.pop('communit... | def snmp_server_community_groupname(self, **kwargs) | Auto Generated Code | 1.488028 | 1.410743 | 1.054784 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
community = ET.SubElement(snmp_server, "community")
community_key = ET.SubElement(community, "community")
community_key.text = kwargs.pop('communit... | def snmp_server_community_ipv4_acl(self, **kwargs) | Auto Generated Code | 1.475395 | 1.375886 | 1.072324 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
community = ET.SubElement(snmp_server, "community")
community_key = ET.SubElement(community, "community")
community_key.text = kwargs.pop('communit... | def snmp_server_community_ipv6_acl(self, **kwargs) | Auto Generated Code | 1.469872 | 1.374213 | 1.06961 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
user = ET.SubElement(snmp_server, "user")
username = ET.SubElement(user, "username")
username.text = kwargs.pop('username')
callback = kwa... | def snmp_server_user_username(self, **kwargs) | Auto Generated Code | 1.357065 | 1.268963 | 1.069428 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
user = ET.SubElement(snmp_server, "user")
username_key = ET.SubElement(user, "username")
username_key.text = kwargs.pop('username')
groupna... | def snmp_server_user_groupname(self, **kwargs) | Auto Generated Code | 1.33619 | 1.247401 | 1.07118 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
user = ET.SubElement(snmp_server, "user")
username_key = ET.SubElement(user, "username")
username_key.text = kwargs.pop('username')
auth = ... | def snmp_server_user_auth(self, **kwargs) | Auto Generated Code | 1.415848 | 1.286295 | 1.100718 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
user = ET.SubElement(snmp_server, "user")
username_key = ET.SubElement(user, "username")
username_key.text = kwargs.pop('username')
auth_pa... | def snmp_server_user_auth_password(self, **kwargs) | Auto Generated Code | 1.353353 | 1.25747 | 1.076251 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
user = ET.SubElement(snmp_server, "user")
username_key = ET.SubElement(user, "username")
username_key.text = kwargs.pop('username')
priv = ... | def snmp_server_user_priv(self, **kwargs) | Auto Generated Code | 1.379286 | 1.2781 | 1.079168 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
user = ET.SubElement(snmp_server, "user")
username_key = ET.SubElement(user, "username")
username_key.text = kwargs.pop('username')
priv_pa... | def snmp_server_user_priv_password(self, **kwargs) | Auto Generated Code | 1.36438 | 1.265809 | 1.077872 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
user = ET.SubElement(snmp_server, "user")
username_key = ET.SubElement(user, "username")
username_key.text = kwargs.pop('username')
encrypt... | def snmp_server_user_encrypted(self, **kwargs) | Auto Generated Code | 1.482734 | 1.363371 | 1.08755 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
user = ET.SubElement(snmp_server, "user")
username_key = ET.SubElement(user, "username")
username_key.text = kwargs.pop('username')
ipv4_ac... | def snmp_server_user_ipv4_acl(self, **kwargs) | Auto Generated Code | 1.346247 | 1.258887 | 1.069395 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
user = ET.SubElement(snmp_server, "user")
username_key = ET.SubElement(user, "username")
username_key.text = kwargs.pop('username')
ipv6_ac... | def snmp_server_user_ipv6_acl(self, **kwargs) | Auto Generated Code | 1.340841 | 1.257608 | 1.066183 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
v3host = ET.SubElement(snmp_server, "v3host")
username_key = ET.SubElement(v3host, "username")
username_key.text = kwargs.pop('username')
h... | def snmp_server_v3host_hostip(self, **kwargs) | Auto Generated Code | 1.390138 | 1.317026 | 1.055513 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
v3host = ET.SubElement(snmp_server, "v3host")
hostip_key = ET.SubElement(v3host, "hostip")
hostip_key.text = kwargs.pop('hostip')
username ... | def snmp_server_v3host_username(self, **kwargs) | Auto Generated Code | 1.359336 | 1.30062 | 1.045145 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
v3host = ET.SubElement(snmp_server, "v3host")
hostip_key = ET.SubElement(v3host, "hostip")
hostip_key.text = kwargs.pop('hostip')
username_... | def snmp_server_v3host_udp_port(self, **kwargs) | Auto Generated Code | 1.339741 | 1.298047 | 1.032121 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
v3host = ET.SubElement(snmp_server, "v3host")
hostip_key = ET.SubElement(v3host, "hostip")
hostip_key.text = kwargs.pop('hostip')
username_... | def snmp_server_v3host_notifytype(self, **kwargs) | Auto Generated Code | 1.372088 | 1.332703 | 1.029553 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
v3host = ET.SubElement(snmp_server, "v3host")
hostip_key = ET.SubElement(v3host, "hostip")
hostip_key.text = kwargs.pop('hostip')
username_... | def snmp_server_v3host_engineid(self, **kwargs) | Auto Generated Code | 1.372356 | 1.32767 | 1.033657 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
v3host = ET.SubElement(snmp_server, "v3host")
hostip_key = ET.SubElement(v3host, "hostip")
hostip_key.text = kwargs.pop('hostip')
username_... | def snmp_server_v3host_severity_level(self, **kwargs) | Auto Generated Code | 1.363938 | 1.318804 | 1.034223 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
v3host = ET.SubElement(snmp_server, "v3host")
hostip_key = ET.SubElement(v3host, "hostip")
hostip_key.text = kwargs.pop('hostip')
username_... | def snmp_server_v3host_use_vrf(self, **kwargs) | Auto Generated Code | 1.357975 | 1.305439 | 1.040244 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
v3host = ET.SubElement(snmp_server, "v3host")
hostip_key = ET.SubElement(v3host, "hostip")
hostip_key.text = kwargs.pop('hostip')
username_... | def snmp_server_v3host_source_interface_source_interface_type_loopback_loopback(self, **kwargs) | Auto Generated Code | 1.327643 | 1.290554 | 1.028739 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
host = ET.SubElement(snmp_server, "host")
community_key = ET.SubElement(host, "community")
community_key.text = kwargs.pop('community')
ip ... | def snmp_server_host_ip(self, **kwargs) | Auto Generated Code | 1.64092 | 1.556785 | 1.054044 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
host = ET.SubElement(snmp_server, "host")
ip_key = ET.SubElement(host, "ip")
ip_key.text = kwargs.pop('ip')
community_key = ET.SubElement(h... | def snmp_server_host_version(self, **kwargs) | Auto Generated Code | 1.419937 | 1.34998 | 1.051821 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
host = ET.SubElement(snmp_server, "host")
ip_key = ET.SubElement(host, "ip")
ip_key.text = kwargs.pop('ip')
community = ET.SubElement(host,... | def snmp_server_host_community(self, **kwargs) | Auto Generated Code | 1.424305 | 1.350925 | 1.054318 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
host = ET.SubElement(snmp_server, "host")
ip_key = ET.SubElement(host, "ip")
ip_key.text = kwargs.pop('ip')
community_key = ET.SubElement(h... | def snmp_server_host_udp_port(self, **kwargs) | Auto Generated Code | 1.386349 | 1.334686 | 1.038708 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
host = ET.SubElement(snmp_server, "host")
ip_key = ET.SubElement(host, "ip")
ip_key.text = kwargs.pop('ip')
community_key = ET.SubElement(h... | def snmp_server_host_severity_level(self, **kwargs) | Auto Generated Code | 1.386716 | 1.328282 | 1.043992 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
host = ET.SubElement(snmp_server, "host")
ip_key = ET.SubElement(host, "ip")
ip_key.text = kwargs.pop('ip')
community_key = ET.SubElement(h... | def snmp_server_host_use_vrf(self, **kwargs) | Auto Generated Code | 1.396205 | 1.331147 | 1.048874 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
host = ET.SubElement(snmp_server, "host")
ip_key = ET.SubElement(host, "ip")
ip_key.text = kwargs.pop('ip')
community_key = ET.SubElement(h... | def snmp_server_host_source_interface_source_interface_type_loopback_loopback(self, **kwargs) | Auto Generated Code | 1.335173 | 1.30146 | 1.025904 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
agtconfig = ET.SubElement(snmp_server, "agtconfig")
contact = ET.SubElement(agtconfig, "contact")
contact.text = kwargs.pop('contact')
cal... | def snmp_server_agtconfig_contact(self, **kwargs) | Auto Generated Code | 1.337947 | 1.255157 | 1.06596 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
agtconfig = ET.SubElement(snmp_server, "agtconfig")
location = ET.SubElement(agtconfig, "location")
location.text = kwargs.pop('location')
... | def snmp_server_agtconfig_location(self, **kwargs) | Auto Generated Code | 1.353401 | 1.270276 | 1.065439 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
agtconfig = ET.SubElement(snmp_server, "agtconfig")
sys_descr = ET.SubElement(agtconfig, "sys-descr")
sys_descr.text = kwargs.pop('sys_descr')
... | def snmp_server_agtconfig_sys_descr(self, **kwargs) | Auto Generated Code | 1.288823 | 1.243052 | 1.036821 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
enable = ET.SubElement(snmp_server, "enable")
trap = ET.SubElement(enable, "trap")
trap_flag = ET.SubElement(trap, "trap-flag")
callback =... | def snmp_server_enable_trap_trap_flag(self, **kwargs) | Auto Generated Code | 1.35827 | 1.29925 | 1.045427 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
engineID_drop = ET.SubElement(snmp_server, "engineID-drop")
engineID = ET.SubElement(engineID_drop, "engineID")
local = ET.SubElement(engineID, "lo... | def snmp_server_engineID_drop_engineID_local(self, **kwargs) | Auto Generated Code | 1.366576 | 1.300668 | 1.050672 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
view = ET.SubElement(snmp_server, "view")
mibtree_key = ET.SubElement(view, "mibtree")
mibtree_key.text = kwargs.pop('mibtree')
viewname = ... | def snmp_server_view_viewname(self, **kwargs) | Auto Generated Code | 1.594868 | 1.494892 | 1.066879 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
view = ET.SubElement(snmp_server, "view")
viewname_key = ET.SubElement(view, "viewname")
viewname_key.text = kwargs.pop('viewname')
mibtree... | def snmp_server_view_mibtree(self, **kwargs) | Auto Generated Code | 1.41739 | 1.313825 | 1.078827 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
view = ET.SubElement(snmp_server, "view")
viewname_key = ET.SubElement(view, "viewname")
viewname_key.text = kwargs.pop('viewname')
mibtree... | def snmp_server_view_mibtree_access(self, **kwargs) | Auto Generated Code | 1.384154 | 1.34234 | 1.031151 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
group = ET.SubElement(snmp_server, "group")
group_version_key = ET.SubElement(group, "group-version")
group_version_key.text = kwargs.pop('group_ve... | def snmp_server_group_group_name(self, **kwargs) | Auto Generated Code | 1.425376 | 1.365057 | 1.044187 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
group = ET.SubElement(snmp_server, "group")
group_name_key = ET.SubElement(group, "group-name")
group_name_key.text = kwargs.pop('group_name')
... | def snmp_server_group_group_version(self, **kwargs) | Auto Generated Code | 1.276963 | 1.23199 | 1.036504 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
group = ET.SubElement(snmp_server, "group")
group_name_key = ET.SubElement(group, "group-name")
group_name_key.text = kwargs.pop('group_name')
... | def snmp_server_group_group_auth_mode(self, **kwargs) | Auto Generated Code | 1.257644 | 1.222104 | 1.029081 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
group = ET.SubElement(snmp_server, "group")
group_name_key = ET.SubElement(group, "group-name")
group_name_key.text = kwargs.pop('group_name')
... | def snmp_server_group_read(self, **kwargs) | Auto Generated Code | 1.354925 | 1.292879 | 1.047991 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
group = ET.SubElement(snmp_server, "group")
group_name_key = ET.SubElement(group, "group-name")
group_name_key.text = kwargs.pop('group_name')
... | def snmp_server_group_write(self, **kwargs) | Auto Generated Code | 1.368166 | 1.298035 | 1.054028 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
group = ET.SubElement(snmp_server, "group")
group_name_key = ET.SubElement(group, "group-name")
group_name_key.text = kwargs.pop('group_name')
... | def snmp_server_group_notify(self, **kwargs) | Auto Generated Code | 1.332375 | 1.27175 | 1.047671 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
mib = ET.SubElement(snmp_server, "mib")
community_map = ET.SubElement(mib, "community-map")
community = ET.SubElement(community_map, "community")
... | def snmp_server_mib_community_map_community(self, **kwargs) | Auto Generated Code | 1.298874 | 1.243664 | 1.044394 |
config = ET.Element("config")
snmp_server = ET.SubElement(config, "snmp-server", xmlns="urn:brocade.com:mgmt:brocade-snmp")
mib = ET.SubElement(snmp_server, "mib")
community_map = ET.SubElement(mib, "community-map")
community_key = ET.SubElement(community_map, "community... | def snmp_server_mib_community_map_context(self, **kwargs) | Auto Generated Code | 1.395347 | 1.346049 | 1.036625 |
config = ET.Element("config")
show_ntp = ET.Element("show_ntp")
config = show_ntp
input = ET.SubElement(show_ntp, "input")
rbridge_id = ET.SubElement(input, "rbridge-id")
rbridge_id.text = kwargs.pop('rbridge_id')
callback = kwargs.pop('callback', self._... | def show_ntp_input_rbridge_id(self, **kwargs) | Auto Generated Code | 1.486808 | 1.327038 | 1.120396 |
config = ET.Element("config")
show_ntp = ET.Element("show_ntp")
config = show_ntp
output = ET.SubElement(show_ntp, "output")
node_active_server = ET.SubElement(output, "node-active-server")
rbridge_id_out = ET.SubElement(node_active_server, "rbridge-id-out")
... | def show_ntp_output_node_active_server_rbridge_id_out(self, **kwargs) | Auto Generated Code | 1.429423 | 1.334798 | 1.07089 |
config = ET.Element("config")
show_ntp = ET.Element("show_ntp")
config = show_ntp
output = ET.SubElement(show_ntp, "output")
node_active_server = ET.SubElement(output, "node-active-server")
ip4_6_or_local = ET.SubElement(node_active_server, "ip4-6-or-local")
... | def show_ntp_output_node_active_server_ip4_6_or_local_ipv4_6_active_server(self, **kwargs) | Auto Generated Code | 1.344877 | 1.297195 | 1.036757 |
config = ET.Element("config")
show_ntp = ET.Element("show_ntp")
config = show_ntp
output = ET.SubElement(show_ntp, "output")
node_active_server = ET.SubElement(output, "node-active-server")
ip4_6_or_local = ET.SubElement(node_active_server, "ip4-6-or-local")
... | def show_ntp_output_node_active_server_ip4_6_or_local_local_LOCL(self, **kwargs) | Auto Generated Code | 1.370757 | 1.337744 | 1.024678 |
config = ET.Element("config")
ntp = ET.SubElement(config, "ntp", xmlns="urn:brocade.com:mgmt:brocade-ntp")
authentication_key = ET.SubElement(ntp, "authentication-key")
keyid = ET.SubElement(authentication_key, "keyid")
keyid.text = kwargs.pop('keyid')
callback ... | def ntp_authentication_key_keyid(self, **kwargs) | Auto Generated Code | 1.383212 | 1.29808 | 1.065583 |
config = ET.Element("config")
ntp = ET.SubElement(config, "ntp", xmlns="urn:brocade.com:mgmt:brocade-ntp")
authentication_key = ET.SubElement(ntp, "authentication-key")
keyid_key = ET.SubElement(authentication_key, "keyid")
keyid_key.text = kwargs.pop('keyid')
en... | def ntp_authentication_key_encryption_type_md5_type_md5(self, **kwargs) | Auto Generated Code | 1.360801 | 1.303501 | 1.043958 |
config = ET.Element("config")
ntp = ET.SubElement(config, "ntp", xmlns="urn:brocade.com:mgmt:brocade-ntp")
authentication_key = ET.SubElement(ntp, "authentication-key")
keyid_key = ET.SubElement(authentication_key, "keyid")
keyid_key.text = kwargs.pop('keyid')
en... | def ntp_authentication_key_encryption_type_sha1_type_sha1(self, **kwargs) | Auto Generated Code | 1.360144 | 1.309162 | 1.038942 |
config = ET.Element("config")
ntp = ET.SubElement(config, "ntp", xmlns="urn:brocade.com:mgmt:brocade-ntp")
authentication_key = ET.SubElement(ntp, "authentication-key")
keyid_key = ET.SubElement(authentication_key, "keyid")
keyid_key.text = kwargs.pop('keyid')
en... | def ntp_authentication_key_encryption_level(self, **kwargs) | Auto Generated Code | 1.44401 | 1.360268 | 1.061563 |
config = ET.Element("config")
ntp = ET.SubElement(config, "ntp", xmlns="urn:brocade.com:mgmt:brocade-ntp")
source_ip = ET.SubElement(ntp, "source-ip")
source_ip.text = kwargs.pop('source_ip')
callback = kwargs.pop('callback', self._callback)
return callback(conf... | def ntp_source_ip(self, **kwargs) | Auto Generated Code | 1.46189 | 1.344962 | 1.086938 |
config = ET.Element("config")
get_stp_brief_info = ET.Element("get_stp_brief_info")
config = get_stp_brief_info
input = ET.SubElement(get_stp_brief_info, "input")
request_type = ET.SubElement(input, "request-type")
getnext_request = ET.SubElement(request_type, "g... | def get_stp_brief_info_input_request_type_getnext_request_last_rcvd_instance_instance_id(self, **kwargs) | Auto Generated Code | 1.229288 | 1.203148 | 1.021727 |
config = ET.Element("config")
get_stp_brief_info = ET.Element("get_stp_brief_info")
config = get_stp_brief_info
output = ET.SubElement(get_stp_brief_info, "output")
spanning_tree_info = ET.SubElement(output, "spanning-tree-info")
stp_mode = ET.SubElement(spanning... | def get_stp_brief_info_output_spanning_tree_info_stp_mode(self, **kwargs) | Auto Generated Code | 1.225357 | 1.184962 | 1.034089 |
config = ET.Element("config")
get_stp_brief_info = ET.Element("get_stp_brief_info")
config = get_stp_brief_info
output = ET.SubElement(get_stp_brief_info, "output")
spanning_tree_info = ET.SubElement(output, "spanning-tree-info")
spanning_tree_mode = ET.SubElemen... | def get_stp_brief_info_output_spanning_tree_info_spanning_tree_mode_stp_stp_root_bridge_priority(self, **kwargs) | Auto Generated Code | 1.1942 | 1.151004 | 1.037529 |
config = ET.Element("config")
get_stp_brief_info = ET.Element("get_stp_brief_info")
config = get_stp_brief_info
output = ET.SubElement(get_stp_brief_info, "output")
spanning_tree_info = ET.SubElement(output, "spanning-tree-info")
spanning_tree_mode = ET.SubElemen... | def get_stp_brief_info_output_spanning_tree_info_spanning_tree_mode_stp_stp_port_interface_type(self, **kwargs) | Auto Generated Code | 1.191069 | 1.158359 | 1.028238 |
config = ET.Element("config")
get_stp_brief_info = ET.Element("get_stp_brief_info")
config = get_stp_brief_info
output = ET.SubElement(get_stp_brief_info, "output")
spanning_tree_info = ET.SubElement(output, "spanning-tree-info")
spanning_tree_mode = ET.SubElemen... | def get_stp_brief_info_output_spanning_tree_info_spanning_tree_mode_rstp_rstp_transmit_hold_count(self, **kwargs) | Auto Generated Code | 1.182807 | 1.151895 | 1.026835 |
config = ET.Element("config")
get_stp_brief_info = ET.Element("get_stp_brief_info")
config = get_stp_brief_info
output = ET.SubElement(get_stp_brief_info, "output")
spanning_tree_info = ET.SubElement(output, "spanning-tree-info")
spanning_tree_mode = ET.SubElemen... | def get_stp_brief_info_output_spanning_tree_info_spanning_tree_mode_rstp_rstp_migrate_time(self, **kwargs) | Auto Generated Code | 1.182177 | 1.14559 | 1.031937 |
config = ET.Element("config")
get_stp_brief_info = ET.Element("get_stp_brief_info")
config = get_stp_brief_info
output = ET.SubElement(get_stp_brief_info, "output")
spanning_tree_info = ET.SubElement(output, "spanning-tree-info")
spanning_tree_mode = ET.SubElemen... | def get_stp_brief_info_output_spanning_tree_info_spanning_tree_mode_mstp_mstp_transmit_hold_count(self, **kwargs) | Auto Generated Code | 1.180881 | 1.147997 | 1.028645 |
config = ET.Element("config")
get_stp_brief_info = ET.Element("get_stp_brief_info")
config = get_stp_brief_info
output = ET.SubElement(get_stp_brief_info, "output")
spanning_tree_info = ET.SubElement(output, "spanning-tree-info")
spanning_tree_mode = ET.SubElemen... | def get_stp_brief_info_output_spanning_tree_info_spanning_tree_mode_mstp_mstp_migrate_time(self, **kwargs) | Auto Generated Code | 1.179973 | 1.143374 | 1.032009 |
config = ET.Element("config")
get_stp_brief_info = ET.Element("get_stp_brief_info")
config = get_stp_brief_info
output = ET.SubElement(get_stp_brief_info, "output")
spanning_tree_info = ET.SubElement(output, "spanning-tree-info")
spanning_tree_mode = ET.SubElemen... | def get_stp_brief_info_output_spanning_tree_info_spanning_tree_mode_pvstp_pvstp_vlan_id(self, **kwargs) | Auto Generated Code | 1.18887 | 1.148708 | 1.034962 |
config = ET.Element("config")
get_stp_brief_info = ET.Element("get_stp_brief_info")
config = get_stp_brief_info
output = ET.SubElement(get_stp_brief_info, "output")
spanning_tree_info = ET.SubElement(output, "spanning-tree-info")
spanning_tree_mode = ET.SubElemen... | def get_stp_brief_info_output_spanning_tree_info_spanning_tree_mode_pvstp_pvstp_root_bridge_priority(self, **kwargs) | Auto Generated Code | 1.22459 | 1.17668 | 1.040717 |
config = ET.Element("config")
get_stp_brief_info = ET.Element("get_stp_brief_info")
config = get_stp_brief_info
output = ET.SubElement(get_stp_brief_info, "output")
spanning_tree_info = ET.SubElement(output, "spanning-tree-info")
spanning_tree_mode = ET.SubElemen... | def get_stp_brief_info_output_spanning_tree_info_spanning_tree_mode_pvstp_pvstp_transmit_hold_count(self, **kwargs) | Auto Generated Code | 1.216635 | 1.18013 | 1.030933 |
config = ET.Element("config")
get_stp_brief_info = ET.Element("get_stp_brief_info")
config = get_stp_brief_info
output = ET.SubElement(get_stp_brief_info, "output")
spanning_tree_info = ET.SubElement(output, "spanning-tree-info")
spanning_tree_mode = ET.SubElemen... | def get_stp_brief_info_output_spanning_tree_info_spanning_tree_mode_pvstp_pvstp_port_interface_type(self, **kwargs) | Auto Generated Code | 1.223719 | 1.184284 | 1.033299 |
config = ET.Element("config")
get_stp_brief_info = ET.Element("get_stp_brief_info")
config = get_stp_brief_info
output = ET.SubElement(get_stp_brief_info, "output")
spanning_tree_info = ET.SubElement(output, "spanning-tree-info")
spanning_tree_mode = ET.SubElemen... | def get_stp_brief_info_output_spanning_tree_info_spanning_tree_mode_rpvstp_rpvstp_vlan_id(self, **kwargs) | Auto Generated Code | 1.183415 | 1.146062 | 1.032592 |
config = ET.Element("config")
get_stp_brief_info = ET.Element("get_stp_brief_info")
config = get_stp_brief_info
output = ET.SubElement(get_stp_brief_info, "output")
has_more = ET.SubElement(output, "has-more")
has_more.text = kwargs.pop('has_more')
callb... | def get_stp_brief_info_output_has_more(self, **kwargs) | Auto Generated Code | 1.33392 | 1.209351 | 1.103005 |
config = ET.Element("config")
get_stp_brief_info = ET.Element("get_stp_brief_info")
config = get_stp_brief_info
output = ET.SubElement(get_stp_brief_info, "output")
last_instance = ET.SubElement(output, "last-instance")
instance_id = ET.SubElement(last_instance, ... | def get_stp_brief_info_output_last_instance_instance_id(self, **kwargs) | Auto Generated Code | 1.268837 | 1.193276 | 1.063322 |
config = ET.Element("config")
get_stp_mst_detail = ET.Element("get_stp_mst_detail")
config = get_stp_mst_detail
input = ET.SubElement(get_stp_mst_detail, "input")
request_type = ET.SubElement(input, "request-type")
getnext_request = ET.SubElement(request_type, "g... | def get_stp_mst_detail_input_request_type_getnext_request_last_rcvd_instance_instance_id(self, **kwargs) | Auto Generated Code | 1.252889 | 1.20689 | 1.038114 |
config = ET.Element("config")
get_stp_mst_detail = ET.Element("get_stp_mst_detail")
config = get_stp_mst_detail
output = ET.SubElement(get_stp_mst_detail, "output")
cist = ET.SubElement(output, "cist")
cist_root_id = ET.SubElement(cist, "cist-root-id")
ci... | def get_stp_mst_detail_output_cist_cist_root_id(self, **kwargs) | Auto Generated Code | 1.266482 | 1.195238 | 1.059606 |
config = ET.Element("config")
get_stp_mst_detail = ET.Element("get_stp_mst_detail")
config = get_stp_mst_detail
output = ET.SubElement(get_stp_mst_detail, "output")
cist = ET.SubElement(output, "cist")
cist_bridge_id = ET.SubElement(cist, "cist-bridge-id")
... | def get_stp_mst_detail_output_cist_cist_bridge_id(self, **kwargs) | Auto Generated Code | 1.260771 | 1.20609 | 1.045337 |
config = ET.Element("config")
get_stp_mst_detail = ET.Element("get_stp_mst_detail")
config = get_stp_mst_detail
output = ET.SubElement(get_stp_mst_detail, "output")
cist = ET.SubElement(output, "cist")
cist_reg_root_id = ET.SubElement(cist, "cist-reg-root-id")
... | def get_stp_mst_detail_output_cist_cist_reg_root_id(self, **kwargs) | Auto Generated Code | 1.242564 | 1.18594 | 1.047746 |
config = ET.Element("config")
get_stp_mst_detail = ET.Element("get_stp_mst_detail")
config = get_stp_mst_detail
output = ET.SubElement(get_stp_mst_detail, "output")
cist = ET.SubElement(output, "cist")
root_forward_delay = ET.SubElement(cist, "root-forward-delay"... | def get_stp_mst_detail_output_cist_root_forward_delay(self, **kwargs) | Auto Generated Code | 1.271326 | 1.207231 | 1.053093 |
config = ET.Element("config")
get_stp_mst_detail = ET.Element("get_stp_mst_detail")
config = get_stp_mst_detail
output = ET.SubElement(get_stp_mst_detail, "output")
cist = ET.SubElement(output, "cist")
hello_time = ET.SubElement(cist, "hello-time")
hello_... | def get_stp_mst_detail_output_cist_hello_time(self, **kwargs) | Auto Generated Code | 1.263573 | 1.196952 | 1.055659 |
config = ET.Element("config")
get_stp_mst_detail = ET.Element("get_stp_mst_detail")
config = get_stp_mst_detail
output = ET.SubElement(get_stp_mst_detail, "output")
cist = ET.SubElement(output, "cist")
max_age = ET.SubElement(cist, "max-age")
max_age.text... | def get_stp_mst_detail_output_cist_max_age(self, **kwargs) | Auto Generated Code | 1.283061 | 1.205824 | 1.064053 |
config = ET.Element("config")
get_stp_mst_detail = ET.Element("get_stp_mst_detail")
config = get_stp_mst_detail
output = ET.SubElement(get_stp_mst_detail, "output")
cist = ET.SubElement(output, "cist")
max_hops = ET.SubElement(cist, "max-hops")
max_hops.t... | def get_stp_mst_detail_output_cist_max_hops(self, **kwargs) | Auto Generated Code | 1.274862 | 1.196976 | 1.065069 |
config = ET.Element("config")
get_stp_mst_detail = ET.Element("get_stp_mst_detail")
config = get_stp_mst_detail
output = ET.SubElement(get_stp_mst_detail, "output")
cist = ET.SubElement(output, "cist")
migrate_time = ET.SubElement(cist, "migrate-time")
mi... | def get_stp_mst_detail_output_cist_migrate_time(self, **kwargs) | Auto Generated Code | 1.296685 | 1.219333 | 1.063438 |
config = ET.Element("config")
get_stp_mst_detail = ET.Element("get_stp_mst_detail")
config = get_stp_mst_detail
output = ET.SubElement(get_stp_mst_detail, "output")
cist = ET.SubElement(output, "cist")
port = ET.SubElement(cist, "port")
interface_type = E... | def get_stp_mst_detail_output_cist_port_interface_type(self, **kwargs) | Auto Generated Code | 1.275734 | 1.230742 | 1.036557 |
config = ET.Element("config")
get_stp_mst_detail = ET.Element("get_stp_mst_detail")
config = get_stp_mst_detail
output = ET.SubElement(get_stp_mst_detail, "output")
cist = ET.SubElement(output, "cist")
port = ET.SubElement(cist, "port")
interface_name = E... | def get_stp_mst_detail_output_cist_port_interface_name(self, **kwargs) | Auto Generated Code | 1.273448 | 1.228299 | 1.036757 |
config = ET.Element("config")
get_stp_mst_detail = ET.Element("get_stp_mst_detail")
config = get_stp_mst_detail
output = ET.SubElement(get_stp_mst_detail, "output")
cist = ET.SubElement(output, "cist")
port = ET.SubElement(cist, "port")
spanningtree_enabl... | def get_stp_mst_detail_output_cist_port_spanningtree_enabled(self, **kwargs) | Auto Generated Code | 1.299467 | 1.236742 | 1.050718 |
config = ET.Element("config")
get_stp_mst_detail = ET.Element("get_stp_mst_detail")
config = get_stp_mst_detail
output = ET.SubElement(get_stp_mst_detail, "output")
cist = ET.SubElement(output, "cist")
port = ET.SubElement(cist, "port")
if_index = ET.SubE... | def get_stp_mst_detail_output_cist_port_if_index(self, **kwargs) | Auto Generated Code | 1.306691 | 1.251135 | 1.044404 |
config = ET.Element("config")
get_stp_mst_detail = ET.Element("get_stp_mst_detail")
config = get_stp_mst_detail
output = ET.SubElement(get_stp_mst_detail, "output")
cist = ET.SubElement(output, "cist")
port = ET.SubElement(cist, "port")
interface_id = ET.... | def get_stp_mst_detail_output_cist_port_interface_id(self, **kwargs) | Auto Generated Code | 1.280207 | 1.233156 | 1.038155 |
config = ET.Element("config")
get_stp_mst_detail = ET.Element("get_stp_mst_detail")
config = get_stp_mst_detail
output = ET.SubElement(get_stp_mst_detail, "output")
cist = ET.SubElement(output, "cist")
port = ET.SubElement(cist, "port")
if_role = ET.SubEl... | def get_stp_mst_detail_output_cist_port_if_role(self, **kwargs) | Auto Generated Code | 1.280083 | 1.227656 | 1.042705 |
config = ET.Element("config")
get_stp_mst_detail = ET.Element("get_stp_mst_detail")
config = get_stp_mst_detail
output = ET.SubElement(get_stp_mst_detail, "output")
cist = ET.SubElement(output, "cist")
port = ET.SubElement(cist, "port")
if_state = ET.SubE... | def get_stp_mst_detail_output_cist_port_if_state(self, **kwargs) | Auto Generated Code | 1.272695 | 1.232192 | 1.032871 |
config = ET.Element("config")
get_stp_mst_detail = ET.Element("get_stp_mst_detail")
config = get_stp_mst_detail
output = ET.SubElement(get_stp_mst_detail, "output")
cist = ET.SubElement(output, "cist")
port = ET.SubElement(cist, "port")
external_path_cost... | def get_stp_mst_detail_output_cist_port_external_path_cost(self, **kwargs) | Auto Generated Code | 1.263438 | 1.213469 | 1.041179 |
config = ET.Element("config")
get_stp_mst_detail = ET.Element("get_stp_mst_detail")
config = get_stp_mst_detail
output = ET.SubElement(get_stp_mst_detail, "output")
cist = ET.SubElement(output, "cist")
port = ET.SubElement(cist, "port")
internal_path_cost... | def get_stp_mst_detail_output_cist_port_internal_path_cost(self, **kwargs) | Auto Generated Code | 1.262039 | 1.213334 | 1.040142 |
config = ET.Element("config")
get_stp_mst_detail = ET.Element("get_stp_mst_detail")
config = get_stp_mst_detail
output = ET.SubElement(get_stp_mst_detail, "output")
cist = ET.SubElement(output, "cist")
port = ET.SubElement(cist, "port")
configured_path_co... | def get_stp_mst_detail_output_cist_port_configured_path_cost(self, **kwargs) | Auto Generated Code | 1.260545 | 1.208133 | 1.043383 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.