1 // vi: set smarttab et sw=4 tabstop=4:
2 module odl-pcep-segment-routing-cfg {
4 namespace "urn:opendaylight:params:xml:ns:yang:controller:pcep:sr:cfg";
7 import config { prefix config; revision-date 2013-04-05; }
8 import odl-pcep-api-cfg { prefix pcep; revision-date 2013-04-09; }
9 import odl-pcep-spi-cfg { prefix spi; revision-date 2013-11-15; }
11 organization "Cisco Systems, Inc.";
13 contact "Milos Fabian <milfabia@cisco.com>";
16 "This module contains the data model of PCEP Extensions for Segment Routing,
17 draft-ietf-pce-segment-routing-00.
19 Copyright (c)2014 Cisco Systems, Inc. All rights reserved.
21 This program and the accompanying materials are made available
22 under the terms of the Eclipse Public License v1.0 which
23 accompanies this distribution, and is available at
24 http://www.eclipse.org/legal/epl-v10.html";
26 revision "2014-06-09" {
31 identity pcep-parser-segment-routing {
32 base config:module-type;
33 config:provided-service spi:extension;
34 config:java-name-prefix SegmentRoutingPCEPParser;
37 augment "/config:modules/config:module/config:configuration" {
38 case pcep-parser-segment-routing {
39 when "/config:modules/config:module/config:type = 'pcep-parser-segment-routing'";
43 identity pcep-session-proposal-factory-sr {
44 base config:module-type;
45 config:java-name-prefix "SrPCEPSessionProposalFactory";
46 config:provided-service pcep:pcep-session-proposal-factory;
49 augment "/config:modules/config:module/config:configuration" {
50 case pcep-session-proposal-factory-sr {
51 when "/config:modules/config:module/config:type = 'pcep-session-proposal-factory-sr'";
53 leaf dead-timer-value {
58 leaf keep-alive-timer-value {