From dcbf0754603e4c4f3cffece89a770918026498dc Mon Sep 17 00:00:00 2001 From: tierno Date: Wed, 23 Jan 2019 10:22:30 +0000 Subject: [PATCH] allow pci null for op_port_mapping to be used as external port for SDN-assist Change-Id: Idf41a99ea6e017481416e00c82ab6e9119c5c694 Signed-off-by: tierno --- osm_openvim/vim_schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1