MGMT is R81.20
I am writing a script to deploy a new common network ( common in name and vlan but different subnets ) across a mix of 600+ simple gateways and clusters.
I have a working script for deploying the networks at the device level, and have mostly completed the script to update each of the objects on the management server. I can set all the needed settings on the cluster object just fine, however the simple gateways are holding me up.
Note in the mgmt_cli document indicates adding an interface using mgmt_cli will remove any existing interfaces. I figured out I can just have it run a get topology and it will find the interfaces however the topology settings are wrong. I see the commands to modify the topology settings but they don't work. below is the command I am trying:
mgmt_cli set simple-gateway name "DD-test1" interfaces.name "bond0.808" interfaces.topology "INTERNAL" interfaces.topology-settings.ip-address-behind-this-interface "network defined by the interface ip and net mask" --format json
I have tried trimming the command down to just set the topology to internal and even just the name, anytime I do interface I get an error that says "interfaces" in not a valid parameter. Even though it clearly is based on the documents and when I look at the object from the mgmt_cli.
Is there a piece of the command I am missing?
Thanks in Advance for any assistance
Drew Larrick