Commit 069f6530 authored by ppree's avatar ppree
Browse files

issue #51 Cloud-Native VNFs OSContainerDesc and minor changes.

parent d174e8e1
Loading
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -459,6 +459,20 @@ submodule etsi-nfv-common {
    }
  }

  typedef scaler-units-size {
    type enumeration {
      enum "B";
      enum "kB";
      enum "KiB";
      enum "MB";
      enum "MiB";
      enum "GB";
      enum "GiB";
      enum "TB";
      enum "TiB";
    }
  }

  grouping nfvi-maintenance-info {
    container nfvi-maintenance-info {

+27 −18
Original line number Diff line number Diff line
@@ -1217,13 +1217,17 @@ submodule etsi-nfv-vnf {
      }

      list extended-resource-requests {
        key "key";
        key "extended-resource amount";

        leaf key {
        leaf extended-resource{
          type string;
          description
            "The hardware platform specific extended resource.";
        }
        leaf value {
          type string;
        leaf amount {
          type uint32;
          description
            "Requested amount of the indicated extended resource.";
        }
        description
          "An array of key-value pairs of extended resources
@@ -1265,13 +1269,25 @@ submodule etsi-nfv-vnf {
      }

      list huge-page-resources {
        key "key";
        key "hugepage-size";
        max-elements "1";
        leaf key {
          type string;

        leaf hugepage-size{
          type uint32;
          description
            "Specifies the size of the hugepage.";
        }
        leaf value {
          type string;
        leaf requested-size {
          type uint32;
          description
            "Specifies the total size required for all the
             hugepages of the size indicated by hugepage-size.";
        }
        leaf size-unit {
          type scaler-units-size;
          description
            "Specifies the unit used for both hugepage-size
             and requested-size";
		    }
        description
          "An array of key-value pairs of HugePages resources
@@ -1293,15 +1309,8 @@ submodule etsi-nfv-vnf {
           information element.";
      }

      list boot-data {
        key "key";
        max-elements "1";
        leaf key {
          type string;
        }
        leaf value {
      leaf boot-data {
        type string;
        }
        description
          "Contains a string or a URL to a file contained in the VNF
           package used to customize a container resource at boot time.