X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=blobdiff_plain;f=NG-RO%2Fosm_ng_ro%2Fns.py;h=70f91d993079f086ac99579ba70140a9a6e62c17;hp=c5ca07e1630229eae5c0530d9157093a01116449;hb=refs%2Fchanges%2F84%2F11384%2F4;hpb=f524da829bab13ada25d1ffe430a55442d30f46c diff --git a/NG-RO/osm_ng_ro/ns.py b/NG-RO/osm_ng_ro/ns.py index c5ca07e1..70f91d99 100644 --- a/NG-RO/osm_ng_ro/ns.py +++ b/NG-RO/osm_ng_ro/ns.py @@ -600,6 +600,11 @@ class Ns(object): flavor_data["ephemeral"] = int( storage.get("size-of-storage", 0) ) + elif ( + storage.get("type-of-storage") + == "etsi-nfv-descriptors:swap-storage" + ): + flavor_data["swap"] = int(storage.get("size-of-storage", 0)) if target_flavor.get("guest-epa"): extended = {}