heat.engine.clients.os.zun module

class heat.engine.clients.os.zun.ZunClientPlugin(context)[source]

Bases: heat.engine.clients.client_plugin.ClientPlugin

CONTAINER = 'container'
V1_12 = '1.12'
V1_18 = '1.18'
V1_36 = '1.36'
check_network_attach(container_id, port_id)[source]
check_network_detach(container_id, port_id)[source]
default_version = '1.12'
is_conflict(ex)[source]

Returns True if the exception is a conflict.

is_not_found(ex)[source]

Returns True if the exception is a not-found.

is_over_limit(ex)[source]

Returns True if the exception is an over-limit.

network_attach(container_id, port_id=None, net_id=None, fip=None, security_groups=None)[source]
network_detach(container_id, port_id)[source]
service_types = ['container']
supported_versions = ['1.12', '1.18', '1.36']
update_container(container_id, **prop_diff)[source]