Currently we don't have detailed parameters checking
when creating a capsule, this patch add the volume
parameters type checking and several test cases.
Also modify the related template file and design document.
Change some parameters in the template to Kubernetes
friendly.
Modify the field check from "spec" to "template" in
check_capsule_template, since there already a low level spec
field in capsule yaml. Will also modify the python-zunclient.
Part of blueprint introduce-compose
Change-Id: I88c1c248d83d0a27f5a291fcf9d952bb70234dff
Signed-off-by: Kevin Zhao <kevin.zhao@arm.com>
Capsule now can support attach volume when created.
Also modify the template for the format of volume in
capsule.
User can either create a new volume when launch
the capsule by specify the volume size, or use the existed
available volumes by set the volumeID in the template.
Now the volume could not support multiple attach to
serveral container, just support:
1. one volume attach to one container
2. Several volumes attach to one container
Part of blueprint introduce-compose
Change-Id: I2e2afba94cb83e6e7924366cbd8135fe6d6eea16
Signed-off-by: Kevin Zhao <kevin.zhao@arm.com>
1.Add new entrypoint 'experimental', devstack will be
modified to support this.
2.Add controller Capsule
3.Add capsule create method
4.Refactor the code for _do_container_create
5.Add one capsule template
All capsule method in the API level will use:
/experimental/capsules API, apart from v1 API.
Part of blueprint introduce-compose
Change-Id: Ia031ee5beb48ec70dab6bb371944140d025a499b
Signed-off-by: Kevin Zhao <kevin.zhao@arm.com>