Neutron supports router-interface-add and router-interface-delete
This support should be provided to osc while NeutronClient is migrating to OSC.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
usage: neutron router-interface-add [-h] [--request-format {json}] ROUTER INTERFACE
Add an internal network interface to a router.
positional arguments:
ROUTER ID or name of the router.
INTERFACE The format is "SUBNET|subnet=SUBNET|port=PORT". Either a subnet or port must be specified. Both ID and name are accepted as SUBNET or PORT. Note that "subnet=" can be omitted when specifying a subnet.
optional arguments:
-h, --help show this help message and exit
--request-format {json} DEPRECATED! Only JSON request format is supported.
reedip@reedip-VirtualBox:/opt/stack/python-openstackclient$ neutron router-interface-delete --help
usage: neutron router-interface-delete [-h] [--request-format {json}] ROUTER INTERFACE
Remove an internal network interface from a router.
positional arguments:
ROUTER ID or name of the router.
INTERFACE The format is "SUBNET|subnet=SUBNET|port=PORT". Either a subnet or port must be specified. Both ID and name are accepted as SUBNET or PORT. Note that "subnet=" can be omitted when specifying a subnet.
optional arguments:
-h, --help show this help message and exit
--request-format {json} DEPRECATED! Only JSON request format is supported.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Neutron supports router- interface- add and router- interface- delete ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~ interface- add [-h] [--request-format {json}]
ROUTER INTERFACE
This support should be provided to osc while NeutronClient is migrating to OSC.
~~~~~~~
usage: neutron router-
Add an internal network interface to a router.
positional arguments: subnet= SUBNET| port=PORT" . Either
a subnet or port must be specified. Both ID and name
are accepted as SUBNET or PORT. Note that "subnet="
can be omitted when specifying a subnet.
ROUTER ID or name of the router.
INTERFACE The format is "SUBNET|
optional arguments:
DEPRECATED! Only JSON request format is supported. reedip- VirtualBox: /opt/stack/ python- openstackclient $ neutron router- interface- delete --help interface- delete [-h] [--request-format {json}]
ROUTER INTERFACE
-h, --help show this help message and exit
--request-format {json}
reedip@
usage: neutron router-
Remove an internal network interface from a router.
positional arguments: subnet= SUBNET| port=PORT" . Either
a subnet or port must be specified. Both ID and name
are accepted as SUBNET or PORT. Note that "subnet="
can be omitted when specifying a subnet.
ROUTER ID or name of the router.
INTERFACE The format is "SUBNET|
optional arguments:
DEPRECATED! Only JSON request format is supported. ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~
-h, --help show this help message and exit
--request-format {json}
~~~~~~~