Пример #1
0
 def get_resources(self):
     res = extensions.ResourceExtension("os-fping", FpingController())
     return [res]
Пример #2
0
 def get_resources(self):
     resource = [extensions.ResourceExtension(ALIAS,
                             FloatingIPController())]
     return resource
Пример #3
0
 def get_resources(self):
     resources = [extensions.ResourceExtension(ALIAS, ServiceController())]
     return resources
Пример #4
0
    def get_resources(self):
        resources = []

        res = extensions.ResourceExtension('os-keypairs', KeypairController())
        resources.append(res)
        return resources
Пример #5
0
 def get_resources(self):
     resources = []
     res = extensions.ResourceExtension('os-cloudpipe',
                                        CloudpipeController())
     resources.append(res)
     return resources
Пример #6
0
 def get_resources(self):
     resource = [extensions.ResourceExtension(ALIAS, CloudpipeController())]
     return resource
Пример #7
0
 def get_resources(self):
     resources = [extensions.ResourceExtension(ALIAS,
                  PciController(),
                  collection_actions={'detail': 'GET'})]
     return resources
Пример #8
0
 def get_resources(self):
     ext = extensions.ResourceExtension('os-instance_usage_audit_log',
                                        InstanceUsageAuditLogController())
     return [ext]
Пример #9
0
 def get_resources(self):
     resources = [
         extensions.ResourceExtension(ALIAS,
                                      CertificatesController(),
                                      member_actions={})]
     return resources
Пример #10
0
 def get_resources(self):
     resources = [
         extensions.ResourceExtension(
             ALIAS, ExtensionInfoController(self.extension_info),
             member_name='extension')]
     return resources
Пример #11
0
 def get_resources(self):
     resources = []
     resource = extensions.ResourceExtension('os-agents',
                                             AgentController())
     resources.append(resource)
     return resources
Пример #12
0
 def get_resources(self):
     res = extensions.ResourceExtension(
              ALIAS, controller=ServerGroupController(),
              member_actions={"action": "POST", })
     return [res]
Пример #13
0
    def get_resources(self):
        resource = extensions.ResourceExtension('os-assisted-volume-snapshots',
                AssistedVolumeSnapshotsController())

        return [resource]
 def get_resources(self):
     resources = [
         extensions.ResourceExtension(ALIAS, QuotaClassSetsController())
     ]
     return resources
Пример #15
0
 def get_resources(self):
     resources = []
     resource = extensions.ResourceExtension('os-floating-ips-bulk',
                                             FloatingIPBulkController())
     resources.append(resource)
     return resources
Пример #16
0
 def get_resources(self):
     resources = [extensions.ResourceExtension(
                                         self.alias,
                                         AggregateController(),
                                         member_actions={'action': 'POST'})]
     return resources
Пример #17
0
 def get_resources(self):
     resource = [extensions.ResourceExtension(ALIAS, LimitsController())]
     return resource
Пример #18
0
 def get_resources(self):
     ext = extensions.ResourceExtension(ALIAS, TenantNetworkController())
     return [ext]
Пример #19
0
 def get_resources(self):
     resources = []
     res = extensions.ResourceExtension('testme', StubController())
     resources.append(res)
     return resources
Пример #20
0
 def get_resources(self):
     ext = extensions.ResourceExtension(ALIAS,
                                        InstanceUsageAuditLogController())
     return [ext]
Пример #21
0
 def get_resources(self):
     res = [extensions.ResourceExtension(ALIAS,
                                 AssistedVolumeSnapshotsController())]
     return res
Пример #22
0
 def get_resources(self):
     m_actions = {'freenic': 'GET'}
     resources = [extensions.ResourceExtension(ALIAS, HostnicController(),
                                               member_actions=m_actions)]
     return resources
Пример #23
0
 def get_resources(self):
     resources = [extensions.ResourceExtension(ALIAS, KeypairController())]
     return resources
Пример #24
0
 def get_resources(self):
     resources = [extensions.ResourceExtension(ALIAS,
             HostController(),
             member_actions={"startup": "GET", "shutdown": "GET",
                     "reboot": "GET"})]
     return resources
    def get_resources(self):
        resource = extensions.ResourceExtension(
            'os-server-external-events', ServerExternalEventsController())

        return [resource]
Пример #26
0
 def get_resources(self):
     resources = []
     resource = extensions.ResourceExtension('foxnsocks',
                                             FoxInSocksController())
     resources.append(resource)
     return resources
Пример #27
0
 def get_resources(self):
     ext = extensions.ResourceExtension('os-tenant-networks',
                                        NetworkController())
     return [ext]
Пример #28
0
 def get_resources(self):
     member_actions = {'action': 'POST'}
     res = extensions.ResourceExtension('os-networks',
                                        NetworkController(),
                                        member_actions=member_actions)
     return [res]
 def get_resources(self):
     resources = []
     resource = extensions.ResourceExtension('os-migrations',
                                             MigrationsController())
     resources.append(resource)
     return resources
Пример #30
0
 def get_resources(self):
     resource = extensions.ResourceExtension(ALIAS, LicenceController())
     return [resource]