Shu Muto 2f01345c76 Add new options for container creation
This patch adds following options for container creation.
* auto_heal
* disk
* availablity_zones

Also, add these parameters into details views to show.
And change layouts to add these options.

This change requires python-zunclient 1.4.0 or later.

Change-Id: Ibb9e774ea379a9999c703d6919f14dd0a6e56857
Implements: blueprint add-params-rocky-1
Depends-On: I6c0512816277a63bbf444d0775121bb5d964a36a
2018-06-06 09:30:43 +09:00

40 lines
1.4 KiB
HTML

<div ng-controller="horizon.dashboard.container.containers.OverviewController as ctrl">
<div class="row">
<div class="col-md-6 detail">
<h3 translate>Info</h3>
<hr>
<hz-resource-property-list
resource-type-name="OS::Zun::Container"
cls="dl-horizontal"
item="ctrl.container"
property-groups="[['id', 'name', 'status', 'status_detail', 'status_reason',
'task_state', 'command']]">
</hz-resource-property-list>
</div>
<div class="col-md-6 detail">
<h3 translate>Spec</h3>
<hr>
<hz-resource-property-list
resource-type-name="OS::Zun::Container"
cls="dl-horizontal"
item="ctrl.container"
property-groups="[['image', 'image_driver', 'image_pull_policy', 'hostname', 'runtime',
'cpu', 'memory', 'disk', 'restart_policy', 'auto_remove', 'auto_heal',
'addresses', 'ports', 'security_groups']]">
</hz-resource-property-list>
</div>
</div>
<div class="row">
<div class="col-md-6 detail">
<h3 translate>Miscellaneous</h3>
<hr>
<hz-resource-property-list
resource-type-name="OS::Zun::Container"
cls="dl-horizontal"
item="ctrl.container"
property-groups="[['host', 'workdir', 'environment', 'interactive',
'labels', 'links']]">
</hz-resource-property-list>
</div>
</div>
</div>