1 ##############################################################################
2 # Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
11 namespace "http://localhost/ietf-inet-types.yang";
19 description "This module defines a VNF Deployment Unit.";
20 revision "2014-05-18" {
31 container clearwater {
35 "Vdus used in a vnfd";
41 description "key ID for vdu1";
58 "Number of instances of the said VDU which shall be
71 "Reference to a VM image";
77 "The required resource";
83 "The required computation resource";
95 "The number of virtual CPU units";
109 "Processor characteristics for the VDU";
128 "Description of vCPU-spec";
138 "Value of vCPU-spec";
150 "The required memory resource";
160 "Memory size, unit:MBytes";
172 "Memory characteristics for the VDU";
182 "Name of memory-spec";
194 "Description of memory-spec";
206 "Value of memory-spec";
220 "The required storage resource";
231 "Virtual storage size, unit:MBytes";
244 "Storage characteristics in the VDU";
263 "Description of disk-KQI";
289 "Virtual network interface card (vnic) resource";
301 "The total number of virtual vnic";
310 container workflow-script {
314 "VDU workflow script";
326 "VDU initialization script";
339 "VDU termination script";
342 leaf graceful-shutdown {
345 default "shutdown.sh";
350 "VDU graceful shutdown script";
361 description "key ID for vdu2";
377 "Number of instances of the said VDU which shall be
392 "Reference to a VM image";
401 "The required resource";
409 "The required computation resource";
421 "The number of virtual CPU units";
435 "Processor characteristics for the VDU";
454 "Description of vCPU-spec";
466 "Value of vCPU-spec";
480 "The required memory resource";
492 "Memory size, unit:MBytes";
502 "Memory characteristics for the VDU";
512 "Name of memory-spec";
524 "Description of memory-spec";
536 "Value of memory-spec";
550 "The required storage resource";
562 "Virtual storage size, unit:MBytes";
576 "Storage characteristics in the VDU";
595 "Description of disk-KQI";
621 "Virtual network interface card (vnic) resource";
633 "The total number of virtual vnic";
642 container workflow-script {
646 "VDU workflow script";
658 "VDU initialization script";
672 "VDU termination script";
676 leaf graceful-shutdown {
679 default "shutdown.sh";
684 "VDU graceful shutdown script";