Create Network
Create Network
The configure
command allows you to create a network or parts of larger network using simple YAML format.
$ syntropynac configure --help
Usage: syntropynac configure [OPTIONS] CONFIG
Configure connections using a configuration YAML/JSON file.
Example YAML file:
name: test-network
state: present
topology: P2M
connections:
gateway-endpoint:
state: present
type: endpoint
services:
- postgres
- redis
connect_to:
endpoint-1:
type: endpoint
services:
- app
endpoint2:
state: present
type: endpoint
services:
- app
Options:
--dry-run Perform a dry run without configuring anything.
-j, --json Imports configuration from JSON instead of YAML.
--help Show this message and exit.
This command updates the network with the provided information contained inside the YAML file. Only explicitly provided endpoints and connections are affected.
Updated over 1 year ago