metalcloud-cli server-instance-group network connect¶
Connect a server instance group to a network
Synopsis¶
Connect a server instance group to a network.
This command creates a new network connection between a server instance group and a network, configuring the access mode, VLAN tagging, and optionally redundancy settings.
Arguments: server_instance_group_id The numeric ID of the server instance group to connect network_id The ID of the network to connect to access_mode Network access mode (e.g., “trunk”, “access”) tagged Whether VLAN tagging is enabled (true/false) redundancy (Optional) Redundancy configuration (e.g., “active-backup”, “load-balancing”)
Examples:
Connect server instance group to network with trunk access¶
metalcloud-cli server-instance-group network connect 1234 567 trunk true
Connect with access mode and no tagging¶
metalcloud-cli server-instance-group network connect 1234 567 access false
Connect with redundancy configuration¶
metalcloud-cli server-instance-group network connect 1234 567 trunk true active-backup
Using alias¶
metalcloud-cli ig net add 1234 567 trunk true
metalcloud-cli server-instance-group network connect server_instance_group_id network_id access_mode tagged [redundancy] [flags]
Options¶
-h, --help help for connect
Options inherited from parent commands¶
-k, --api_key string MetalCloud API key
-c, --config string Config file path
-d, --debug Set to enable debug logging
-e, --endpoint string MetalCloud API endpoint
-f, --format string Output format. Supported values are 'text','csv','md','json','yaml'. (default "text")
-i, --insecure_skip_verify Set to allow insecure transport
-l, --log_file string Log file path
-v, --verbosity string Log level verbosity (default "INFO")
SEE ALSO¶
metalcloud-cli server-instance-group network - Manage network connections for server instance groups