diff options
| author | Sindhu Devale <sindhu.devale@intel.com> | 2016-11-09 16:30:55 -0600 |
|---|---|---|
| committer | Sindhu Devale <sindhu.devale@intel.com> | 2016-11-28 16:33:34 -0600 |
| commit | 246f60ab13b57df0cdff2190ebaca316a946f3e7 (patch) | |
| tree | 2c1952b0a2c2d011bfa421f1afcc1658896d13a1 /doc/source/command-objects | |
| parent | e07b0e0919784b48dc47ae9cd8836342b8c13480 (diff) | |
| download | python-openstackclient-246f60ab13b57df0cdff2190ebaca316a946f3e7.tar.gz | |
Add `--enable/disable-port-security` option to `port set` and `port create`
This patch adds the currently missing options
`--enable-port-security` and `--disable-port-security`
in the `os port set` and `os port create` commands.
Partially-Implements: blueprint network-commands-options
Change-Id: I4dc11cdf32bf482a5937f5464fe8a3b418644ec3
Diffstat (limited to 'doc/source/command-objects')
| -rw-r--r-- | doc/source/command-objects/port.rst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/source/command-objects/port.rst b/doc/source/command-objects/port.rst index fe256d09..3fa24b29 100644 --- a/doc/source/command-objects/port.rst +++ b/doc/source/command-objects/port.rst @@ -28,6 +28,7 @@ Create new port [--mac-address <mac-address>] [--security-group <security-group> | --no-security-group] [--project <project> [--project-domain <project-domain>]] + [--enable-port-security | --disable-port-security] <name> .. option:: --network <network> @@ -94,6 +95,14 @@ Create new port Domain the project belongs to (name or ID). This can be used in case collisions between project names exist. +.. option:: --enable-port-security + + Enable port security for this port (Default) + +.. option:: --disable-port-security + + Disable port security for this port + .. _port_create-name: .. describe:: <name> @@ -171,6 +180,7 @@ Set port properties [--name <name>] [--security-group <security-group>] [--no-security-group] + [--enable-port-security | --disable-port-security] <port> .. option:: --fixed-ip subnet=<subnet>,ip-address=<ip-address> @@ -236,6 +246,14 @@ Set port properties Clear existing security groups associated with this port +.. option:: --enable-port-security + + Enable port security for this port + +.. option:: --disable-port-security + + Disable port security for this port + .. _port_set-port: .. describe:: <port> |
