aboutsummaryrefslogtreecommitdiffstats
path: root/sli/provider/src/test/resources/l3vpnyang/ietf-l3vpn-svc-part@2017-09-21.yang
blob: 4af0806088bdff5bbbd0411176f7bba65f22c36b (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
64
65
66
67
68
module ietf-l3vpn-svc-part {

    namespace "urn:ietf:params:xml:ns:yang:ietf-l3vpn-svc-part";

    prefix l3vpn-svc;

    organization
     "IETF L3SM Working Group";

    contact
        "WG List:   <mailto:l3sm@ietf.org>

        Editor:

        ";

    description
        "The YANG module defines a generic service configuration
        model for Layer 3 VPN common across all of the vendor
        implementations.";

    revision 2017-09-21 {
        description
        "Part of draft-ietf-l3sm-l3vpn-service-yang-11";
        reference
            "draft-ietf-l3sm-l3vpn-service-yang-11";
    }

    /* Typedefs */

    typedef svc-id {
        type string;
        description
         "Defining a type of service component
         identificators.";
    }

    /* Main blocks */

    container l3vpn-svc {
        container vpn-services {
            list vpn-svc {
                key vpn-id;

                uses vpn-svc-cfg; /*Not used*/

                description "
                    List of VPN services.";
            }
            description
             "top level container
             for the VPN services.";
        }
    }

    grouping vpn-svc-cfg {
        leaf vpn-id {
                type svc-id;
                description
                "VPN identifier. Local administration meaning.";
            }
        leaf customer-name {
            type string;
            description
             "Name of the customer.";
        }
    }
}