52e9451a7d2d1e2d971f0da3014a14c5fa51d2ed
[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             Copyright (c) 2016 Brocade Communications Systems, Inc. All rights reserved.
14
15             This program and the accompanying materials are made available
16             under the terms of the Eclipse Public License v1.0 which
17             accompanies this distribution, and is available at
18             http://www.eclipse.org/legal/epl-v10.html";
19     }
20
21     container pcep-segment-routing-config {
22         leaf iana-sr-subobjects-type {
23             description "If false (default) SR-ERO type (=5) and SR-RRO type (=6) is used,
24                     else proposed type (36) is used for parsing/serialization";
25             type boolean;
26             default false;
27         }
28
29         leaf sr-capable {
30             description "Advertize segment-routing capability";
31             type boolean;
32             default true;
33         }
34     }
35 }