metalcloud-cli logical-network-profile config-example
Get example configuration for a specific profile kind
Synopsis
Section titled “Synopsis”Get an example configuration template for creating logical network profiles.
This command displays a sample configuration in JSON format that can be used as a starting point for creating new logical network profiles. The configuration includes all required and optional fields with example values.
Required Arguments: kind The profile kind to generate an example for (e.g., ‘cisco’, ‘juniper’, ‘arista’)
Examples:
Get example configuration for Cisco profiles
Section titled “Get example configuration for Cisco profiles”metalcloud-cli logical-network-profile config-example cisco
Get example and save to file
Section titled “Get example and save to file”metalcloud-cli lnp example juniper > profile-template.json
Get example using alias
Section titled “Get example using alias”metalcloud-cli network-profile example arista
metalcloud-cli logical-network-profile config-example kind [flags]Options
Section titled “Options” -h, --help help for config-exampleOptions inherited from parent commands
Section titled “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
Section titled “SEE ALSO”- metalcloud-cli logical-network-profile - Manage logical network profiles for network configuration templates