aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/netconf-pnp-simulator/docs/examples/mynetconf/model.yang
blob: 6c8c36ab011796e38599d40975322d8015e0460c (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
28
29
module mynetconf {
    yang-version 1.1;
    namespace "urn:mynetconf:test";

    prefix nft;

    organization
      "mynetconf";
    contact
      "my netconf address";
    description
      "yang model for mynetconf";
    revision "2019-03-01" {
        description
          "initial version";
    }

    container netconflist {
        list netconf {
            key netconf-id;
            leaf netconf-id {
                type uint16;
            }
            leaf netconf-param {
                type uint32;
            }
        }
    }
}