From 800ac844561a2cea4b1752cbaee2810a4492744d Mon Sep 17 00:00:00 2001 From: dereknoblej <48695318+dereknoblej@users.noreply.github.com> Date: Thu, 8 Aug 2024 10:02:38 -0500 Subject: [PATCH] DOC: Router Interface (#394) * DOC: Router Interface * Added new line --------- Co-authored-by: Derek Noble --- docs/openstack-router.md | 43 +++++++++++++++++++++++++++++++++------- 1 file changed, 36 insertions(+), 7 deletions(-) diff --git a/docs/openstack-router.md b/docs/openstack-router.md index f586e80f..9a650e20 100644 --- a/docs/openstack-router.md +++ b/docs/openstack-router.md @@ -5,7 +5,7 @@ Read more about Openstack Routers using the [upstream docs](https://docs.opensta #### Get List of Routers ``` shell -openstack router list +openstack --os-cloud {user cloud name router list [--sort-column SORT_COLUMN] [--sort-ascending | --sort-descending] [--name ] @@ -23,7 +23,7 @@ openstack router list #### Create a Router ``` shell -openstack router create +openstack --os-cloud {user cloud name router create [--extra-property type=,name=,value=] [--enable | --disable] [--distributed | --centralized] @@ -48,7 +48,7 @@ openstack router create #### Add a Gateway to Router ``` shell -openstack router add gateway +openstack --os-cloud {user cloud name router add gateway [--fixed-ip subnet=,ip-address=] @@ -57,19 +57,19 @@ openstack router add gateway #### Add a Subnet to Router ``` shell -openstack router add subnet +openstack --os-cloud {user cloud name router add subnet ``` #### Add a Port to Router ``` shell -openstack router add port +openstack --os-cloud {user cloud name router add port ``` #### Set Router Properties ``` shell -openstack router set +openstack --os-cloud {user cloud name router set [--extra-property type=,name=,value=] [--name ] [--description ] @@ -95,5 +95,34 @@ openstack router set #### Delete Router ``` shell -openstack router add subnet +openstack --os-cloud {user cloud name router add subnet +``` + +#### Create Router Port + + +``` shell +openstack --os-cloud {user cloud name port create [-h] [-f {json,shell,table,value,yaml}] + [-c COLUMN] [--noindent] [--prefix PREFIX] + [--max-width ] [--fit-width] + [--print-empty] --network + [--description ] + [--device ] + [--mac-address ] + [--device-owner ] + [--vnic-type ] [--host ] + [--dns-domain dns-domain] [--dns-name ] + [--fixed-ip subnet=,ip-address= | --no-fixed-ip] + [--binding-profile ] + [--enable | --disable] + [--enable-uplink-status-propagation | --disable-uplink-status-propagation] + [--project ] + [--project-domain ] + [--extra-dhcp-option name=[,value=,ip-version={4,6}]] + [--security-group | --no-security-group] + [--qos-policy ] + [--enable-port-security | --disable-port-security] + [--allowed-address ip-address=[,mac-address=]] + [--tag | --no-tag] + ```