vmware-archive / vcd-cli

Command Line Interface for VMware vCloud Director
https://vmware.github.io/vcd-cli
Other
165 stars 107 forks source link

VP-2754, VP-2756, VP-2758, VP-2760, VP-2811 #480

Closed kkkothari closed 5 years ago

kkkothari commented 5 years ago

VP-2754: [VcdCli] Enable static routing in vapp network VP-2756: [VcdCli] Add static route in vapp network VP-2758: [VcdCli] Update static route in vapp network VP-2760: [VcdCli] Delete static route in vapp network VP-2811: [VcdCli] List static route in vapp network

This CLN contains a commands for Enable, Add, Update, Delete, List static route in vapp network and corresponding test case. It can be called as vcd vapp network services static-route enable-service vapp_name network_name --enable vcd vapp network services static-route enable-service vapp_name network_name --disable vcd vapp network services static-route add vapp_name network_name route_name network_cidr next_hop_ip vcd vapp network services static-route list vapp_name network_name vcd vapp network services static-route update vapp_name network_name route_name --name new_route_name --nhip next_hop_ip --network network_cidr vcd vapp network services static-route delete vapp_name network_name route_name

Testing Done: Test methods test_0010_enable_service(), test_0020_add(), test_0030_list(), test_0040_update() and test_0090_delete() are added in class vapp_network_static_route_tests.py and it is executing successfully.


This change is Reviewable