X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_openvim%2Fvim_schema.py;h=f09aff8a51edcf87e0ee30483a9da43ff9f87fc2;hb=refs%2Ftags%2Fv8.0.0rc3;hp=87ab3e2fa902195db83b9f363d1b3115659e40f3;hpb=423a40852837e95cad116a1121107d88939403e2;p=osm%2Fopenvim.git diff --git a/osm_openvim/vim_schema.py b/osm_openvim/vim_schema.py index 87ab3e2..f09aff8 100644 --- a/osm_openvim/vim_schema.py +++ b/osm_openvim/vim_schema.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- ## -# Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U. +# Copyright 2015 Telefonica Investigacion y Desarrollo, S.A.U. # This file is part of openvim # All Rights Reserved. # @@ -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