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

Bug#92: checksum algorithm is now a identity.

parent 2145ff7f
Pipeline #299 passed with stage
in 0 seconds
......@@ -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
*/
......
......@@ -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.";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment