Esempio n. 1
0
    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')
Esempio n. 2
0
    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)
Esempio n. 3
0
    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)
Esempio n. 4
0
    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')
Esempio n. 5
0
    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)
Esempio n. 6
0
 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)
Esempio n. 7
0
    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)
Esempio n. 8
0
 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)
Esempio n. 9
0
 def get(cls, session, tenant):
     """Gets all of the Contexts from the APIC.
     """
     return BaseACIObject.get(session, cls, 'fvCtx', tenant, tenant)
Esempio n. 10
0
 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)
Esempio n. 11
0
 def get(cls, session, tenant):
     """Gets all of the Bridge Domains from the APIC.
     """
     return BaseACIObject.get(session, cls, 'fvBD', tenant, tenant)
Esempio n. 12
0
 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)
Esempio n. 13
0
 def get(cls, session, tenant):
     """Gets all of the Contexts from the APIC.
     """
     return BaseACIObject.get(session, cls, 'fvCtx', tenant, tenant)
Esempio n. 14
0
 def get(cls, session, tenant):
     """Gets all of the Bridge Domains from the APIC.
     """
     return BaseACIObject.get(session, cls, 'fvBD', tenant, tenant)