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=refs%2Fchanges%2F22%2F7122%2F1;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