summaryrefslogtreecommitdiffstats
path: root/onap_data_provider/schemas/infra.schema
diff options
context:
space:
mode:
authorPiotr Stanior <piotr.stanior@t-mobile.pl>2022-02-02 15:14:47 +0100
committerPiotr Stanior <piotr.stanior@t-mobile.pl>2022-02-03 14:44:31 +0100
commit7f6332466912bbc0886756d40e34128861a39259 (patch)
treeb15fdb446e440d09c74c1300295ba41de1d06920 /onap_data_provider/schemas/infra.schema
parente9dbe96626c23204bac7426bba69b4e2aedfbd8f (diff)
Add vfc resource support for xnfs
Change-Id: I8caa5174e35167f1bd26fe4a950af2cd7fe63ead Signed-off-by: Piotr Stanior <piotr.stanior@t-mobile.pl> Issue-ID: INT-2058 Signed-off-by: Piotr Stanior <piotr.stanior@t-mobile.pl>
Diffstat (limited to 'onap_data_provider/schemas/infra.schema')
-rw-r--r--onap_data_provider/schemas/infra.schema24
1 files changed, 24 insertions, 0 deletions
diff --git a/onap_data_provider/schemas/infra.schema b/onap_data_provider/schemas/infra.schema
index 55c5cbf..8904f95 100644
--- a/onap_data_provider/schemas/infra.schema
+++ b/onap_data_provider/schemas/infra.schema
@@ -318,6 +318,18 @@ properties:
- artifact_file_name
properties: *props
inputs: *props
+ resources:
+ type: array
+ items:
+ - type: object
+ properties:
+ xnf_type:
+ type: string
+ name:
+ type: string
+ required:
+ - xnf_type
+ - name
required:
- name
required:
@@ -352,6 +364,18 @@ properties:
- artifact_file_name
properties: *props
inputs: *props
+ resources:
+ type: array
+ items:
+ - type: object
+ properties:
+ xnf_type:
+ type: string
+ name:
+ type: string
+ required:
+ - xnf_type
+ - name
required:
- name
required: