def get(cls, session): """Gets all of the tenants from the APIC. INPUT: session RETURNS: List of Tenant objects """ return BaseACIObject.get(session, cls, 'fvTenant')
def get(cls, session, parent, tenant): """Gets all of the EPGs from the APIC. INPUT: session, parent, Tenant RETURNS: List of CommonEPG """ return BaseACIObject.get(session, cls, 'fvAEPg', parent, tenant)
def get(cls, session, tenant): """Gets all of the Application Profiles from the APIC. INPUT: session, tenant RETURNS: List of AppProfile objects """ return BaseACIObject.get(session, cls, 'fvAp', parent=tenant, tenant=tenant)
def get(cls, session, bridgedomain, tenant): """Gets all of the Subnets from the APIC for a particular tenant and bridgedomain """ return BaseACIObject.get(session, cls, 'fvSubnet', parent=bridgedomain, tenant=tenant)
def get(cls, session, tenant): """Gets all of the Contracts from the APIC for a particular tenant. """ return BaseACIObject.get(session, cls, cls._get_contract_code(), tenant, tenant)
def get(cls, session, tenant): """Gets all of the Contexts from the APIC. """ return BaseACIObject.get(session, cls, 'fvCtx', tenant, tenant)
def get(cls, session, tenant): """Gets all of the Bridge Domains from the APIC. """ return BaseACIObject.get(session, cls, 'fvBD', tenant, tenant)