5a43580a70
Add network-create to server side, so that zun have the ability to mange the network based on the kuryr driver. Change-Id: Ifdd8804280bc015d93888efc77afecc72ec77cff
72 lines
2.2 KiB
Python
72 lines
2.2 KiB
Python
# 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 zun.objects import capsule
|
|
from zun.objects import compute_node
|
|
from zun.objects import container
|
|
from zun.objects import container_action
|
|
from zun.objects import container_pci_requests
|
|
from zun.objects import image
|
|
from zun.objects import network
|
|
from zun.objects import numa
|
|
from zun.objects import pci_device
|
|
from zun.objects import pci_device_pool
|
|
from zun.objects import quota
|
|
from zun.objects import quota_class
|
|
from zun.objects import resource_class
|
|
from zun.objects import resource_provider
|
|
from zun.objects import volume_mapping
|
|
from zun.objects import zun_service
|
|
|
|
|
|
Container = container.Container
|
|
VolumeMapping = volume_mapping.VolumeMapping
|
|
ZunService = zun_service.ZunService
|
|
Image = image.Image
|
|
Network = network.Network
|
|
NUMANode = numa.NUMANode
|
|
NUMATopology = numa.NUMATopology
|
|
ResourceProvider = resource_provider.ResourceProvider
|
|
ResourceClass = resource_class.ResourceClass
|
|
ComputeNode = compute_node.ComputeNode
|
|
Capsule = capsule.Capsule
|
|
PciDevice = pci_device.PciDevice
|
|
PciDevicePool = pci_device_pool.PciDevicePool
|
|
Quota = quota.Quota
|
|
QuotaClass = quota_class.QuotaClass
|
|
ContainerPCIRequest = container_pci_requests.ContainerPCIRequest
|
|
ContainerPCIRequests = container_pci_requests.ContainerPCIRequests
|
|
ContainerAction = container_action.ContainerAction
|
|
ContainerActionEvent = container_action.ContainerActionEvent
|
|
|
|
__all__ = (
|
|
'Container',
|
|
'VolumeMapping',
|
|
'ZunService',
|
|
'Image',
|
|
'Network',
|
|
'ResourceProvider',
|
|
'ResourceClass',
|
|
'NUMANode',
|
|
'NUMATopology',
|
|
'ComputeNode',
|
|
'Capsule',
|
|
'PciDevice',
|
|
'PciDevicePool',
|
|
'Quota',
|
|
'QuotaClass',
|
|
'ContainerPCIRequest',
|
|
'ContainerPCIRequests',
|
|
'ContainerAction',
|
|
'ContainerActionEvent',
|
|
)
|