Page cover
For the complete documentation index, see llms.txt. This page is also available as Markdown.

create

Create a new port network in your project. This command allows you to add a new subnet with the specified details.

Usage

cldkctl flexi network port create [flags]

Aliases

create, create, add

Steps

Follow the steps below to run and view the result of this command:

Interactive Mode

  1. Run the following command in your terminal:

cldkctl flexi network port create -i
  1. The terminal displays a list of available VPCs. Select the VPC where the port will be created.

  1. Select the Subnet associated with the selected VPC.

  1. Enter the Port Name, then select the Port Type.

  2. Enter the IP Address and MAC Address for the port.

  3. Select the Port Security option.

  1. When prompted, confirm the action by selecting y, or cancel the process by selecting n.

  1. Once completed successfully, the terminal displays the success message.

Non Interactive Mode

  1. Provide all required values using command flags.

  2. Add --auto-confirm or -y to skip confirmation prompts in non-interactive mode.

  3. Run the command in your terminal.

  4. Once completed successfully, the terminal displays the success message.

Flags

This command supports global flags. Refer to the Global Flags section for details

Flag
Shorthand
Default
Description

--auto-confirm

-y

false

Skip confirmation prompt in non-interactive mode

--help

-h

Help for the create command

--interactive

-i

false

Force interactive TUI mode

--ip-address

IP address (required in non-interactive mode)

--mac-address

MAC address (required in non-interactive mode)

--name

-n

Port name (required in non-interactive mode)

--port-security

Port security: enabled or disabled

--subnet-id

Subnet ID (required in non-interactive mode)

--type

Port type: subnet or fixed ip

--vpc-id

VPC ID (required in non-interactive mode)

Last updated