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; }
10 import odl-pcep-ietf-stateful07-cfg { prefix pcep-stateful07; revision-date 2015-07-14; }
12 organization "Cisco Systems, Inc.";
14 contact "Milos Fabian <milfabia@cisco.com>";
17 "This module contains the data model of PCEP Extensions for Segment Routing,
18 draft-ietf-pce-segment-routing-00.
20 Copyright (c)2014 Cisco Systems, Inc. All rights reserved.
22 This program and the accompanying materials are made available
23 under the terms of the Eclipse Public License v1.0 which
24 accompanies this distribution, and is available at
25 http://www.eclipse.org/legal/epl-v10.html";
27 revision "2014-06-09" {
32 identity pcep-parser-segment-routing {
33 base config:module-type;
34 config:provided-service spi:extension;
35 config:java-name-prefix SegmentRoutingPCEPParser;
38 augment "/config:modules/config:module/config:configuration" {
39 case pcep-parser-segment-routing {
40 when "/config:modules/config:module/config:type = 'pcep-parser-segment-routing'";
44 identity pcep-session-proposal-factory-sr {
45 base config:module-type;
46 config:java-name-prefix "SrPCEPSessionProposalFactory";
47 config:provided-service pcep:pcep-session-proposal-factory;
50 augment "/config:modules/config:module/config:configuration" {
51 case pcep-session-proposal-factory-sr {
52 when "/config:modules/config:module/config:type = 'pcep-session-proposal-factory-sr'";
53 uses pcep-stateful07:stateful-capabilities;