예제 #1
0
파일: servers.py 프로젝트: sapcc/nova
 def __init__(self):
     """Initialize view builder."""
     super(ViewBuilder, self).__init__()
     self._address_builder = views_addresses.ViewBuilder()
     self._image_builder = views_images.ViewBuilder()
     self._flavor_builder = views_flavors.ViewBuilder()
     self.compute_api = compute.API()
 def __init__(self):
     """Initialize view builder."""
     super(ViewBuilder, self).__init__()
     self._address_builder = views_addresses.ViewBuilder()
     self._image_builder = views_images.ViewBuilder()
     self._flavor_builder = views_flavors.ViewBuilder()
     self.compute_api = compute.API()
     self.security_group_api = (
         openstack_driver.get_openstack_security_group_driver())