@@ -25,53 +25,61 @@ vpnctl --install-completion > /dev/null
2525
2626printf " \n"
2727print_service_state " ncubed-vpnc"
28-
2928DEFAULT=" \e[0m"
3029BOLD=" \e[1m"
31- printf " \e[1m
30+
31+ printf " $BOLD
3232 _ _
3333 | | | |
3434 ____ ____ _ _| |__ _____ __| |
3535| _ \ / ___) | | | _ \| ___ |/ _ |
3636| | | ( (___| |_| | |_) ) ____( (_| |
3737|_| |_|\____)____/|____/|_____)\____|
38- \e[0m
38+ $DEFAULT
3939
4040VPNC configuration is stored in /opt/ncubed/config/vpnc
4141This directory contains the active and candidate configuration directories.
4242
4343Manage the configuration by using the 'vpnctl' command. This binary has autocompletion.
4444
4545$BOLD > vpnctl tenants$DEFAULT
46- List the configured tenants
46+ shows a list of all configured tenants VPNs
4747
48- $BOLD > vpnctl tenants C0001 [network-instances C0001-00 [connections 0]] show [ --active] [ --full] $DEFAULT
49- Show a tenant configuration
50- Full shows the connection configurations when run against the tenant and not a specific network instance.
48+ $BOLD > vpnctl tenants <TENANTID> show ( --active) ( --full) $DEFAULT
49+ shows the <TENANTID> (active) tenant VPN configuration without the VPN tunnel configuration
50+ full shows the tunnel configurations as well
5151
52- $BOLD > vpnctl tenants C0001 [network-instances C0001-00 [connections 0]] summary $DEFAULT
53- Show connection status summary
52+ $BOLD > vpnctl tenants <TENANTID> add --name <Customer name>
53+ add a new tenant
5454
55- $BOLD > vpnctl tenants C0001 nat$DEFAULT
56- Show used NAT translations
55+ $BOLD > vpnctl tenants <TENANTID> delete/set/unset$DEFAULT
56+ delete a tenant
57+ set a tenant property
58+ remove a tenant property
5759
58- $BOLD > vpnctl tenants C0001 (add|delete)$DEFAULT
59- Add or delete a tenant
60+ $BOLD > vpnctl tenants <TENANTID> edit$DEFAULT
61+ opens the default editor for editing the tenants configuration. These edits are validated. Invalid
62+ configurations cannot be applied and will be rolled back.
6063
61- $BOLD > vpnctl tenants C0001 edit$DEFAULT
62- Open the default editor to edit the tenant configuration.
63- The edited configuration is validated.
64- Invalid configurations cannot be applied and will be rolled back.
64+ $BOLD > vpnctl tenants <TENANTID> connection$DEFAULT
65+ shows a list of all configured tunnels for a tenants
6566
66- $BOLD > vpnctl tenants C0001 commit [--dry-run] [--diff] [--revert]$DEFAULT
67- Copy the candidate configuration to the active configuration
68- Reverting the candidate configuration, dry-runs and diffs are possible
67+ $BOLD > vpnctl tenants <TENANTID> connection 0 show$DEFAULT
68+ shows the <TENANTID> tenant tunnel 0 VPN configuration
6969
70- $BOLD > vpnctl bgp show$DEFAULT
71- Show the BGP configuration
70+ $BOLD > vpnctl tenants <TENANTID> connection 0 add/delete/set/unset$DEFAULT
71+ add a new connection
72+ delete a connection
73+ set a connection property
74+ remove a connection property
7275
73- $BOLD > vpnctl bgp summary$DEFAULT
74- Show the BGP status summary
76+ $BOLD > vpnctl tenants <TENANTID> commit$DEFAULT
77+ copy the candidate configuration to the active configuration
78+ reverting the candidate configuration, dry-runs and diffs are possible
7579
80+ $BOLD > vpnctl bgp show$DEFAULT
81+ shows the bgp configuration
7682
83+ $BOLD > vpnctl bgp summary$DEFAULT
84+ shows the active bgp state summary
7785"
0 commit comments