From: tierno Date: Wed, 23 Jan 2019 10:22:30 +0000 (+0000) Subject: allow pci null for op_port_mapping to be used as external port for SDN-assist X-Git-Tag: v7.1.0rc1~1^2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=dcbf0754603e4c4f3cffece89a770918026498dc;p=osm%2Fopenvim.git allow pci null for op_port_mapping to be used as external port for SDN-assist Change-Id: Idf41a99ea6e017481416e00c82ab6e9119c5c694 Signed-off-by: tierno --- diff --git a/osm_openvim/vim_schema.py b/osm_openvim/vim_schema.py index 59225ac..f09aff8 100644 --- a/osm_openvim/vim_schema.py +++ b/osm_openvim/vim_schema.py @@ -778,7 +778,7 @@ of_port_new_schema = { "ofc_id": id_schema, "region": nameshort_schema, "compute_node": nameshort_schema, - "pci": pci_extended_schema, + "pci": {"OneOf": [{"type": "null"}, pci_extended_schema]}, "switch_dpid": nameshort_schema, "switch_port": nameshort_schema, "switch_mac": mac_schema