Commit b34017eb authored by Mahesh Jethanandani's avatar Mahesh Jethanandani
Browse files

Changing must to a when statement.

parent 89d67e34
Loading
Loading
Loading
Loading
Loading
+3 −9
Original line number Original line Diff line number Diff line
@@ -855,9 +855,7 @@ submodule etsi-nfv-vnf {


      choice storage {
      choice storage {
	container block-storage-data {
	container block-storage-data {
	  must '../type-of-storage = "nfv:block"' {
	  when '../type-of-storage = "nfv:block"';
	    error-message "type-of-storage must be set to 'block'";
	  }
	  description
	  description
	    "Specifies the details of block storage. It shall
	    "Specifies the details of block storage. It shall
             be present when the 'typeOfStorage' attribute is set to
             be present when the 'typeOfStorage' attribute is set to
@@ -870,9 +868,7 @@ submodule etsi-nfv-vnf {
	}
	}


	container object-storage-data {
	container object-storage-data {
	  must '../type-of-storage = "nfv:object"' {
	  when '../type-of-storage = "nfv:object"';
	    error-message "type-of-storage must be set to 'object'";
	  }
	  description
	  description
	    "Specifies the details of object storage. It shall be
	    "Specifies the details of object storage. It shall be
             present when the 'typeOfStorage' attribute is set to
             present when the 'typeOfStorage' attribute is set to
@@ -894,9 +890,7 @@ submodule etsi-nfv-vnf {
	}
	}


	container file-storage-data {
	container file-storage-data {
	  must '../type-of-storage = "nfv:file"' {
	  when '../type-of-storage = "nfv:file"';
            error-message "type-of-storage must be set to 'file'";
	  }
	  description
	  description
	    "Specifies the details of file storage. It shall be present
	    "Specifies the details of file storage. It shall be present
             when the 'typeOfStorage' attribute is set to 'FILE'. It
             when the 'typeOfStorage' attribute is set to 'FILE'. It