Add network property to openstack zun resource
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Confirmed
|
Undecided
|
hongbin | ||
Zun |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Currently the heat ressource for zun containers does not support configuring networks. It is only possible to retrieve the assigned port through its attributes. This limits the ability to configure networking for a container e.g. it is not possible to let a container have multiple networks.
Therefore i suggest adding a networks/nets property to the resource. The zun client allready supports such a property (called net) as creation attribute. See https:/
Supported network options are: --net <auto, network=network, port=port-
Adding this property will also make the zun container network configuration similar to nova compute network configuration. This should make it easier for heat users to adopt container resources when adding zun to their openstack.
The zun client also supports other creation attributes that are not yet part of the heat resource that could be added at the same time.
Changed in heat: | |
milestone: | none → no-priority-tag-bugs |
We are working on a patch for Heat: https:/ /review. openstack. org/#/c/ 533426/ which should address this bug.