Re: [openstack-dev] [sdk] issues with using OpenStack SDK Python client

2018-05-09 Thread gerard.d...@wipro.com
Many thanks ! Adding a gateway to a router: it looks like it works in the router creation method, but not in the router update method. (i.e., passing a external_gateway_info dictionary in conn.network.create_router() worked, but doing the same with conn.network.add_gateway_to_router() did not wo

Re: [openstack-dev] [sdk] issues with using OpenStack SDK Python client

2018-05-09 Thread Mohammed Naser
Hey Gerard, Replies in-line! Thanks, Mohammed On Fri, May 4, 2018 at 6:25 PM, gerard.d...@wipro.com wrote: > Many thanks for the welcome ;) > > And many thanks for the speedy and very useful response ! > > Details below. > > Best regards, > Gerard > > > -

Re: [openstack-dev] [sdk] issues with using OpenStack SDK Python client

2018-05-07 Thread gerard.d...@wipro.com
more details about router deletion: I tried replacing the "!=None" test with a try statement: try: onap_router = conn.network.find_router(ONAP_ROUTER_NAME) conn.network.delete_router(onap_router.id) (router print-out just before deleting): openstack.network.v2.ro

Re: [openstack-dev] [sdk] issues with using OpenStack SDK Python client

2018-05-04 Thread gerard.d...@wipro.com
Many thanks for the welcome ;) And many thanks for the speedy and very useful response ! Details below. Best regards, Gerard For add_gateway_to_router(): So I tried this: external_network = conn.network.find_network(EXTERNAL

Re: [openstack-dev] [sdk] issues with using OpenStack SDK Python client

2018-05-04 Thread Monty Taylor
On 05/04/2018 01:34 PM, gerard.d...@wipro.com wrote: Hi everybody, As a bit of a novice, I'm trying to use OpenStack SDK 0.13 in an OPNFV/ONAP project (Auto). Yay! Welcome. I'm able to use the compute and network proxies, but have problems with the identity proxy, so I can't create projec

[openstack-dev] [sdk] issues with using OpenStack SDK Python client

2018-05-04 Thread gerard.d...@wipro.com
Hi everybody, As a bit of a novice, I'm trying to use OpenStack SDK 0.13 in an OPNFV/ONAP project (Auto). I'm able to use the compute and network proxies, but have problems with the identity proxy, so I can't create projects and users. With network, I can create a network, a router, router inte