vivnfm/vi-vnfm.proto
Project description
kubevim-vivnfm-client
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This Python package is automatically generated by the OpenAPI Generator project:
- API version: version not set
- Package version: v0.0.5-alpha.10
- Generator version: 7.11.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python 3.8+
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)
Then import the package:
import kubevim_vivnfm_client
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import kubevim_vivnfm_client
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import kubevim_vivnfm_client
from kubevim_vivnfm_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = kubevim_vivnfm_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with kubevim_vivnfm_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = kubevim_vivnfm_client.ViVnfmApi(api_client)
body = kubevim_vivnfm_client.PbAllocateComputeRequest() # PbAllocateComputeRequest |
try:
# This operation allows requesting the allocation of virtualised compute resources as indicated by the consumer functional block. Result: After successful operation, the VIM has created the internal management objects for the virtualised compute resource and allocated this resource according to the input requirements and constraints. In addition, the VIM shall return to the VNFM information on the newly instantiated virtualised compute resource plus any additional information about the allocate request operation. The VIM may also return intermediate status reports during the allocation process. If the operation was not successful, the VIM shall return to the VNFM appropriate error information.
api_response = api_instance.vi_vnfm_allocate_virtualised_compute_resource(body)
print("The response of ViVnfmApi->vi_vnfm_allocate_virtualised_compute_resource:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling ViVnfmApi->vi_vnfm_allocate_virtualised_compute_resource: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to http://localhost
| Class | Method | HTTP request | Description |
|---|---|---|---|
| ViVnfmApi | vi_vnfm_allocate_virtualised_compute_resource | POST /vivnfm/v5/compute | This operation allows requesting the allocation of virtualised compute resources as indicated by the consumer functional block. Result: After successful operation, the VIM has created the internal management objects for the virtualised compute resource and allocated this resource according to the input requirements and constraints. In addition, the VIM shall return to the VNFM information on the newly instantiated virtualised compute resource plus any additional information about the allocate request operation. The VIM may also return intermediate status reports during the allocation process. If the operation was not successful, the VIM shall return to the VNFM appropriate error information. |
| ViVnfmApi | vi_vnfm_allocate_virtualised_network_resource | POST /vivnfm/v5/networks | This operation allows requesting the allocation of virtualised network resources as indicated by the consumer functional block. Result: After successful operation, the VIM has created the internal management objects for the virtualised network resource and allocated this resource. In addition, the VIM shall return to the VNFM information on the newly instantiated virtualised network resource plus any additional information about the allocate request operation. The VIM may also return intermediate status reports during the allocation process. If the operation was not successful, the VIM shall return to the VNFM appropriate error information. |
| ViVnfmApi | vi_vnfm_create_compute_flavour | POST /vivnfm/v5/flavours | This operation allows requesting the creation of a flavour as indicated by the consumer functional block. Result: After successful operation, the VIM has created the Compute Flavour. In addition, the VIM shall return to the VNFM information on the newly created Compute Flavour. If the operation was not successful, the VIM shall return to the VNFM appropriate error information. |
| ViVnfmApi | vi_vnfm_create_compute_resource_affinity_or_anti_affinity_constraints_group | POST /vivnfm/v5/compute/affinity | This operation allows an authorized consumer functional block to request the creation of a resource affinity or anti-affinity constraints group. An anti-affinity group contains resources that are not placed in proximity, e.g. that do not share the same physical NFVI node. An affinity group contains resources that are placed in proximity, e.g. that do share the same physical NFVI node. This operation shall be supported by the VIM. It shall be supported by the VNFM, if the VNFM supports named resource groups for affinity/anti-affinity. |
| ViVnfmApi | vi_vnfm_delete_compute_flavour | DELETE /vivnfm/v5/flavours/{computeFlavourId.value} | This operation allows deleting a Compute Flavour. Result: After successful operation, the VIM has deleted the Compute Flavour, so no new Virtualised Compute Resource can be allocated based on it. The already allocated Virtualised Compute Resources are not affected. If the operation was not successful, the VIM shall return to the VNFM appropriate error information. |
| ViVnfmApi | vi_vnfm_operate_virtualised_compute_resource | POST /vivnfm/v5/compute/{computeId.value}/{computeOperation} | This operation allows executing specific operation command on instantiated virtualised compute resources. Result: After successful operation, the VIM has executed the requested operation command on the virtualised compute resource. In addition, the VIM shall return to the VNFM information on the new status of the operated virtualised compute resources, operation specific data plus any additional information about the operate request operation. If the operation was not successful, the VIM shall return to the VNFM appropriate error information. |
| ViVnfmApi | vi_vnfm_query_compute_flavour | GET /vivnfm/v5/flavours | This operation allows querying information about created Compute Flavours. Result: After successful operation, the VIM has queried the internal management objects for the Compute Flavours. The result of the query shall indicate with a standard success/error result if the query has been processed correctly. For a particular query, information about the Compute Flavours that the VNFM has access to and that are matching the filter shall be returned. |
| ViVnfmApi | vi_vnfm_query_image | GET /vivnfm/v5/images/{softwareImageId.value} | This operation allows querying the information about a specific software image in the image repository managed by the VIM. Result: As a result of this operation, the producer (VIM) shall indicate to the consumer (VNFM) whether or not it was possible to process the query. |
| ViVnfmApi | vi_vnfm_query_image2 | POST /vivnfm/v5/images | This operation allows querying the information about a specific software image in the image repository managed by the VIM. Result: As a result of this operation, the producer (VIM) shall indicate to the consumer (VNFM) whether or not it was possible to process the query. |
| ViVnfmApi | vi_vnfm_query_images | GET /vivnfm/v5/images | Software Image Management Interface Requirements: The Software Image Management interface produced by the VIM on the reference point Vi-Vnfm shall support querying information of software image(s) from the VIM. Result: As a result of this operation, the producer (VIM) shall indicate to the consumer (VNFM) whether or not it was possible to process the query |
| ViVnfmApi | vi_vnfm_query_virtualised_compute_resource | GET /vivnfm/v5/compute | This operation allows querying information about instantiated virtualised compute resources. Result: After successful operation, the VIM has queried the internal management objects for the virtualised compute resources. The result of the query shall indicate with a standard success/error result if the query has been processed correctly. For a particular query, information about the compute resources that the VNFM has access to and that are matching the filter shall be returned. |
| ViVnfmApi | vi_vnfm_query_virtualised_network_resource | GET /vivnfm/v5/networks | This operation allows querying information about instantiated virtualised network resources. Result: After successful operation, the VIM has queried the internal management objects for the virtualised network resources. The result of the query shall indicate with a standard success/error result if the query has been processed correctly. For a particular query, information about the network resources that the VNFM has access to and that are matching the filter shall be returned. |
| ViVnfmApi | vi_vnfm_terminate_virtualised_compute_resource | DELETE /vivnfm/v5/compute/{computeId.value} | This operation allows de-allocating and terminating one or more instantiated virtualised compute resource. When the operation is done on multiple resources, it is assumed to be best-effort, i.e. it can succeed for a subset of the resources, and fail for the remaining ones. Result: After successful operation, the VIM has terminated the virtualised compute resources and removed the internal management objects for those resources. In addition, the VIM shall return to the VNFM information on the terminated virtualised compute resource plus any additional information about the terminate request operation. |
| ViVnfmApi | vi_vnfm_terminate_virtualised_network_resource | DELETE /vivnfm/v5/networks/{networkResourceId.value} | This operation allows de-allocating and terminating one or more an instantiated virtualised network resource(s). When the operation is done on multiple ids, it is assumed to be best-effort, i.e. it can succeed for a subset of the ids, and fail for the remaining ones. Result: After successful operation, the VIM has terminated the virtualised network resources and removed the internal management objects for those resources. In addition, the VIM shall return to the VNFM information on the terminated virtualised network resource plus any additional information about the terminate request operation. If the operation was not successful, the VIM shall return to the VNFM appropriate error information. |
Documentation For Models
- AffinityOrAntiAffinityConstraintForCompute
- AffinityOrAntiAffinityConstraintForComputeAffinityOrAntiAffinityResourceList
- CertificateData
- ComputeRunningState
- Filter
- IPAddress
- IPAddressPool
- IPSubnetCIDR
- IPVersion
- Identifier
- MacAddress
- Metadata
- NetworkQoS
- NetworkResourceType
- NetworkSubnet
- NetworkSubnetData
- NetworkType
- OperationalState
- PbAllocateComputeRequest
- PbAllocateComputeResponse
- PbAllocateNetworkRequest
- PbAllocateNetworkResponse
- PbCreateComputeFlavourRequest
- PbCreateComputeFlavourResponse
- PbCreateComputeResourceAffinityOrAntiAffinityConstraintsGroupRequest
- PbCreateComputeResourceAffinityOrAntiAffinityConstraintsGroupResponse
- PbOperateComputeResponse
- PbQueryComputeFlavourResponse
- PbQueryComputeResponse
- PbQueryImageRequest
- PbQueryImageResponse
- PbQueryImagesResponse
- PbQueryNetworkResponse
- PbTerminateComputeResponse
- PbTerminateNetworkResponse
- ProtobufAny
- RpcStatus
- ScopeOfAffinityOrAntiAffinityConstraintForCompute
- SoftwareImageInformation
- TypeOfAffinityOrAntiAffinityConstraint
- TypeVirtualNic
- UserData
- UserDataUserDataTransportationMethod
- ViVnfmOperateVirtualisedComputeResourceBody
- VirtualCompute
- VirtualComputeFlavour
- VirtualCpuData
- VirtualCpuDataVirtualCpuPinningData
- VirtualCpuPinningDataVirtualCpuPinningPolicy
- VirtualCpuPinningDataVirtualCpuPinningRule
- VirtualMemoryData
- VirtualNetwork
- VirtualNetworkData
- VirtualNetworkInterface
- VirtualNetworkInterfaceData
- VirtualNetworkInterfaceIPAM
- VirtualStorageData
Documentation For Authorization
Endpoints do not require authorization.
Author
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kubevim_vivnfm_client-0.0.5a10.tar.gz.
File metadata
- Download URL: kubevim_vivnfm_client-0.0.5a10.tar.gz
- Upload date:
- Size: 69.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6bf81eca9ae5d9026eb2374079c9479c9c29c7fbcbd0742b05b483210298f30
|
|
| MD5 |
8207956ae7ccadb8e884c69270ee6245
|
|
| BLAKE2b-256 |
e979f4948ea1f3278e1c7c52dd0c48f08cfa936aa12a382cb1b05a3a85cf720c
|
File details
Details for the file kubevim_vivnfm_client-0.0.5a10-py3-none-any.whl.
File metadata
- Download URL: kubevim_vivnfm_client-0.0.5a10-py3-none-any.whl
- Upload date:
- Size: 122.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5692a8ea94d927a77c552ef764a70a01c7395b5efc48b480d0492625ba3c9684
|
|
| MD5 |
38191a3ea1b22da9dd287b711913dff2
|
|
| BLAKE2b-256 |
2f48501cb194c5cbdc4716330b1300b461bc11ded0613e7902e6ef920dd04447
|