X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=binding%2Fmdsal-binding-java-api-generator%2Fsrc%2Ftest%2Fresources%2Fpresence-container.yang;fp=binding%2Fmdsal-binding-java-api-generator%2Fsrc%2Ftest%2Fresources%2Fpresence-container.yang;h=ba98885c4556e8a77ba0ff67bdf270b0bda9c04f;hb=e129fc7e9ef9b0074e4b26c2cfd6f6f2a394b13e;hp=0000000000000000000000000000000000000000;hpb=d0bd732a9218806467b6c9f6652acd9ea2468c26;p=mdsal.git diff --git a/binding/mdsal-binding-java-api-generator/src/test/resources/presence-container.yang b/binding/mdsal-binding-java-api-generator/src/test/resources/presence-container.yang new file mode 100644 index 0000000000..ba98885c45 --- /dev/null +++ b/binding/mdsal-binding-java-api-generator/src/test/resources/presence-container.yang @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2022 PANTHEON.tech s.r.o. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ +module presence-container { + yang-version 1.1; + namespace "urn:opendaylight:presence-container"; + prefix pc; + + revision 2022-03-17 { + description + "Initial revision."; + } + + container directory { + list user { + key userId; + leaf userId { + type string; + } + } + + container data { + leaf value { + type string; + } + } + + container scp { + presence "If present SCP is enabled."; + } + } +}