1 # Copyright (C) 2021 Wind River Systems, Inc.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 from flask_restx import Namespace, fields
20 api = Namespace("O2DMS",
21 description='DMS related operations.')
24 "Get DMS information",
26 'deploymentManagerId': fields.String(
28 description='Deployment manager ID'),
29 'name': fields.String,
30 'description': fields.String,
31 'supportedLocations': fields.String,
32 'capabilities': fields.String,
33 'capacity': fields.String,
38 class DmsLcmNfDeploymentDescriptorDTO:
40 api = Namespace("O2DMS_LCM_NfDeploymentDescriptor",
41 description='DMS LCM NfDeploymentDescritpor operations.')
43 dmslcm_NfDeploymentDescriptor_get = api.model(
44 "Get NfDeploymentDescriptor information",
48 description='NfDeploymentDescriptor ID'),
49 'name': fields.String,
50 'description': fields.String,
51 'inputParams': fields.String,
52 'outputParams': fields.String