[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

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

[openstack-dev] [sdk] identity proxy: users, groups, projects, membership, roles

2018-05-07 Thread gerard.d...@wipro.com
Hi, I'm wondering if there are (or should be) operations in the Connection.identity proxy to manage user and group membership to projects, and to manage user and group role assignments (there are role management methods in the Project class, but I couldn't find them in the identity proxy): The

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-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