Add dns-domain support to Network object
Add "dns-domain" parameter to Network class. Also check backend extensions and send an error message in case of an argument (like dns-domain) is sent and the extension is missing (dns-integration in this case). Change-Id: I7303658c27d9b9f2d8381ccea0b29e96909cab54 Closes-Bug: 1633214 Partial-Bug: 1547736
This commit is contained in:

committed by
Jens Harbott

parent
b59de7b849
commit
b8754e15e7
doc/source/cli/command-objects
openstackclient
releasenotes/notes
@ -33,6 +33,7 @@ Create new network
|
||||
[--provider-segment <provider-segment>]
|
||||
[--qos-policy <qos-policy>]
|
||||
[--transparent-vlan | --no-transparent-vlan]
|
||||
[--dns-domain <dns-domain>]
|
||||
[--tag <tag> | --no-tag]
|
||||
<name>
|
||||
|
||||
@ -173,6 +174,10 @@ Create new network
|
||||
|
||||
*Network version 2 only*
|
||||
|
||||
.. option:: --dns-domain <dns-domain>
|
||||
|
||||
Set DNS domain for this network (requires DNS integration extension).
|
||||
|
||||
.. option:: --tag <tag>
|
||||
|
||||
Tag to be added to the network (repeat option to set multiple tags)
|
||||
@ -367,6 +372,7 @@ Set network properties
|
||||
[--provider-physical-network <provider-physical-network>]
|
||||
[--provider-segment <provider-segment>]
|
||||
[--qos-policy <qos-policy> | --no-qos-policy]
|
||||
[--dns-domain <dns-domain>]
|
||||
[--tag <tag>] [--no-tag]
|
||||
<network>
|
||||
|
||||
@ -446,6 +452,10 @@ Set network properties
|
||||
|
||||
Remove the QoS policy attached to this network
|
||||
|
||||
.. option:: --dns-domain <dns-domain>
|
||||
|
||||
Set DNS domain for this network (requires DNS integration extension).
|
||||
|
||||
.. option:: --tag <tag>
|
||||
|
||||
Tag to be added to the network (repeat option to set multiple tags)
|
||||
|
Reference in New Issue
Block a user