4676b054fc1ea5b8ad623a90337f92088a3458f0
[bgpcep.git] / pcep / segment-routing / src / main / yang / pcep-segment-routing-app-config.yang
1 module pcep-segment-routing-app-config {
2     yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:controller:pcep:segment-routing-app-config";
4     prefix "pcep-segment-routing-app-config";
5
6     description
7       "Configuration for the PCEP segment routing extension.";
8
9     revision "2016-07-07" {
10         description
11             "Initial revision.";
12     }
13
14     container pcep-segment-routing-config {
15         leaf iana-sr-subobjects-type {
16             description "If false (default) SR-ERO type (=5) and SR-RRO type (=6) is used,
17                     else proposed type (36) is used for parsing/serialization";
18             type boolean;
19             default false;
20         }
21
22         leaf sr-capable {
23             description "Advertize segment-routing capability";
24             type boolean;
25             default true;
26         }
27     }
28 }