This method exists in Nova[1], Magnum[2] and neutron_client[3], and can be leveraged by other projects as well. [1]https://github.com/openstack/nova/blob/13.0.0.0b2/nova/utils.py#L657 [2]https://github.com/openstack/magnum/blob/1.1.0/magnum/common/utils.py#L256 [3]https://github.com/openstack/python-neutronclient/blob/4.0.0/neutronclient/common/utils.py#L187 Change-Id: Ia9c8c0123e6d1e9f8bd2b662871b4d01f14bd06d
13 KiB
13 KiB