From 246f60ab13b57df0cdff2190ebaca316a946f3e7 Mon Sep 17 00:00:00 2001 From: Sindhu Devale Date: Wed, 9 Nov 2016 16:30:55 -0600 Subject: 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 --- doc/source/command-objects/port.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'doc/source/command-objects') 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 ] [--security-group | --no-security-group] [--project [--project-domain ]] + [--enable-port-security | --disable-port-security] .. option:: --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:: @@ -171,6 +180,7 @@ Set port properties [--name ] [--security-group ] [--no-security-group] + [--enable-port-security | --disable-port-security] .. option:: --fixed-ip subnet=,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:: -- cgit v1.2.1