44 lines
1.6 KiB
Python
44 lines
1.6 KiB
Python
# Copyright 2019 Red Hat
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
from __future__ import absolute_import
|
|
|
|
from tobiko.openstack.neutron import _client
|
|
from tobiko.openstack.neutron import _cidr
|
|
from tobiko.openstack.neutron import _extension
|
|
|
|
|
|
neutron_client = _client.neutron_client
|
|
get_neutron_client = _client.get_neutron_client
|
|
NeutronClientFixture = _client.NeutronClientFixture
|
|
find_network = _client.find_network
|
|
list_networks = _client.list_networks
|
|
find_subnet = _client.find_subnet
|
|
find_port = _client.find_port
|
|
list_ports = _client.list_ports
|
|
list_subnets = _client.list_subnets
|
|
list_subnet_cidrs = _client.list_subnet_cidrs
|
|
show_network = _client.show_network
|
|
show_router = _client.show_router
|
|
show_port = _client.show_port
|
|
show_subnet = _client.show_subnet
|
|
|
|
new_ipv4_cidr = _cidr.new_ipv4_cidr
|
|
new_ipv6_cidr = _cidr.new_ipv6_cidr
|
|
|
|
get_networking_extensions = _extension.get_networking_extensions
|
|
missing_networking_extensions = _extension.missing_networking_extensions
|
|
has_networking_extensions = _extension.has_networking_extensions
|
|
skip_if_missing_networking_extensions = (
|
|
_extension.skip_if_missing_networking_extensions)
|