CLI Command Reference
n2xctl account
Account administration for platform admins.
Usage
n2xctl account [command] [flags]
Available Commands:
showShow account detailssubscriptionManage service subscriptionbillingManage invoices and billable items
Flags:
-h, --helphelp for account--config stringconfiguration file (default: $HOME/.n2x/n2xctl.yml)
n2xctl account subscription
Manage service subscription.
Usage
n2xctl account subscription [command] [flags]
Available Commands:
showShow and update service subscriptioncancelCancel subscription and delete account
Flags:
-h, --helphelp for subscription--config stringconfiguration file (default: $HOME/.n2x/n2xctl.yml)
n2xctl account billing
Manage invoices and billable items.
Usage
n2xctl account billing [command] [flags]
Available Commands:
portalOpen the Billing Portal
Flags:
-h, --helphelp for subscription--config stringconfiguration file (default: $HOME/.n2x/n2xctl.yml)
n2xctl alert
Manage alert system.
Usage
n2xctl alert [command] [flags]
Available Commands:
listList your alertsshowShow alertdeleteDelete alert
Flags:
-h, --helphelp for alert--config stringconfiguration file (default: $HOME/.n2x/n2xctl.yml)
n2xctl auth
User session authentication commands.
Usage
n2xctl auth [command] [flags]
Available Commands:
loginLog inlogoutLog out
Flags:
-h, --helphelp for auth--config stringconfiguration file (default: $HOME/.n2x/n2xctl.yml)
n2xctl completion
Generate completion script.
Usage
n2xctl completion [command] [flags]
Available Commands:
bashGenerate the autocompletion script for bashzshGenerate the autocompletion script for zshfishGenerate the autocompletion script for fishpowershellGenerate the autocompletion script for powershell
Flags:
-h, --helphelp for completion--config stringconfiguration file (default: $HOME/.n2x/n2xctl.yml)
n2xctl k8s
Connect kubernetes clusters to your n2x network.
Usage
n2xctl k8s [command] [flags]
Available Commands:
svcConnect kubernetes services to your n2x networkworkloadConnect kubernetes workloads to your n2x networkdelete-gwRemove n2x gateway from your kubernetes cluster
Flags:
-h, --helphelp for k8s-n, --network stringnetwork identifier-s, --subnet stringsubnet identifier-t, --tenant stringtenant identifier--config stringconfiguration file (default: $HOME/.n2x/n2xctl.yml)
n2xctl k8s svc
Connect kubernetes services to your n2x network.
Usage
n2xctl k8s svc [command] [flags]
Available Commands:
listList kubernetes services connected via n2x ingress gatewayconnectConnect kubernetes services via n2x ingress gatewaydisconnectDisconnect kubernetes services from n2x ingress gateway
Flags:
-h, --helphelp for svc-n, --network stringnetwork identifier-s, --subnet stringsubnet identifier-t, --tenant stringtenant identifier--config stringconfiguration file (default: $HOME/.n2x/n2xctl.yml)
n2xctl k8s workload
Connect kubernetes workloads to your n2x network.
Usage
n2xctl k8s workload [command] [flags]
Available Commands:
listList kubernetes workloads connected via n2x sidecarconnectAdd n2x sidecar to your kubernetes workloadsdisconnectRemove n2x sidecar from your kubernetes workloads
Flags:
-h, --helphelp for workload-n, --network stringnetwork identifier-s, --subnet stringsubnet identifier-t, --tenant stringtenant identifier--config stringconfiguration file (default: $HOME/.n2x/n2xctl.yml)
n2xctl network
Networks administration.
Usage
n2xctl network [command] [flags]
Available Commands:
listList networksshowShow networkcreateCreate a networkupdateUpdate a networkdeleteRemove network
Flags:
-h, --helphelp for network-n, --network stringnetwork identifier-t, --tenant stringtenant identifier--config stringconfiguration file (default: $HOME/.n2x/n2xctl.yml)
n2xctl node
Network node operations for network administrators.
Usage
n2xctl node [command] [flags]
Available Commands:
addAdd a new nodelistList nodesshowShow nodeconnectConnect (move) node to a subnetdisable-networkingDisable n2x networking and disconnect node from a subnetdeleteRemove node from databasemetricsShow detailed metricsshow-endpointShow network endpoint detailsdelete-endpointDelete network endpoint
Flags:
-h, --helphelp for node-n, --network stringnetwork identifier-x, --node stringnode identifier-s, --subnet stringsubnet identifier-t, --tenant stringtenant identifier--config stringconfiguration file (default: $HOME/.n2x/n2xctl.yml)
n2xctl ops
Automation and workflows management commands.
Usage
n2xctl ops [command] [flags]
Available Commands:
projectWorkflow projects administrationtasklogWorkflow tasklog administrationworkflowAutomation workflows administration
Flags:
-h, --helphelp for ops--config stringconfiguration file (default: $HOME/.n2x/n2xctl.yml)
n2xctl ops project
Workflow projects administration.
Usage
n2xctl ops project [command] [flags]
Available Commands:
listList projectsshowShow projectcreateCreate a projectupdateUpdate a projectdeleteRemove project
Flags:
-h, --helphelp for project-p, --project stringproject identifier--config stringconfiguration file (default: $HOME/.n2x/n2xctl.yml)
n2xctl ops tasklog
Workflow tasklog administration.
Usage
n2xctl ops tasklog [command] [flags]
Available Commands:
listList tasklogsshowShow logdeleteDelete log
Flags:
-h, --helphelp for tasklog-p, --project stringproject identifier-t, --tasklog stringtasklog identifier-w, --workflow stringworkflow identifier--config stringconfiguration file (default: $HOME/.n2x/n2xctl.yml)
n2xctl ops workflow
Automation workflows administration.
Usage
n2xctl ops workflow [command] [flags]
Available Commands:
listList workflowsshowShow workflowcreateCreate workflow from YAML fileupdateUpdate workflow from YAML filedeleteRemove workflowenableEnable workflowdisableDisable workflow
Flags:
-h, --helphelp for workflow-p, --project stringproject identifier-w, --workflow stringworkflow identifier--config stringconfiguration file (default: $HOME/.n2x/n2xctl.yml)
n2xctl policy
Security policies administration.
Usage
n2xctl policy [command] [flags]
Available Commands:
showShow security policyset-defaultSet default policyadd-ruleAdd security policy ruleedit-ruleEdit security policy ruledelete-ruleDelete security policy ruledeleteDelete security policy (all rules)
Flags:
-h, --helphelp for policy-n, --network stringnetwork identifier-s, --subnet stringsubnet identifier-t, --tenant stringtenant identifier--config stringconfiguration file (default: $HOME/.n2x/n2xctl.yml)
n2xctl subnet
Subnets administration.
Usage
n2xctl subnet [command] [flags]
Available Commands:
listList subnetsshowShow subnetcreateCreate a new subnetupdateUpdate a subnetdeleteRemove subnetdelete-ipam-entryDelete IPAM entry manually
Flags:
-h, --helphelp for subnet-n, --network stringnetwork identifier-s, --subnet stringsubnet identifier-t, --tenant stringtenant identifier--config stringconfiguration file (default: $HOME/.n2x/n2xctl.yml)
n2xctl tenant
Tenants administration.
Usage
n2xctl tenant [command] [flags]
Available Commands:
listList tenantsshowShow tenantcreateCreate tenantupdateUpdate tenant detailsdeleteRemove tenant
Flags:
-h, --helphelp for tenant-t, --tenant stringtenant identifier--config stringconfiguration file (default: $HOME/.n2x/n2xctl.yml)
n2xctl version
Update client and show version information.
Usage
n2xctl version [command] [flags]
Available Commands:
showShow n2xctl version informationupdateUpdate n2xctl to the latest version
Flags:
-h, --helphelp for version--config stringconfiguration file (default: $HOME/.n2x/n2xctl.yml)
n2xctl vs
Virtual Servers (lb/ha services).
Usage
n2xctl vs [command] [flags]
Available Commands:
listList virtual serversshowShow virtual servercreateCreate virtual serverupdateUpdate virtual serveradd-node-svcAdd node app service to VS high-availability groupremove-node-svcRemove node app service from VS high-availability groupdeleteRemove virtual server
Flags:
-h, --helphelp for vs-t, --tenant stringtenant identifier-v, --vs stringvs identifier--config stringconfiguration file (default: $HOME/.n2x/n2xctl.yml)