osc network floating-ip port-forwarding create
Creates a floating IP port forwarding.
Normal response codes: 201
Error response codes: 400, 404
Usage: osc network floating-ip port-forwarding create [OPTIONS] <FLOATINGIP_ID>
Arguments:
<FLOATINGIP_ID>
— floatingip_id parameter for /v2.0/floatingips/{floatingip_id}/port_forwardings/{id} API
Options:
-
--description <DESCRIPTION>
— A text describing the rule, which helps users to manage/find easily theirs rules -
--external-port <EXTERNAL_PORT>
— The TCP/UDP/other protocol port number of the port forwarding’s floating IP address -
--external-port-range <EXTERNAL_PORT_RANGE>
— The TCP/UDP/other protocol port range of the port forwarding’s floating IP address -
--internal-ip-address <INTERNAL_IP_ADDRESS>
— The fixed IPv4 address of the Neutron port associated to the floating IP port forwarding -
--internal-port <INTERNAL_PORT>
— The TCP/UDP/other protocol port number of the Neutron port fixed IP address associated to the floating ip port forwarding -
--internal-port-id <INTERNAL_PORT_ID>
— The ID of the Neutron port associated to the floating IP port forwarding -
--internal-port-range <INTERNAL_PORT_RANGE>
— The TCP/UDP/other protocol port range of the Neutron port fixed IP address associated to the floating ip port forwarding -
--project-id <PROJECT_ID>
-
--protocol <PROTOCOL>
— The IP protocol used in the floating IP port forwardingPossible values:
dccp
,icmp
,ipv6-icmp
,sctp
,tcp
,udp