Did I find the right examples for you? yes no

All Samples(17)  |  Call(13)  |  Derive(4)  |  Import(0)

src/n/o/nova-HEAD/nova/api/openstack/compute/contrib/keypairs.py   nova(Download)
class Controller(servers.Controller):
 
    def _add_key_name(self, req, servers):
        for server in servers:
            db_server = req.get_db_instance(server['id'])

src/n/o/nova-HEAD/nova/api/openstack/compute/contrib/config_drive.py   nova(Download)
class Controller(servers.Controller):
 
    def _add_config_drive(self, req, servers):
        for server in servers:
            db_server = req.get_db_instance(server['id'])

src/n/o/nova-gce-HEAD/nova/api/openstack/compute/contrib/keypairs.py   nova-gce(Download)
class Controller(servers.Controller):
 
    def _add_key_name(self, req, servers):
        for server in servers:
            db_server = req.get_db_instance(server['id'])

src/n/o/nova-gce-HEAD/nova/api/openstack/compute/contrib/config_drive.py   nova-gce(Download)
class Controller(servers.Controller):
 
    def _add_config_drive(self, req, servers):
        for server in servers:
            db_server = req.get_db_instance(server['id'])

src/c/o/cobalt-HEAD/cobalt/nova/osapi/cobalt_extension.py   cobalt(Download)
    def __init__(self):
        self.nova_servers = servers.Controller()
        self.nova_servers.compute_api = API()
 
    @convert_exception

src/n/o/nova-HEAD/nova/tests/api/openstack/compute/test_server_actions.py   nova(Download)
                return False
 
        self.controller = servers.Controller(ext_mgr=FakeExtManager())
        self.compute_api = self.controller.compute_api
        self.context = context.RequestContext('fake', 'fake')

src/n/o/nova-HEAD/nova/tests/api/openstack/compute/test_servers.py   nova(Download)
    def setUp(self):
        super(Base64ValidationTest, self).setUp()
        self.ext_mgr = extensions.ExtensionManager()
        self.ext_mgr.extensions = {}
        self.controller = servers.Controller(self.ext_mgr)
        self.ext_mgr = extensions.ExtensionManager()
        self.ext_mgr.extensions = {}
        self.controller = servers.Controller(self.ext_mgr)
        self.ips_controller = ips.Controller()
        policy.reset()
        self.ext_mgr = extensions.ExtensionManager()
        self.ext_mgr.extensions = {}
        self.controller = servers.Controller(self.ext_mgr)
 
        def _fake_get_server(context, req, id):
        self.ext_mgr = extensions.ExtensionManager()
        self.ext_mgr.extensions = {}
        self.controller = servers.Controller(self.ext_mgr)
 
        self.volume_id = 'fake'
    def setUp(self):
        super(ServersUnprocessableEntityTestCase, self).setUp()
        self.ext_mgr = extensions.ExtensionManager()
        self.ext_mgr.extensions = {}
        self.controller = servers.Controller(self.ext_mgr)

src/n/o/nova-gce-HEAD/nova/tests/api/openstack/compute/test_servers.py   nova-gce(Download)
    def setUp(self):
        super(Base64ValidationTest, self).setUp()
        self.ext_mgr = extensions.ExtensionManager()
        self.ext_mgr.extensions = {}
        self.controller = servers.Controller(self.ext_mgr)
        self.ext_mgr = extensions.ExtensionManager()
        self.ext_mgr.extensions = {}
        self.controller = servers.Controller(self.ext_mgr)
        self.ips_controller = ips.Controller()
 
        self.ext_mgr = extensions.ExtensionManager()
        self.ext_mgr.extensions = {}
        self.controller = servers.Controller(self.ext_mgr)
 
    def _get_with_state(self, vm_state, task_state=None):
        self.ext_mgr = extensions.ExtensionManager()
        self.ext_mgr.extensions = {}
        self.controller = servers.Controller(self.ext_mgr)
 
        def instance_create(context, inst):
    def setUp(self):
        super(ServersUnprocessableEntityTestCase, self).setUp()
        self.ext_mgr = extensions.ExtensionManager()
        self.ext_mgr.extensions = {}
        self.controller = servers.Controller(self.ext_mgr)

src/n/o/nova-gce-HEAD/nova/tests/api/openstack/compute/test_server_actions.py   nova-gce(Download)
        self._image_href = '155d900f-4e14-4e4c-a73d-069cbf4541e6'
 
        self.controller = servers.Controller()
 
    def test_server_change_password(self):