+++ /dev/null
-module augment {
- yang-version 1;
- namespace "odl:test:augment";
- prefix "a";
-
- import target {
- prefix "t";
- revision-date 2013-10-14;
- }
-
- revision "2013-10-15" {
- reference " WILL BE DEFINED LATER";
- }
-
-
- augment "/t:interfaces/t:ifEntry" {
- when "if:ifType='ds0'";
- container augment-holder {
- description "Description for augment holder";
- }
- }
-
- augment "/t:interfaces/t:ifEntry" {
- when "if:ifType='ds2'";
- container augment-holder2 {
- description "Description for augment holder";
- }
- }
-
- augment "/t:controller/t:switch" {
- leaf pause {
- type int32;
- }
- }
-
- grouping target {
- anyxml data {
- config true;
- description "Copy of the source datastore subset.";
- mandatory false;
- must "test-condition-text";
- reference "test-no-reference";
- status "obsolete";
- when "test-when-text";
- }
- choice how {
- description "test choice description";
- default interval;
- case interval {
- leaf interval {
- type uint16;
- default 30;
- units minutes;
- }
- }
- case daily {
- leaf daily {
- type empty;
- }
- leaf time-of-day {
- type string;
- units 24-hour-clock;
- default 1am;
- }
- }
- }
- leaf address {
- type string;
- description "Target IP address";
- mandatory true;
- }
- container port {
- description "Target port container";
- }
- list addresses {
- key "id";
- leaf id {
- type int8;
- }
- }
- grouping target-inner {
- description "target-inner default description";
- leaf inner-grouping-id {
- type int8;
- }
- }
-
- t:opendaylight;
- }
-
-}