Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Duane_Toler
Advisor

mgmt_cli set simple-gateway ...nothing really works?

R80.40 JHF 48

(Host "moon" is the SmartCenter; "earth" is the gateway)

 

[Expert@moon:0]#  mgmt_cli -u admin --format json set simple-gateway name "earth" color "gold

Password: 

{

  "color" : "black",

  "icon" : "NetworkObjects/gateway",

...

...

  "name" : "earth",

  "sic-name" : "CN=earth,O=moon....",

  "anti-virus" : true

}

---------------------------------------------

Time: [21:10:35] 8/7/2020

---------------------------------------------

"Publish operation"  succeeded  (100%)  

 

 

So I guess this thing really doesn't work, eh?  I could make changes to host objects, but nothing works on gateway or a management host object.  API changelog shows "simple-gateway" isn't a new command either, ... 

This was really lovely during the gateway version upgrade when I needed to change the platform version to install policy and it didn't work as it was intended.  Thankfully, I knew how to backdoor an SSH port-forward tunnel from my remote management client to the SmartCenter... got in with SmartConsole just to click "OK" on a stupid dialog box and push policy and got it going.  Very lovely indeed... (insert "scowling face" emoji).

 

 Or am I holding it wrong again?

 

(now where's that "shrug" emoji... it was here somewhere...)

 

0 Kudos
3 Replies
PhoneBoy
Admin
Admin

Worked for me this way:
mgmt_cli -r true --format json set simple-gateway name "mygw" color "gold"
0 Kudos
Duane_Toler
Advisor

[Expert@moon:0]# mgmt_cli -r true --format json set simple-gateway name "earth" color "gold"

{

  "color" : "black",

  "icon" : "NetworkObjects/gateway",

...

    "lock" : "unlocked",

...

  "name" : "earth",

  "sic-name" : "CN=earth,O=moon....

...

}

 

Still no go... 

 

0 Kudos
PhoneBoy
Admin
Admin

It should have worked the way you did it also.
Note that I did it in R80.40 both with the initial release and with JHF 48 just to make sure it wasn't some sort of regression.
I would get the TAC involved here.
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events