LIU Yulong f044016e29 Add floating IP Port Forwarding commands
Add following commands:
  floating ip port forwarding create
  floating ip port forwarding delete
  floating ip port forwarding list
  floating ip port forwarding set
  floating ip port forwarding show

Closes-Bug: #1811352
Change-Id: I6a5642e8acce28fc830410d4fa3180597b862761
2019-08-29 07:39:42 +08:00

4.1 KiB

floating ip port forwarding

Network v2

floating ip port forwarding create

Create floating IP Port Forwarding

floating ip port forwarding create

openstack floating ip port forwarding create
    --internal-ip-address <internal-ip-address>
    --port <port>
    --internal-protocol-port <port-number>
    --external-protocol-port <port-number>
    --protocol <protocol>
    <floating-ip>

--internal-ip-address <internal-ip-address>

The fixed IPv4 address of the network port associated to the floating IP port forwarding

--port <port>

The name or ID of the network port associated to the floating IP port forwarding

--internal-protocol-port <port-number>

The protocol port number of the network port fixed IPv4 address associated to the floating IP port forwarding

--external-protocol-port <port-number>

The protocol port number of the port forwarding's floating IP address

--protocol <protocol>

The protocol used in the floating IP port forwarding, for instance: TCP, UDP

<floating-ip>

Floating IP that the port forwarding belongs to (IP address or ID)

floating ip port forwarding delete

Delete floating IP Port Forwarding(s)

floating ip port forwarding delete

openstack floating ip port forwarding delete <floating-ip>
<port-forwarding-id> [<port-forwarding-id> ...]

<floating-ip>

Floating IP that the port forwarding belongs to (IP address or ID)

<port-forwarding-id>

The ID of the floating IP port forwarding

floating ip port forwarding list

List floating IP Port Forwarding(s)

floating ip port forwarding list

openstack floating ip port forwarding list
[--port <port>]
[--external-protocol-port <port-number>]
[--protocol protocol]
<floating-ip>

--port <port>

The ID of the network port associated to the floating IP port forwarding

--protocol <protocol>

The IP protocol used in the floating IP port forwarding

<floating-ip>

Floating IP that the port forwarding belongs to (IP address or ID)

floating ip port forwarding set

Set floating IP Port Forwarding properties

floating ip port forwarding set

openstack floating ip port forwarding set
[--port <port>]
[--internal-ip-address <internal-ip-address>]
[--internal-protocol-port <port-number>]
[--external-protocol-port <port-number>]
[--protocol <protocol>]
<floating-ip>
<port-forwarding-id>

--port <port>

The ID of the network port associated to the floating IP port forwarding

--internal-ip-address <internal-ip-address>

The fixed IPv4 address of the network port associated to the floating IP port forwarding

--internal-protocol-port <port-number>

The TCP/UDP/other protocol port number of the network port fixed IPv4 address associated to the floating IP port forwarding

--external-protocol-port <port-number>

The TCP/UDP/other protocol port number of the port forwarding's floating IP address

--protocol <protocol>

The IP protocol used in the floating IP port forwarding

<floating-ip>

Floating IP that the port forwarding belongs to (IP address or ID)

<port-forwarding-id>

The ID of the floating IP port forwarding

floating ip port forwarding show

Display floating IP Port Forwarding details

floating ip port forwarding show

openstack floating ip show <floating-ip> <port-forwarding-id>

<floating-ip>

Floating IP that the port forwarding belongs to (IP address or ID)

<port-forwarding-id>

The ID of the floating IP port forwarding