"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "zun/container/docker/driver.py" between
zun-4.0.1.tar.gz and zun-4.0.2.tar.gz

About: OpenStack Zun is a Container Management service for OpenStack.
The "Train" series (maintained release).

driver.py  (zun-4.0.1):driver.py  (zun-4.0.2)
skipping to change at line 1223 skipping to change at line 1223
def create_capsule(self, context, capsule, image, requested_networks, def create_capsule(self, context, capsule, image, requested_networks,
requested_volumes): requested_volumes):
capsule = self.create(context, capsule, image, requested_networks, capsule = self.create(context, capsule, image, requested_networks,
requested_volumes) requested_volumes)
self.start(context, capsule) self.start(context, capsule)
for container in capsule.init_containers: for container in capsule.init_containers:
self._create_container_in_capsule(context, capsule, container, self._create_container_in_capsule(context, capsule, container,
requested_networks, requested_networks,
requested_volumes) requested_volumes)
self._wait_for_init_container(context, container) self._wait_for_init_container(context, container)
container.save(context)
for container in capsule.containers: for container in capsule.containers:
self._create_container_in_capsule(context, capsule, container, self._create_container_in_capsule(context, capsule, container,
requested_networks, requested_networks,
requested_volumes) requested_volumes)
return capsule return capsule
def _create_container_in_capsule(self, context, capsule, container, def _create_container_in_capsule(self, context, capsule, container,
requested_networks, requested_volumes): requested_networks, requested_volumes):
# pull image # pull image
image_driver_name = container.image_driver image_driver_name = container.image_driver
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)