metalcloud-cli logical-network¶
Manage logical networks within fabrics
Synopsis¶
Manage logical networks within fabrics for network segmentation and isolation.
Logical networks provide Layer 2 network isolation within a fabric, allowing you to create separate broadcast domains for different applications or tenants. Each logical network is associated with a fabric and can have specific configurations based on its kind (vlan, vxlan, etc.).
Available Commands: list List logical networks with optional filtering get Get detailed information about a specific logical network create Create a new logical network from configuration update Update an existing logical network delete Delete a logical network config-example Get example configuration for a specific network kind
Examples:
List all logical networks¶
metalcloud-cli logical-network list
List logical networks in a specific fabric¶
metalcloud-cli logical-network list fabric-1
Create a VLAN logical network¶
metalcloud-cli logical-network create vlan –config-source config.json
Options¶
-h, --help help for logical-network
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 - MetalCloud CLI
metalcloud-cli logical-network config-example - Generate example configuration for a logical network kind
metalcloud-cli logical-network create - Create a new logical network from configuration
metalcloud-cli logical-network delete - Delete a logical network
metalcloud-cli logical-network get - Get detailed information about a logical network
metalcloud-cli logical-network list - List logical networks with optional filtering and sorting
metalcloud-cli logical-network update - Update an existing logical network configuration