+ identity impl-identity-test {
+ base config:module-type;
+ config:provided-service test:testing;
+ config:java-name-prefix IdentityTest;
+ }
+
+ augment "/config:modules/config:module/config:configuration" {
+ case impl-identity-test {
+ when "/config:modules/config:module/config:type = 'impl-identity-test'";
+
+ leaf afi {
+ type identityref {
+ base tt:test-identity1;
+ }
+ }
+
+ container identities-container {
+ leaf afi {
+ type identityref {
+ base tt:test-identity1;
+ }
+ }
+ }
+
+ list identities {
+ leaf afi {
+ type identityref {
+ base tt:test-identity1;
+ }
+ }
+ leaf safi {
+ type identityref {
+ base tt:test-identity1;
+ }
+ }
+
+ container identities-inner {
+ leaf afi {
+ type identityref {
+ base tt:test-identity1;
+ }
+ }
+ }
+ }
+
+ }
+ }
+
+ augment "/config:modules/config:module/config:state" {
+ case impl-identity-test {
+ when "/config:modules/config:module/config:type = 'impl-identity-test'";
+
+ }
+ }
+