|
@@ -6,10 +6,11 @@ import (
|
|
|
)
|
|
|
|
|
|
var nodeCreateIngressCmd = &cobra.Command{
|
|
|
- Use: "create_ingress [NETWORK NAME] [NODE ID]",
|
|
|
- Args: cobra.ExactArgs(2),
|
|
|
- Short: "Turn a Node into a Ingress",
|
|
|
- Long: `Turn a Node into a Ingress`,
|
|
|
+ Use: "create_remote_access_gateway [NETWORK NAME] [NODE ID]",
|
|
|
+ Args: cobra.ExactArgs(2),
|
|
|
+ Short: "Turn a Node into a Remote Access Gateway (Ingress)",
|
|
|
+ Long: `Turn a Node into a Remote Access Gateway (Ingress) for a Network.`,
|
|
|
+ Aliases: []string{"create_rag"},
|
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
|
functions.PrettyPrint(functions.CreateIngress(args[0], args[1], failover))
|
|
|
},
|