summaryrefslogtreecommitdiffstats
path: root/lisp/api/src/main/yang/adjacencies-identification-context@2016-08-01.yang
blob: ed6315a4a7a04830fce23a411cfc8311799508de (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
module adjacencies-identification-context {
    yang-version 1;
    namespace "urn:honeycomb:params:xml:ns:yang:adjacencies:identification:context";
    prefix "adjacencies-identification-context";

    import lisp {prefix "lisp";}
    import yang-ext {prefix "ext";}
    import naming-context { prefix "nc";}

    description
            "This module contains mappings between adjacency identificator and actual unique combination of
             remote and local eid in vpp";

    revision "2016-08-01" {
        description
            "Initial revision.";
    }
    grouping adjacencies-identification-context-attributes{

        container adjacencies-identification-contexts {

            list adjacencies-identification {

                key "name";

                leaf name {
                    type string;
                }

                container mappings{
                    list mapping {

                        key "id";

                        leaf id {
                          type string;
                          description "Id that uniquely identifies adjacency";
                        }

                        container eid-identificator-pair{
                            leaf local-eid-id {
                              type lisp:mapping-id;
                              description "Local EID identifier";
                              mandatory true;
                            }

                            leaf remote-eid-id {
                              type lisp:mapping-id;
                              description "Remote EID identifier";
                              mandatory true;
                            }
                        }
                    }
                }
            }
        }
    }

     augment /nc:contexts {
            ext:augment-identifier "adjacencies-identification-ctx-augmentation";
            uses adjacencies-identification-context-attributes;
     }
}