Skip to content

magmaindia/magctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

magctl

magctl is CLI Tool for magma, through which we will able to get results of list of tenants,feg,gateways on terminal itself. It will work similar to as kubectl in kubernetes. We are trying to use config in magctl similar to config used in kubernetes under .magmacli folder, so other can also easily access it.

How to use

First we need to provide the certificates generates during the deployment of Magma Orchestrator under the folder magctl/cmd/

After that we need to follow these steps:

git clone magctl
cd magctl

Install go latest version. Then,

We need to do some updation in code. We only need to update in /cmd/tenants.go file. In this, we need to update line no. 38 where correct NMS-Domain needs to be provided and also on line no. 60 where correct certificates paths should be provided.

go install
go build
sudo mv magctl /usr/local/bin

Now we are able to use magctl command on our terminal. To verify it, run

magctl get tenants

Note: Remember to provide the correct certificates.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages