summaryrefslogtreecommitdiffstats
path: root/infra/it/it-test/src/test/resources/models/test-edit-config.yang
blob: aa810ec08b727dc3a77db86cd7022a49b2b9ffa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
module test-edit-config {
    yang-version 1;
    namespace "urn:honeycomb:params:xml:ns:yang:test:edit:config";
    prefix "td";

    revision "2018-06-08" {
        description "Initial revision";
    }

    container top-container {
        leaf name {
            type string;
        }
        list list-in-container {
            key "name";

            leaf name {
                type string;
            }

            leaf description {
                type string;
                mandatory true;
            }
        }
    }
}