Switch all calls to OpenStack to openstacksdk

Registered by Michal Dulko on 2019-10-18

In kuryr-kubernetes we aim to support multiple versions of OpenStack. This becomes increasingly difficult when generic python-*client libs are used. To mitigate that we want to switch to openstacksdk, a library that is designed to help with supporting various OpenStack clouds.

Blueprint information

Status:
Started
Approver:
Michal Dulko
Priority:
High
Drafter:
Michal Dulko
Direction:
Approved
Assignee:
Roman Dobosz
Definition:
Approved
Series goal:
None
Implementation:
Started
Milestone target:
None
Started by
Michal Dulko on 2019-10-18

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.opendev.org/#/q/topic:bp/switch-to-openstacksdk

Addressed by: https://review.opendev.org/689316
    Move from Neutron client to OpenStackSDK.

Addressed by: https://review.opendev.org/689441
    Added support for bulk create ports.

Addressed by: https://review.opendev.org/690562
    Update driver to use OpenStackSDK.

Addressed by: https://review.opendev.org/690981
    Update drivers to use OpenStackSDK 2/2.

Addressed by: https://review.opendev.org/696654
    Update lbaasv2 driver to use OpenStackSDK.

Addressed by: https://review.opendev.org/696655
    Update namespace_security_groups driver to use OpenStackSDK.

Addressed by: https://review.opendev.org/696656
    Update vif_pool driver to use OpenStackSDK.

Addressed by: https://review.opendev.org/696657
    Update namespace_subnet driver to use OpenStackSDK.

Addressed by: https://review.opendev.org/696658
    Update public_ip driver to use OpenStackSDK.

Addressed by: https://review.opendev.org/696659
    Update network_policy_security_groups driver to use OpenStackSDK.

Addressed by: https://review.opendev.org/696660
    Add ability to query for trunks with specified tags.

Addressed by: https://review.opendev.org/696661
    Update network_policy driver to use OpenStackSDK.

Addressed by: https://review.opendev.org/696715
    Update nested_vlan_vif driver to use OpenStackSDK.

Addressed by: https://review.opendev.org/696716
    Update sriov driver to use OpenStackSDK.

Addressed by: https://review.opendev.org/696717
    Update neutron_vif driver to use OpenStackSDK.

Addressed by: https://review.opendev.org/697068
    Remove get_ports_by_attrs by simply use args in query ports.

Addressed by: https://review.opendev.org/697328
    Use real port object in tests for vif pool driver.

Addressed by: https://review.opendev.org/698022
    Refactor of os_vif_util module.

Addressed by: https://review.opendev.org/699947
    Stop passing around neutron client object.

Addressed by: https://review.opendev.org/702841
    Fix more problem of changing size during dict iteration

Addressed by: https://review.opendev.org/703602
    Fix more problem of changing size during dict iteration

Addressed by: https://review.opendev.org/704301
    Use openstacksdk for update_port_pci_info finction.

Addressed by: https://review.opendev.org/704322
    Move neutron related code to macvlan driver.

Addressed by: https://review.opendev.org/704323
    Use openstacksdk for setting the tags.

Addressed by: https://review.opendev.org/704788
    Update exceptions handling for openstacksdk.

Addressed by: https://review.opendev.org/704789
    Refactor neutron tag resources for macvlan driver.

Addressed by: https://review.opendev.org/704950
    Fix port creation with generated payload.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.