[openstack-dev] [Neutron][Client] How do I list interfaces on a router?

2013-10-07 Thread Jay Pipes
Hi all, I've got code that is checking to see if a particular router has a public gateway set up, and if not, it wires up the gateway: print Checking %s router setup ... % zone.upper(), try: router = qc.list_routers(name=demorouter)['routers'] router = router[0] print OK except

Re: [openstack-dev] [Neutron][Client] How do I list interfaces on a router?

2013-10-07 Thread Jay Pipes
On 10/07/2013 12:00 PM, Jay Pipes wrote: Hi all, I've got code that is checking to see if a particular router has a public gateway set up, and if not, it wires up the gateway: print Checking %s router setup ... % zone.upper(), try: router = qc.list_routers(name=demorouter)['routers']