Commit 5d78e62f authored by Mahesh Jethanandani's avatar Mahesh Jethanandani
Browse files

Bug#92: checksum algorithm is now a identity.

parent 2145ff7f
Loading
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
@@ -177,6 +177,42 @@ submodule etsi-nfv-common {
    base cp-role;
  }

  identity checksum-algorithm {
    description
      "Identifies the algorithms supported for the purpose of
       calculating the checksum.";
    reference
      "GS NFV IFA011: Section 7.1.6.10 Checksum information element.";
  }

  identity sha-224 {
    base checksum-algorithm;
    description
      "SHA-224.";
    reference
      "GS NFV IFA011: Section 7.1.6.10 Checksum information element.";
  }

  identity sha-256 {
    base checksum-algorithm;
    description
      "SHA-256.";
    reference
      "GS NFV IFA011: Section 7.1.6.10 Checksum information element.";
  }

  identity sha-384 {
    base checksum-algorithm;
    description
      "SHA-384.";
  }

  identity sha-512 {
    base checksum-algorithm;
    description
      "SHA-512.";
  }
      
  /*
   * Typedefs
   */
+3 −1
Original line number Diff line number Diff line
@@ -829,7 +829,9 @@ submodule etsi-nfv-vnf {
        }
        container checksum {
          leaf algorithm {
            type string;
            type identityref {
	      base checksum-algorithm;
	    }
            description
              "Species the algorithm used to obtain the checksum
               value.";