osc network local-ip port-association create

Creates a Local IP association with a given Port. If a Port has multiple fixed IPs user must specify which IP to use for association.

The operation returns the Conflict (409) response code for one of reasons:

Normal response codes: 201

Error response codes: 400, 401, 404, 409

Usage: osc network local-ip port-association create [OPTIONS] <LOCAL_IP_ID>

Arguments:

  • <LOCAL_IP_ID> — local_ip_id parameter for /v2.0/local_ips/{local_ip_id}/port_associations/{id} API

Options:

  • --fixed-ip <FIXED_IP> — The requested IP of the port associated with the Local IP
  • --fixed-port-id <FIXED_PORT_ID> — The requested ID of the port associated with the Local IP
  • --project-id <PROJECT_ID>