Change-Id: I3d87c21f2beba29784d1f30fb4e0249c06bf3af0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
if external_interface.get("virtual-interface", {}).get("type") == "OM-MGMT":
raise KeyError(
"Wrong 'Virtual-interface type': Deprecated 'OM-MGMT' value. Please, use 'PARAVIRT' instead")
- interface_list = vdu.pop("interface", ())
+ interface_list = vdu.get("interface", ())
for interface in interface_list:
if interface.get("virtual-interface", {}).get("type") == "OM-MGMT":
raise KeyError(