Unable to create SR-TE lsp


Vlad Kratsberg
 

HI Community,

We are having trouble provisioning SR-TE lsp.  We are able to successfully set up RSVP-TE lsp.

Set up:  
Juniper-MX 18.1R1.9
ODL: karaf-0.9.1 -- fluorine sr1
Features installed:  odl-restconf-noauth odl-bgpcep-bgp odl-bgpcep-pcep
pathman

BGP-LS session up.  PCEP sessions up with 4 routers.

When trying to provision SR-TE lsp either using pathman or restconf, i get the following:

2018-11-30 16:23:30,679 | DEBUG | entLoopGroup-5-1 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | Message was received: Pcerr{_pcerrMessage=PcerrMessage{_errors=[Errors{_errorObject=ErrorObject{_type=3, _value=2, augmentation=[]}, augmentation=[]}], augmentation=[]}, augmentation=[]}
2018-11-30 16:23:30,681 | DEBUG | entLoopGroup-5-1 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | PCEP message Pcerr{_pcerrMessage=PcerrMessage{_errors=[Errors{_errorObject=ErrorObject{_type=3, _value=2, augmentation=[]}, augmentation=[]}], augmentation=[]}, augmentation=[]} received.
2018-11-30 16:23:30,690 | DEBUG | qtp482674210-63  | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | PCEP Message enqueued: 


Pcinitiate{_pcinitiateMessage=PcinitiateMessage{_requests=[Requests{_endpointsObj=EndpointsObj{getAddressFamily=Ipv4Case{getIpv4=Ipv4{getDestinationIpv4Address=Ipv4Address{_value=10.0.0.11}, getSourceIpv4Address=Ipv4Address{_value=10.0.0.21}, augmentations={}}, augmentations={}}, isIgnore=false, isProcessingRule=true, augmentations={}}, _ero=Ero{getSubobject=[Subobject{getSubobjectType=SrEroType{getNai=IpNodeId{getIpAddress=IpAddress{_ipv4Address=Ipv4Address{_value=10.0.0.3}}, augmentations={}}, getSid=103, getSidType=Ipv4NodeId, isCFlag=false, isMFlag=true, augmentations={}}, isLoose=false, augmentations={}}, Subobject{getSubobjectType=SrEroType{getNai=IpNodeId{getIpAddress=IpAddress{_ipv4Address=Ipv4Address{_value=10.0.0.2}}, augmentations={}}, getSid=102, getSidType=Ipv4NodeId, isCFlag=false, isMFlag=true, augmentations={}}, isLoose=false, augmentations={}}, Subobject{getSubobjectType=SrEroType{getNai=IpNodeId{getIpAddress=IpAddress{_ipv4Address=Ipv4Address{_value=10.0.0.11}}, augmentations={}}, getSid=11, getSidType=Ipv4NodeId, isCFlag=false, isMFlag=true, augmentations={}}, isLoose=false, augmentations={}}], isIgnore=false, isProcessingRule=false, augmentations={}}, _lsp=Lsp{_plspId=PlspId{_value=0}, _tlvs=Tlvs{_symbolicPathName=SymbolicPathName{_pathName=SymbolicPathName{_value=[68, 65, 76, 45, 80, 69, 51, 32, 45, 62, 32, 69, 87, 82, 45, 80, 69, 49]}, augmentation=[]}, augmentation=[]}, _administrative=true, _delegate=true, augmentation=[]}, _srp=Srp{_operationId=SrpIdNumber{_value=2}, _tlvs=Tlvs{_pathSetupType=PathSetupType{getPst=1, augmentations={}}, augmentation=[]}, _processingRule=true, augmentation=[]}, augmentation=[]}], _version=ProtocolVersion{_value=1}, augmentation=[]}, augmentation=[]}

2018-11-30 16:23:30,708 | WARN  | entLoopGroup-5-1 | tateful07TopologySessionListener | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Unhandled PCErr message PcerrMessage{_errors=[Errors{_errorObject=ErrorObject{_type=3, _value=2, augmentation=[]}, augmentation=[]}], augmentation=[]}.

2018-11-30 16:23:30,710 | WARN  | entLoopGroup-5-1 | AbstractTopologySessionListener  | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Unhandled message Pcerr{_pcerrMessage=PcerrMessage{_errors=[Errors{_errorObject=ErrorObject{_type=3, _value=2, augmentation=[]}, augmentation=[]}], augmentation=[]}, augmentation=[]} on session PCEPSessionImpl{channel=[id: 0x85718ea7, L:/172.17.17.253:4189 - R:/10.0.0.21:60451], localOpen=Open{_deadTimer=120, _keepalive=30, _sessionId=0, _tlvs=Tlvs{augmentation=[Tlvs3{_speakerEntityId=SpeakerEntityId{_speakerEntityIdValue=[1, 2, 3, 4], augmentation=[]}}, Tlvs1{_srPceCapability=SrPceCapability{_msd=0, augmentation=[]}}, Tlvs1{_stateful=Stateful{_lspUpdateCapability=true, augmentation=[Stateful1{_initiation=true}, Stateful1{_deltaLspSyncCapability=true, _includeDbVersion=true, _triggeredInitialSync=true, _triggeredResync=true}]}}]}, augmentation=[]}, remoteOpen=Open{_deadTimer=120, _keepalive=30, _sessionId=203, _tlvs=Tlvs{augmentation=[Tlvs3{}, Tlvs1{_srPceCapability=SrPceCapability{_msd=5, augmentation=[]}}, Tlvs1{_stateful=Stateful{_lspUpdateCapability=true, augmentation=[Stateful1{_initiation=true}, Stateful1{}]}}]}, _version=ProtocolVersion{_value=1}, _ignore=false, _processingRule=false, augmentation=[]}}
2018-11-30 16:23:30,712 | DEBUG | entLoopGroup-5-1 | PCEPRequest                      | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Request went from UNSENT to UNACKED

2018-11-30 16:23:35,299 | DEBUG | CommitFutures-0  | TopologyStatsProviderImpl        | 373 - org.opendaylight.bgpcep.pcep-topology-stats - 0.10.1 | Successfully committed Topology stats update
2018-11-30 16:23:40,297 | DEBUG | CommitFutures-0  | TopologyStatsProviderImpl        | 373 - org.opendaylight.bgpcep.pcep-topology-stats - 0.10.1 | Successfully committed Topology stats update
2018-11-30 16:23:45,302 | DEBUG | CommitFutures-1  | TopologyStatsProviderImpl        | 373 - org.opendaylight.bgpcep.pcep-topology-stats - 0.10.1 | Successfully committed Topology stats update
2018-11-30 16:23:47,826 | DEBUG | entLoopGroup-5-2 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | Message was received: Keepalive{_keepaliveMessage=KeepaliveMessage{augmentation=[]}, augmentation=[]}
2018-11-30 16:23:47,936 | DEBUG | entLoopGroup-5-1 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | Message was received: Keepalive{_keepaliveMessage=KeepaliveMessage{augmentation=[]}, augmentation=[]}
2018-11-30 16:23:50,308 | DEBUG | CommitFutures-0  | TopologyStatsProviderImpl        | 373 - org.opendaylight.bgpcep.pcep-topology-stats - 0.10.1 | Successfully committed Topology stats update
2018-11-30 16:23:53,150 | DEBUG | entLoopGroup-5-2 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | Message was received: Keepalive{_keepaliveMessage=KeepaliveMessage{augmentation=[]}, augmentation=[]}
2018-11-30 16:23:55,293 | DEBUG | CommitFutures-0  | TopologyStatsProviderImpl        | 373 - org.opendaylight.bgpcep.pcep-topology-stats - 0.10.1 | Successfully committed Topology stats update
2018-11-30 16:24:00,293 | DEBUG | CommitFutures-0  | TopologyStatsProviderImpl        | 373 - org.opendaylight.bgpcep.pcep-topology-stats - 0.10.1 | Successfully committed Topology stats update
2018-11-30 16:24:00,710 | DEBUG | Timer-1          | PCEPRequest                      | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Request went from UNACKED to DONE


When provisioning RSVP-TE LSP using restconf, i can see the LSP created on vMX and the following messages are displayed:

2018-11-30 17:01:16,287 | DEBUG | qtp482674210-65  | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | PCEP Message enqueued: Pcinitiate{_pcinitiateMessage=PcinitiateMessage{_requests=[Requests{_endpointsObj=EndpointsObj{getAddressFamily=Ipv4Case{getIpv4=Ipv4{getDestinationIpv4Address=Ipv4Address{_value=10.0.0.21}, getSourceIpv4Address=Ipv4Address{_value=10.0.0.12}, augmentations={}}, augmentations={}}, isIgnore=false, isProcessingRule=false, augmentations={}}, _ero=Ero{isIgnore=false, isProcessingRule=false, augmentations={}}, _lsp=Lsp{_plspId=PlspId{_value=0}, _tlvs=Tlvs{_symbolicPathName=SymbolicPathName{_pathName=SymbolicPathName{_value=[115, 114, 45, 112, 97, 116, 104]}, augmentation=[]}, augmentation=[]}, _administrative=true, _delegate=true, augmentation=[]}, _srp=Srp{_operationId=SrpIdNumber{_value=1}, _processingRule=true, augmentation=[]}, augmentation=[]}], _version=ProtocolVersion{_value=1}, augmentation=[]}, augmentation=[]}

2018-11-30 17:01:16,330 | DEBUG | entLoopGroup-5-1 | PCEPRequest                      | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Request went from UNSENT to UNACKED

2018-11-30 17:01:17,354 | DEBUG | entLoopGroup-5-1 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | Message was received: Pcrpt{_pcrptMessage=PcrptMessage{_reports=[Reports{_lsp=Lsp{_operational=Active, _plspId=PlspId{_value=1}, _tlvs=Tlvs{_lspIdentifiers=LspIdentifiers{_addressFamily=Ipv4Case{_ipv4=Ipv4{_ipv4ExtendedTunnelId=Ipv4Address{_value=10.0.0.12}, _ipv4TunnelEndpointAddress=Ipv4Address{_value=10.0.0.21}, _ipv4TunnelSenderAddress=Ipv4Address{_value=10.0.0.12}, augmentation=[]}, augmentation=[]}, _lspId=LspId{_value=1}, _tunnelId=TunnelId{_value=22442}, augmentation=[]}, _symbolicPathName=SymbolicPathName{_pathName=SymbolicPathName{_value=[115, 114, 45, 112, 97, 116, 104]}, augmentation=[]}, augmentation=[Tlvs1{}]}, _administrative=true, _delegate=true, _ignore=false, _processingRule=false, _remove=false, _sync=false, augmentation=[Lsp1{_create=true}]}, _path=Path{_bandwidth=Bandwidth{_bandwidth=Float32{_value=[0, 0, 0, 0]}, _ignore=false, _processingRule=false, augmentation=[]}, _ero=Ero{_subobject=[], _ignore=false, _processingRule=false, augmentation=[]}, _lspa=Lspa{_excludeAny=AttributeFilter{_value=0}, _holdPriority=0, _includeAll=AttributeFilter{_value=0}, _includeAny=AttributeFilter{_value=0}, _setupPriority=0, _tlvs=Tlvs{augmentation=[]}, _ignore=false, _localProtectionDesired=false, _processingRule=false, augmentation=[]}, _metrics=[Metrics{_metric=Metric{_metricType=2, _value=Float32{_value=[65, -16, 0, 0]}, _bound=false, _computed=false, _ignore=false, _processingRule=false, augmentation=[]}, augmentation=[]}], _rro=Rro{_subobject=[Subobject{_subobjectType=IpPrefixCase{_ipPrefix=IpPrefix{_ipPrefix=IpPrefix{_ipv4Prefix=Ipv4Prefix{_value=172.17.17.13/32}}, augmentation=[]}, augmentation=[]}, _protectionAvailable=false, _protectionInUse=false, augmentation=[]}, Subobject{_subobjectType=LabelCase{_label=Label{_labelType=Type1LabelCase{_type1Label=Type1Label{_type1Label=300112, augmentation=[]}, augmentation=[]}, _global=true, _uniDirectional=false, augmentation=[]}, augmentation=[]}, augmentation=[]}, Subobject{_subobjectType=IpPrefixCase{_ipPrefix=IpPrefix{_ipPrefix=IpPrefix{_ipv4Prefix=Ipv4Prefix{_value=172.17.17.29/32}}, augmentation=[]}, augmentation=[]}, _protectionAvailable=false, _protectionInUse=false, augmentation=[]}, Subobject{_subobjectType=LabelCase{_label=Label{_labelType=Type1LabelCase{_type1Label=Type1Label{_type1Label=299856, augmentation=[]}, augmentation=[]}, _global=true, _uniDirectional=false, augmentation=[]}, augmentation=[]}, augmentation=[]}, Subobject{_subobjectType=IpPrefixCase{_ipPrefix=IpPrefix{_ipPrefix=IpPrefix{_ipv4Prefix=Ipv4Prefix{_value=172.17.17.18/32}}, augmentation=[]}, augmentation=[]}, _protectionAvailable=false, _protectionInUse=false, augmentation=[]}, Subobject{_subobjectType=LabelCase{_label=Label{_labelType=Type1LabelCase{_type1Label=Type1Label{_type1Label=3, augmentation=[]}, augmentation=[]}, _global=true, _uniDirectional=false, augmentation=[]}, augmentation=[]}, augmentation=[]}], _ignore=false, _processingRule=false, augmentation=[]}, augmentation=[]}, _srp=Srp{_operationId=SrpIdNumber{_value=1}, _tlvs=Tlvs{_pathSetupType=PathSetupType{_pst=0, augmentation=[]}, augmentation=[]}, _ignore=false, _processingRule=false, augmentation=[Srp1{_remove=false}]}, augmentation=[]}], augmentation=[]}, augmentation=[]}


2018-11-30 17:01:17,358 | DEBUG | entLoopGroup-5-1 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | PCEP message Pcrpt{_pcrptMessage=PcrptMessage{_reports=[Reports{_lsp=Lsp{_operational=Active, _plspId=PlspId{_value=1}, _tlvs=Tlvs{_lspIdentifiers=LspIdentifiers{_addressFamily=Ipv4Case{_ipv4=Ipv4{_ipv4ExtendedTunnelId=Ipv4Address{_value=10.0.0.12}, _ipv4TunnelEndpointAddress=Ipv4Address{_value=10.0.0.21}, _ipv4TunnelSenderAddress=Ipv4Address{_value=10.0.0.12}, augmentation=[]}, augmentation=[]}, _lspId=LspId{_value=1}, _tunnelId=TunnelId{_value=22442}, augmentation=[]}, _symbolicPathName=SymbolicPathName{_pathName=SymbolicPathName{_value=[115, 114, 45, 112, 97, 116, 104]}, augmentation=[]}, augmentation=[Tlvs1{}]}, _administrative=true, _delegate=true, _ignore=false, _processingRule=false, _remove=false, _sync=false, augmentation=[Lsp1{_create=true}]}, _path=Path{_bandwidth=Bandwidth{_bandwidth=Float32{_value=[0, 0, 0, 0]}, _ignore=false, _processingRule=false, augmentation=[]}, _ero=Ero{_subobject=[], _ignore=false, _processingRule=false, augmentation=[]}, _lspa=Lspa{_excludeAny=AttributeFilter{_value=0}, _holdPriority=0, _includeAll=AttributeFilter{_value=0}, _includeAny=AttributeFilter{_value=0}, _setupPriority=0, _tlvs=Tlvs{augmentation=[]}, _ignore=false, _localProtectionDesired=false, _processingRule=false, augmentation=[]}, _metrics=[Metrics{_metric=Metric{_metricType=2, _value=Float32{_value=[65, -16, 0, 0]}, _bound=false, _computed=false, _ignore=false, _processingRule=false, augmentation=[]}, augmentation=[]}], _rro=Rro{_subobject=[Subobject{_subobjectType=IpPrefixCase{_ipPrefix=IpPrefix{_ipPrefix=IpPrefix{_ipv4Prefix=Ipv4Prefix{_value=172.17.17.13/32}}, augmentation=[]}, augmentation=[]}, _protectionAvailable=false, _protectionInUse=false, augmentation=[]}, Subobject{_subobjectType=LabelCase{_label=Label{_labelType=Type1LabelCase{_type1Label=Type1Label{_type1Label=300112, augmentation=[]}, augmentation=[]}, _global=true, _uniDirectional=false, augmentation=[]}, augmentation=[]}, augmentation=[]}, Subobject{_subobjectType=IpPrefixCase{_ipPrefix=IpPrefix{_ipPrefix=IpPrefix{_ipv4Prefix=Ipv4Prefix{_value=172.17.17.29/32}}, augmentation=[]}, augmentation=[]}, _protectionAvailable=false, _protectionInUse=false, augmentation=[]}, Subobject{_subobjectType=LabelCase{_label=Label{_labelType=Type1LabelCase{_type1Label=Type1Label{_type1Label=299856, augmentation=[]}, augmentation=[]}, _global=true, _uniDirectional=false, augmentation=[]}, augmentation=[]}, augmentation=[]}, Subobject{_subobjectType=IpPrefixCase{_ipPrefix=IpPrefix{_ipPrefix=IpPrefix{_ipv4Prefix=Ipv4Prefix{_value=172.17.17.18/32}}, augmentation=[]}, augmentation=[]}, _protectionAvailable=false, _protectionInUse=false, augmentation=[]}, Subobject{_subobjectType=LabelCase{_label=Label{_labelType=Type1LabelCase{_type1Label=Type1Label{_type1Label=3, augmentation=[]}, augmentation=[]}, _global=true, _uniDirectional=false, augmentation=[]}, augmentation=[]}, augmentation=[]}], _ignore=false, _processingRule=false, augmentation=[]}, augmentation=[]}, _srp=Srp{_operationId=SrpIdNumber{_value=1}, _tlvs=Tlvs{_pathSetupType=PathSetupType{_pst=0, augmentation=[]}, augmentation=[]}, _ignore=false, _processingRule=false, augmentation=[Srp1{_remove=false}]}, augmentation=[]}], augmentation=[]}, augmentation=[]} received.
2018-11-30 17:01:17,388 | DEBUG | entLoopGroup-5-1 | tateful07TopologySessionListener | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Request SrpIdNumber{_value=1} resulted in LSP operational state Active
2018-11-30 17:01:17,409 | DEBUG | entLoopGroup-5-1 | AbstractTopologySessionListener  | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Saved LSP PlspId{_value=1} with name sr-path
2018-11-30 17:01:18,702 | DEBUG | entLoopGroup-5-2 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | Message was received: Keepalive{_keepaliveMessage=KeepaliveMessage{augmentation=[]}, augmentation=[]}
2018-11-30 17:01:18,865 | DEBUG | entLoopGroup-5-1 | AbstractTopologySessionListener  | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | LSP sr-path updated to MD-SAL
2018-11-30 17:01:18,867 | DEBUG | entLoopGroup-5-1 | tateful07TopologySessionListener | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | LSP Lsp{_operational=Active, _plspId=PlspId{_value=1}, _tlvs=Tlvs{_lspIdentifiers=LspIdentifiers{_addressFamily=Ipv4Case{_ipv4=Ipv4{_ipv4ExtendedTunnelId=Ipv4Address{_value=10.0.0.12}, _ipv4TunnelEndpointAddress=Ipv4Address{_value=10.0.0.21}, _ipv4TunnelSenderAddress=Ipv4Address{_value=10.0.0.12}, augmentation=[]}, augmentation=[]}, _lspId=LspId{_value=1}, _tunnelId=TunnelId{_value=22442}, augmentation=[]}, _symbolicPathName=SymbolicPathName{_pathName=SymbolicPathName{_value=[115, 114, 45, 112, 97, 116, 104]}, augmentation=[]}, augmentation=[Tlvs1{}]}, _administrative=true, _delegate=true, _ignore=false, _processingRule=false, _remove=false, _sync=false, augmentation=[Lsp1{_create=true}]} updated

2018-11-30 17:01:18,890 | DEBUG | CommitFutures-1  | PCEPRequest                      | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Request went from UNACKED to DONE

i m suspecting that odl-bgpcep-pcep-segment-routing is not working correctly, so i am trying to check whether Segment Routing capability is set to true.  As described in PCEP user guide:

I m trying to GET the following to see config:

/restconf/config/pcep-segment-routing-app-config:pcep-segment-routing-app-config

Postman returns the following message:

<errors xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf">
    <error>
        <error-type>protocol</error-type>
        <error-tag>invalid-value</error-tag>
        <error-message>URI has bad format. Possible reasons:
 1. "pcep-segment-routing-app-config:pcep-segment-routing-app-config" was not found in parent data node.
 2. "pcep-segment-routing-app-config:pcep-segment-routing-app-config" is behind mount point. Then it should be in format "/yang-ext:mount/pcep-segment-routing-app-config:pcep-segment-routing-app-config".</error-message>
    </error>
</errors>

Or PUT the following:

<pcep-segment-routing-config xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:segment-routing-app-config">
   <sr-capable>true</sr-capable>
</pcep-segment-routing-config>
Error is the same as above.

odl-bgpcep-pcep-segment-routing feature is installed and started.  Is there anything Im missing ?

Attached is the pcep configuration + topology.

Let me know if you required additional output.

Thank you very much for your responses.  


Vlad Kratsberg
 

Hello Community,

I found similar issue that wasn't resolved dated to October 2017.


List of installed pcep features:

opendaylight-user@root>feature:list -i | grep pcep
odl-bgpcep-pcep-segment-routing                                 │ 0.10.1           │          │ Started │ odl-bgpcep-pcep-segment-routing                                 │ OpenDaylight :: PCEP :: Segment Routing
odl-bgpcep-bgp-extensions-api                                   │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-extensions-api                                   │ OpenDaylight :: BGP :: Extensions API
odl-bgpcep-topology-api                                         │ 0.10.1           │          │ Started │ odl-bgpcep-topology-api                                         │ OpenDaylight :: BGPCEP :: Topology :: Api
odl-bgpcep-bgp-openconfig                                       │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-openconfig                                       │ OpenDaylight :: BGP :: Openconfig
odl-bgpcep-protocols-config-loader                              │ 0.10.1           │          │ Started │ odl-bgpcep-protocols-config-loader                              │ OpenDaylight :: BGPCEP :: Protocols Config Loader
odl-bgpcep-bgp-evpn                                             │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-evpn                                             │ OpenDaylight :: BGP :: Evpn
odl-bgpcep-pcep-stateful07                                      │ 0.10.1           │          │ Started │ odl-bgpcep-pcep-stateful07                                      │ OpenDaylight :: PCEP :: Stateful 07
odl-bgpcep-bgp-rib-impl                                         │ 0.10.1           │          │ Started │ odl-bgpcep-0.10.1                                               │ OpenDaylight :: BGP :: RIB Impl
odl-bgpcep-routing-policy-config-loader                         │ 0.10.1           │          │ Started │ odl-bgpcep-routing-policy-config-loader                         │ OpenDaylight :: BGPCEP :: BGP Routing Policy Conf
odl-bgpcep-bgp-openconfig-state                                 │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-openconfig-state                                 │ OpenDaylight :: BGP :: Config Loader
odl-bgpcep-rsvp                                                 │ 0.10.1           │          │ Started │ odl-bgpcep-rsvp                                                 │ OpenDaylight :: RSVP
odl-bgpcep-extras-dependencies                                  │ 0.10.1           │          │ Started │ odl-bgpcep-extras-dependencies                                  │ OpenDaylight :: Extras :: Dependencies
odl-bgpcep-bgp                                                  │ 0.10.1           │ x        │ Started │ odl-bgpcep-bgp                                                  │ OpenDaylight :: BGP
odl-bgpcep-bgp-flowspec                                         │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-flowspec                                         │ OpenDaylight :: BGP :: Flowspec
odl-bgpcep-bgp-parser                                           │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-parser                                           │ OpenDaylight :: BGP :: Parser
odl-bgpcep-config-loader-spi                                    │ 0.10.1           │          │ Started │ odl-bgpcep-config-loader-spi                                    │ OpenDaylight :: BGPCEP :: SPI Config Loader
odl-bgpcep-pcep-config-example                                  │ 0.10.1           │          │ Started │ odl-bgpcep-0.10.1                                               │ OpenDaylight :: Pcep Configuration Example Files
odl-bgpcep-bgp-linkstate                                        │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-linkstate                                        │ OpenDaylight :: BGP :: RIB Linkstate
odl-bgpcep-pcep-tunnel-provider                                 │ 0.10.1           │          │ Started │ odl-bgpcep-pcep-tunnel-provider                                 │ OpenDaylight :: PCEP :: Tunnel Provider
odl-bgpcep-config-loader-impl                                   │ 0.10.1           │          │ Started │ odl-bgpcep-config-loader-impl                                   │ OpenDaylight :: BGPCEP :: Config Loader Impl
odl-bgpcep-bgp-dependencies                                     │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-dependencies-0.10.1                              │ OpenDaylight :: BGP :: Dependencies
odl-bgpcep-pcep-topology                                        │ 0.10.1           │          │ Started │ odl-bgpcep-pcep-topology                                        │ OpenDaylight :: PCEP :: Topology
odl-bgpcep-bgp-topology                                         │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-topology                                         │ OpenDaylight :: BGP :: Topology
odl-bgpcep-bgp-inet                                             │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-inet                                             │ OpenDaylight :: BGP :: Inet
odl-bgpcep-bgp-rib-api                                          │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-rib-api                                          │ OpenDaylight :: BGP :: RIB Api
odl-bgpcep-pcep-base-parser                                     │ 0.10.1           │          │ Started │ odl-bgpcep-pcep-base-parser                                     │ OpenDaylight :: PCEP :: Base Parser
odl-bgpcep-pcep-cli                                             │ 0.10.1           │          │ Started │ odl-bgpcep-pcep-cli                                             │ OpenDaylight :: PCEP :: Topology Cli
odl-bgpcep-pcep-topology-stats                                  │ 0.10.1           │          │ Started │ odl-bgpcep-pcep-topology-stats                                  │ OpenDaylight :: PCEP :: Topology Stats
odl-bgpcep-programming-impl                                     │ 0.10.1           │          │ Started │ odl-bgpcep-programming-impl                                     │ OpenDaylight :: PCEP :: Programming Impl
odl-bgpcep-bgp-mvpn                                             │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-mvpn                                             │ OpenDaylight :: BGP :: Mvpn
odl-bgpcep-bgp-route-target                                     │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-route-target                                     │ OpenDaylight :: BGP :: Route Target Constrains
odl-bgpcep-pcep                                                 │ 0.10.1           │ x        │ Started │ odl-bgpcep-pcep                                                 │ OpenDaylight :: PCEP
odl-bgpcep-bmp-api                                              │ 0.10.1           │          │ Started │ odl-bgpcep-bmp-api                                              │ OpenDaylight :: BMP :: API
odl-bgpcep-bgp-path-selection-mode                              │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-path-selection-mode                              │ OpenDaylight :: BGP :: Path Selection
odl-bgpcep-pcep-auto-bandwidth                                  │ 0.10.1           │          │ Started │ odl-bgpcep-pcep-auto-bandwidth                                  │ OpenDaylight :: PCEP :: Auto Bandwidth
odl-bgpcep-bgp-openconfig-rp-spi                                │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-openconfig-rp-spi                                │ OpenDaylight :: BGP :: Openconfig Routing Policy
odl-bgpcep-bgp-cli                                              │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-cli                                              │ OpenDaylight :: BGP :: Cli
odl-bgpcep-bgp-openconfig-rp-impl                               │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-openconfig-rp-impl                               │ OpenDaylight :: BGP :: Openconfig Routing Policy
odl-bgpcep-bgp-labeled-unicast                                  │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-labeled-unicast                                  │ OpenDaylight :: BGP :: Labeled Unicast
odl-bgpcep-bgp-openconfig-rp-statement                          │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-openconfig-rp-statement                          │ OpenDaylight :: BGP :: Openconfig Routing Policy
odl-bgpcep-pcep-topology-provider                               │ 0.10.1           │          │ Started │ odl-bgpcep-pcep-topology-provider                               │ OpenDaylight :: PCEP :: Topology Provider
odl-bgpcep-pcep-impl                                            │ 0.10.1           │          │ Started │ odl-bgpcep-pcep-impl                                            │ OpenDaylight :: PCEP :: Impl
odl-bgpcep-programming-api                                      │ 0.10.1           │          │ Started │ odl-bgpcep-programming-api                                      │ OpenDaylight :: PCEP :: Programming Api
odl-bgpcep-concepts                                             │ 0.10.1           │          │ Started │ odl-bgpcep-concepts                                             │ OpenDaylight :: BGPCEP :: Concepts
odl-bgpcep-bgp-l3vpn                                            │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-l3vpn                                            │ OpenDaylight :: BGP :: L3Vpn
odl-bgpcep-pcep-api                                             │ 0.10.1           │          │ Started │ odl-bgpcep-pcep-api                                             │ OpenDaylight :: PCEP :: Api
odl-bgpcep-rsvp-api                                             │ 0.10.1           │          │ Started │ odl-bgpcep-rsvp-api                                             │ OpenDaylight :: RSVP :: API
odl-bgpcep-bgp-parser-api                                       │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-parser-api                                       │ OpenDaylight :: BGP :: Parser :: API
odl-bgpcep-topology-config-loader                               │ 0.10.1           │          │ Started │ odl-bgpcep-topology-config-loader                               │ OpenDaylight :: BGPCEP :: Topology Config Loader

Get the following error when trying to update segment-routing setting via restconf:

<errors xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf">
    <error>
        <error-type>protocol</error-type>
        <error-tag>invalid-value</error-tag>
        <error-message>URI has bad format. Possible reasons:
 1. "pcep-segment-routing-app-config:pcep-segment-routing-app-config" was not found in parent data node.
 2. "pcep-segment-routing-app-config:pcep-segment-routing-app-config" is behind mount point. Then it should be in format "/yang-ext:mount/pcep-segment-routing-app-config:pcep-segment-routing-app-config".</error-message>
    </error>
</errors>

Can anybody shed some light into what might be the issue ? 


On Fri, Nov 30, 2018 at 6:02 PM Vlad Kratsberg <vkratsberg@...> wrote:
HI Community,

We are having trouble provisioning SR-TE lsp.  We are able to successfully set up RSVP-TE lsp.

Set up:  
Juniper-MX 18.1R1.9
ODL: karaf-0.9.1 -- fluorine sr1
Features installed:  odl-restconf-noauth odl-bgpcep-bgp odl-bgpcep-pcep
pathman

BGP-LS session up.  PCEP sessions up with 4 routers.

When trying to provision SR-TE lsp either using pathman or restconf, i get the following:

2018-11-30 16:23:30,679 | DEBUG | entLoopGroup-5-1 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | Message was received: Pcerr{_pcerrMessage=PcerrMessage{_errors=[Errors{_errorObject=ErrorObject{_type=3, _value=2, augmentation=[]}, augmentation=[]}], augmentation=[]}, augmentation=[]}
2018-11-30 16:23:30,681 | DEBUG | entLoopGroup-5-1 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | PCEP message Pcerr{_pcerrMessage=PcerrMessage{_errors=[Errors{_errorObject=ErrorObject{_type=3, _value=2, augmentation=[]}, augmentation=[]}], augmentation=[]}, augmentation=[]} received.
2018-11-30 16:23:30,690 | DEBUG | qtp482674210-63  | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | PCEP Message enqueued: 


Pcinitiate{_pcinitiateMessage=PcinitiateMessage{_requests=[Requests{_endpointsObj=EndpointsObj{getAddressFamily=Ipv4Case{getIpv4=Ipv4{getDestinationIpv4Address=Ipv4Address{_value=10.0.0.11}, getSourceIpv4Address=Ipv4Address{_value=10.0.0.21}, augmentations={}}, augmentations={}}, isIgnore=false, isProcessingRule=true, augmentations={}}, _ero=Ero{getSubobject=[Subobject{getSubobjectType=SrEroType{getNai=IpNodeId{getIpAddress=IpAddress{_ipv4Address=Ipv4Address{_value=10.0.0.3}}, augmentations={}}, getSid=103, getSidType=Ipv4NodeId, isCFlag=false, isMFlag=true, augmentations={}}, isLoose=false, augmentations={}}, Subobject{getSubobjectType=SrEroType{getNai=IpNodeId{getIpAddress=IpAddress{_ipv4Address=Ipv4Address{_value=10.0.0.2}}, augmentations={}}, getSid=102, getSidType=Ipv4NodeId, isCFlag=false, isMFlag=true, augmentations={}}, isLoose=false, augmentations={}}, Subobject{getSubobjectType=SrEroType{getNai=IpNodeId{getIpAddress=IpAddress{_ipv4Address=Ipv4Address{_value=10.0.0.11}}, augmentations={}}, getSid=11, getSidType=Ipv4NodeId, isCFlag=false, isMFlag=true, augmentations={}}, isLoose=false, augmentations={}}], isIgnore=false, isProcessingRule=false, augmentations={}}, _lsp=Lsp{_plspId=PlspId{_value=0}, _tlvs=Tlvs{_symbolicPathName=SymbolicPathName{_pathName=SymbolicPathName{_value=[68, 65, 76, 45, 80, 69, 51, 32, 45, 62, 32, 69, 87, 82, 45, 80, 69, 49]}, augmentation=[]}, augmentation=[]}, _administrative=true, _delegate=true, augmentation=[]}, _srp=Srp{_operationId=SrpIdNumber{_value=2}, _tlvs=Tlvs{_pathSetupType=PathSetupType{getPst=1, augmentations={}}, augmentation=[]}, _processingRule=true, augmentation=[]}, augmentation=[]}], _version=ProtocolVersion{_value=1}, augmentation=[]}, augmentation=[]}

2018-11-30 16:23:30,708 | WARN  | entLoopGroup-5-1 | tateful07TopologySessionListener | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Unhandled PCErr message PcerrMessage{_errors=[Errors{_errorObject=ErrorObject{_type=3, _value=2, augmentation=[]}, augmentation=[]}], augmentation=[]}.

2018-11-30 16:23:30,710 | WARN  | entLoopGroup-5-1 | AbstractTopologySessionListener  | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Unhandled message Pcerr{_pcerrMessage=PcerrMessage{_errors=[Errors{_errorObject=ErrorObject{_type=3, _value=2, augmentation=[]}, augmentation=[]}], augmentation=[]}, augmentation=[]} on session PCEPSessionImpl{channel=[id: 0x85718ea7, L:/172.17.17.253:4189 - R:/10.0.0.21:60451], localOpen=Open{_deadTimer=120, _keepalive=30, _sessionId=0, _tlvs=Tlvs{augmentation=[Tlvs3{_speakerEntityId=SpeakerEntityId{_speakerEntityIdValue=[1, 2, 3, 4], augmentation=[]}}, Tlvs1{_srPceCapability=SrPceCapability{_msd=0, augmentation=[]}}, Tlvs1{_stateful=Stateful{_lspUpdateCapability=true, augmentation=[Stateful1{_initiation=true}, Stateful1{_deltaLspSyncCapability=true, _includeDbVersion=true, _triggeredInitialSync=true, _triggeredResync=true}]}}]}, augmentation=[]}, remoteOpen=Open{_deadTimer=120, _keepalive=30, _sessionId=203, _tlvs=Tlvs{augmentation=[Tlvs3{}, Tlvs1{_srPceCapability=SrPceCapability{_msd=5, augmentation=[]}}, Tlvs1{_stateful=Stateful{_lspUpdateCapability=true, augmentation=[Stateful1{_initiation=true}, Stateful1{}]}}]}, _version=ProtocolVersion{_value=1}, _ignore=false, _processingRule=false, augmentation=[]}}
2018-11-30 16:23:30,712 | DEBUG | entLoopGroup-5-1 | PCEPRequest                      | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Request went from UNSENT to UNACKED

2018-11-30 16:23:35,299 | DEBUG | CommitFutures-0  | TopologyStatsProviderImpl        | 373 - org.opendaylight.bgpcep.pcep-topology-stats - 0.10.1 | Successfully committed Topology stats update
2018-11-30 16:23:40,297 | DEBUG | CommitFutures-0  | TopologyStatsProviderImpl        | 373 - org.opendaylight.bgpcep.pcep-topology-stats - 0.10.1 | Successfully committed Topology stats update
2018-11-30 16:23:45,302 | DEBUG | CommitFutures-1  | TopologyStatsProviderImpl        | 373 - org.opendaylight.bgpcep.pcep-topology-stats - 0.10.1 | Successfully committed Topology stats update
2018-11-30 16:23:47,826 | DEBUG | entLoopGroup-5-2 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | Message was received: Keepalive{_keepaliveMessage=KeepaliveMessage{augmentation=[]}, augmentation=[]}
2018-11-30 16:23:47,936 | DEBUG | entLoopGroup-5-1 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | Message was received: Keepalive{_keepaliveMessage=KeepaliveMessage{augmentation=[]}, augmentation=[]}
2018-11-30 16:23:50,308 | DEBUG | CommitFutures-0  | TopologyStatsProviderImpl        | 373 - org.opendaylight.bgpcep.pcep-topology-stats - 0.10.1 | Successfully committed Topology stats update
2018-11-30 16:23:53,150 | DEBUG | entLoopGroup-5-2 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | Message was received: Keepalive{_keepaliveMessage=KeepaliveMessage{augmentation=[]}, augmentation=[]}
2018-11-30 16:23:55,293 | DEBUG | CommitFutures-0  | TopologyStatsProviderImpl        | 373 - org.opendaylight.bgpcep.pcep-topology-stats - 0.10.1 | Successfully committed Topology stats update
2018-11-30 16:24:00,293 | DEBUG | CommitFutures-0  | TopologyStatsProviderImpl        | 373 - org.opendaylight.bgpcep.pcep-topology-stats - 0.10.1 | Successfully committed Topology stats update
2018-11-30 16:24:00,710 | DEBUG | Timer-1          | PCEPRequest                      | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Request went from UNACKED to DONE


When provisioning RSVP-TE LSP using restconf, i can see the LSP created on vMX and the following messages are displayed:

2018-11-30 17:01:16,287 | DEBUG | qtp482674210-65  | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | PCEP Message enqueued: Pcinitiate{_pcinitiateMessage=PcinitiateMessage{_requests=[Requests{_endpointsObj=EndpointsObj{getAddressFamily=Ipv4Case{getIpv4=Ipv4{getDestinationIpv4Address=Ipv4Address{_value=10.0.0.21}, getSourceIpv4Address=Ipv4Address{_value=10.0.0.12}, augmentations={}}, augmentations={}}, isIgnore=false, isProcessingRule=false, augmentations={}}, _ero=Ero{isIgnore=false, isProcessingRule=false, augmentations={}}, _lsp=Lsp{_plspId=PlspId{_value=0}, _tlvs=Tlvs{_symbolicPathName=SymbolicPathName{_pathName=SymbolicPathName{_value=[115, 114, 45, 112, 97, 116, 104]}, augmentation=[]}, augmentation=[]}, _administrative=true, _delegate=true, augmentation=[]}, _srp=Srp{_operationId=SrpIdNumber{_value=1}, _processingRule=true, augmentation=[]}, augmentation=[]}], _version=ProtocolVersion{_value=1}, augmentation=[]}, augmentation=[]}

2018-11-30 17:01:16,330 | DEBUG | entLoopGroup-5-1 | PCEPRequest                      | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Request went from UNSENT to UNACKED

2018-11-30 17:01:17,354 | DEBUG | entLoopGroup-5-1 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | Message was received: Pcrpt{_pcrptMessage=PcrptMessage{_reports=[Reports{_lsp=Lsp{_operational=Active, _plspId=PlspId{_value=1}, _tlvs=Tlvs{_lspIdentifiers=LspIdentifiers{_addressFamily=Ipv4Case{_ipv4=Ipv4{_ipv4ExtendedTunnelId=Ipv4Address{_value=10.0.0.12}, _ipv4TunnelEndpointAddress=Ipv4Address{_value=10.0.0.21}, _ipv4TunnelSenderAddress=Ipv4Address{_value=10.0.0.12}, augmentation=[]}, augmentation=[]}, _lspId=LspId{_value=1}, _tunnelId=TunnelId{_value=22442}, augmentation=[]}, _symbolicPathName=SymbolicPathName{_pathName=SymbolicPathName{_value=[115, 114, 45, 112, 97, 116, 104]}, augmentation=[]}, augmentation=[Tlvs1{}]}, _administrative=true, _delegate=true, _ignore=false, _processingRule=false, _remove=false, _sync=false, augmentation=[Lsp1{_create=true}]}, _path=Path{_bandwidth=Bandwidth{_bandwidth=Float32{_value=[0, 0, 0, 0]}, _ignore=false, _processingRule=false, augmentation=[]}, _ero=Ero{_subobject=[], _ignore=false, _processingRule=false, augmentation=[]}, _lspa=Lspa{_excludeAny=AttributeFilter{_value=0}, _holdPriority=0, _includeAll=AttributeFilter{_value=0}, _includeAny=AttributeFilter{_value=0}, _setupPriority=0, _tlvs=Tlvs{augmentation=[]}, _ignore=false, _localProtectionDesired=false, _processingRule=false, augmentation=[]}, _metrics=[Metrics{_metric=Metric{_metricType=2, _value=Float32{_value=[65, -16, 0, 0]}, _bound=false, _computed=false, _ignore=false, _processingRule=false, augmentation=[]}, augmentation=[]}], _rro=Rro{_subobject=[Subobject{_subobjectType=IpPrefixCase{_ipPrefix=IpPrefix{_ipPrefix=IpPrefix{_ipv4Prefix=Ipv4Prefix{_value=172.17.17.13/32}}, augmentation=[]}, augmentation=[]}, _protectionAvailable=false, _protectionInUse=false, augmentation=[]}, Subobject{_subobjectType=LabelCase{_label=Label{_labelType=Type1LabelCase{_type1Label=Type1Label{_type1Label=300112, augmentation=[]}, augmentation=[]}, _global=true, _uniDirectional=false, augmentation=[]}, augmentation=[]}, augmentation=[]}, Subobject{_subobjectType=IpPrefixCase{_ipPrefix=IpPrefix{_ipPrefix=IpPrefix{_ipv4Prefix=Ipv4Prefix{_value=172.17.17.29/32}}, augmentation=[]}, augmentation=[]}, _protectionAvailable=false, _protectionInUse=false, augmentation=[]}, Subobject{_subobjectType=LabelCase{_label=Label{_labelType=Type1LabelCase{_type1Label=Type1Label{_type1Label=299856, augmentation=[]}, augmentation=[]}, _global=true, _uniDirectional=false, augmentation=[]}, augmentation=[]}, augmentation=[]}, Subobject{_subobjectType=IpPrefixCase{_ipPrefix=IpPrefix{_ipPrefix=IpPrefix{_ipv4Prefix=Ipv4Prefix{_value=172.17.17.18/32}}, augmentation=[]}, augmentation=[]}, _protectionAvailable=false, _protectionInUse=false, augmentation=[]}, Subobject{_subobjectType=LabelCase{_label=Label{_labelType=Type1LabelCase{_type1Label=Type1Label{_type1Label=3, augmentation=[]}, augmentation=[]}, _global=true, _uniDirectional=false, augmentation=[]}, augmentation=[]}, augmentation=[]}], _ignore=false, _processingRule=false, augmentation=[]}, augmentation=[]}, _srp=Srp{_operationId=SrpIdNumber{_value=1}, _tlvs=Tlvs{_pathSetupType=PathSetupType{_pst=0, augmentation=[]}, augmentation=[]}, _ignore=false, _processingRule=false, augmentation=[Srp1{_remove=false}]}, augmentation=[]}], augmentation=[]}, augmentation=[]}


2018-11-30 17:01:17,358 | DEBUG | entLoopGroup-5-1 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | PCEP message Pcrpt{_pcrptMessage=PcrptMessage{_reports=[Reports{_lsp=Lsp{_operational=Active, _plspId=PlspId{_value=1}, _tlvs=Tlvs{_lspIdentifiers=LspIdentifiers{_addressFamily=Ipv4Case{_ipv4=Ipv4{_ipv4ExtendedTunnelId=Ipv4Address{_value=10.0.0.12}, _ipv4TunnelEndpointAddress=Ipv4Address{_value=10.0.0.21}, _ipv4TunnelSenderAddress=Ipv4Address{_value=10.0.0.12}, augmentation=[]}, augmentation=[]}, _lspId=LspId{_value=1}, _tunnelId=TunnelId{_value=22442}, augmentation=[]}, _symbolicPathName=SymbolicPathName{_pathName=SymbolicPathName{_value=[115, 114, 45, 112, 97, 116, 104]}, augmentation=[]}, augmentation=[Tlvs1{}]}, _administrative=true, _delegate=true, _ignore=false, _processingRule=false, _remove=false, _sync=false, augmentation=[Lsp1{_create=true}]}, _path=Path{_bandwidth=Bandwidth{_bandwidth=Float32{_value=[0, 0, 0, 0]}, _ignore=false, _processingRule=false, augmentation=[]}, _ero=Ero{_subobject=[], _ignore=false, _processingRule=false, augmentation=[]}, _lspa=Lspa{_excludeAny=AttributeFilter{_value=0}, _holdPriority=0, _includeAll=AttributeFilter{_value=0}, _includeAny=AttributeFilter{_value=0}, _setupPriority=0, _tlvs=Tlvs{augmentation=[]}, _ignore=false, _localProtectionDesired=false, _processingRule=false, augmentation=[]}, _metrics=[Metrics{_metric=Metric{_metricType=2, _value=Float32{_value=[65, -16, 0, 0]}, _bound=false, _computed=false, _ignore=false, _processingRule=false, augmentation=[]}, augmentation=[]}], _rro=Rro{_subobject=[Subobject{_subobjectType=IpPrefixCase{_ipPrefix=IpPrefix{_ipPrefix=IpPrefix{_ipv4Prefix=Ipv4Prefix{_value=172.17.17.13/32}}, augmentation=[]}, augmentation=[]}, _protectionAvailable=false, _protectionInUse=false, augmentation=[]}, Subobject{_subobjectType=LabelCase{_label=Label{_labelType=Type1LabelCase{_type1Label=Type1Label{_type1Label=300112, augmentation=[]}, augmentation=[]}, _global=true, _uniDirectional=false, augmentation=[]}, augmentation=[]}, augmentation=[]}, Subobject{_subobjectType=IpPrefixCase{_ipPrefix=IpPrefix{_ipPrefix=IpPrefix{_ipv4Prefix=Ipv4Prefix{_value=172.17.17.29/32}}, augmentation=[]}, augmentation=[]}, _protectionAvailable=false, _protectionInUse=false, augmentation=[]}, Subobject{_subobjectType=LabelCase{_label=Label{_labelType=Type1LabelCase{_type1Label=Type1Label{_type1Label=299856, augmentation=[]}, augmentation=[]}, _global=true, _uniDirectional=false, augmentation=[]}, augmentation=[]}, augmentation=[]}, Subobject{_subobjectType=IpPrefixCase{_ipPrefix=IpPrefix{_ipPrefix=IpPrefix{_ipv4Prefix=Ipv4Prefix{_value=172.17.17.18/32}}, augmentation=[]}, augmentation=[]}, _protectionAvailable=false, _protectionInUse=false, augmentation=[]}, Subobject{_subobjectType=LabelCase{_label=Label{_labelType=Type1LabelCase{_type1Label=Type1Label{_type1Label=3, augmentation=[]}, augmentation=[]}, _global=true, _uniDirectional=false, augmentation=[]}, augmentation=[]}, augmentation=[]}], _ignore=false, _processingRule=false, augmentation=[]}, augmentation=[]}, _srp=Srp{_operationId=SrpIdNumber{_value=1}, _tlvs=Tlvs{_pathSetupType=PathSetupType{_pst=0, augmentation=[]}, augmentation=[]}, _ignore=false, _processingRule=false, augmentation=[Srp1{_remove=false}]}, augmentation=[]}], augmentation=[]}, augmentation=[]} received.
2018-11-30 17:01:17,388 | DEBUG | entLoopGroup-5-1 | tateful07TopologySessionListener | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Request SrpIdNumber{_value=1} resulted in LSP operational state Active
2018-11-30 17:01:17,409 | DEBUG | entLoopGroup-5-1 | AbstractTopologySessionListener  | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Saved LSP PlspId{_value=1} with name sr-path
2018-11-30 17:01:18,702 | DEBUG | entLoopGroup-5-2 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | Message was received: Keepalive{_keepaliveMessage=KeepaliveMessage{augmentation=[]}, augmentation=[]}
2018-11-30 17:01:18,865 | DEBUG | entLoopGroup-5-1 | AbstractTopologySessionListener  | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | LSP sr-path updated to MD-SAL
2018-11-30 17:01:18,867 | DEBUG | entLoopGroup-5-1 | tateful07TopologySessionListener | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | LSP Lsp{_operational=Active, _plspId=PlspId{_value=1}, _tlvs=Tlvs{_lspIdentifiers=LspIdentifiers{_addressFamily=Ipv4Case{_ipv4=Ipv4{_ipv4ExtendedTunnelId=Ipv4Address{_value=10.0.0.12}, _ipv4TunnelEndpointAddress=Ipv4Address{_value=10.0.0.21}, _ipv4TunnelSenderAddress=Ipv4Address{_value=10.0.0.12}, augmentation=[]}, augmentation=[]}, _lspId=LspId{_value=1}, _tunnelId=TunnelId{_value=22442}, augmentation=[]}, _symbolicPathName=SymbolicPathName{_pathName=SymbolicPathName{_value=[115, 114, 45, 112, 97, 116, 104]}, augmentation=[]}, augmentation=[Tlvs1{}]}, _administrative=true, _delegate=true, _ignore=false, _processingRule=false, _remove=false, _sync=false, augmentation=[Lsp1{_create=true}]} updated

2018-11-30 17:01:18,890 | DEBUG | CommitFutures-1  | PCEPRequest                      | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Request went from UNACKED to DONE

i m suspecting that odl-bgpcep-pcep-segment-routing is not working correctly, so i am trying to check whether Segment Routing capability is set to true.  As described in PCEP user guide:

I m trying to GET the following to see config:

/restconf/config/pcep-segment-routing-app-config:pcep-segment-routing-app-config

Postman returns the following message:

<errors xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf">
    <error>
        <error-type>protocol</error-type>
        <error-tag>invalid-value</error-tag>
        <error-message>URI has bad format. Possible reasons:
 1. "pcep-segment-routing-app-config:pcep-segment-routing-app-config" was not found in parent data node.
 2. "pcep-segment-routing-app-config:pcep-segment-routing-app-config" is behind mount point. Then it should be in format "/yang-ext:mount/pcep-segment-routing-app-config:pcep-segment-routing-app-config".</error-message>
    </error>
</errors>

Or PUT the following:

<pcep-segment-routing-config xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:segment-routing-app-config">
   <sr-capable>true</sr-capable>
</pcep-segment-routing-config>
Error is the same as above.

odl-bgpcep-pcep-segment-routing feature is installed and started.  Is there anything Im missing ?

Attached is the pcep configuration + topology.

Let me know if you required additional output.

Thank you very much for your responses.  


Vlad Kratsberg
 

Was able to resolve this by appending the below lines of code via the following path:

http://<odl>:8181/restconf/config/pcep-segment-routing-app-config:pcep-segment-routing-config 

<pcep-segment-routing-config xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:segment-routing-app-config">
   <sr-capable>true</sr-capable>
   <iana-sr-subobjects-type>true</iana-sr-subobjects-type>
</pcep-segment-routing-config>

On Tue, Dec 4, 2018 at 5:13 PM Vlad Kratsberg <vkratsberg@...> wrote:
Hello Community,

I found similar issue that wasn't resolved dated to October 2017.


List of installed pcep features:

opendaylight-user@root>feature:list -i | grep pcep
odl-bgpcep-pcep-segment-routing                                 │ 0.10.1           │          │ Started │ odl-bgpcep-pcep-segment-routing                                 │ OpenDaylight :: PCEP :: Segment Routing
odl-bgpcep-bgp-extensions-api                                   │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-extensions-api                                   │ OpenDaylight :: BGP :: Extensions API
odl-bgpcep-topology-api                                         │ 0.10.1           │          │ Started │ odl-bgpcep-topology-api                                         │ OpenDaylight :: BGPCEP :: Topology :: Api
odl-bgpcep-bgp-openconfig                                       │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-openconfig                                       │ OpenDaylight :: BGP :: Openconfig
odl-bgpcep-protocols-config-loader                              │ 0.10.1           │          │ Started │ odl-bgpcep-protocols-config-loader                              │ OpenDaylight :: BGPCEP :: Protocols Config Loader
odl-bgpcep-bgp-evpn                                             │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-evpn                                             │ OpenDaylight :: BGP :: Evpn
odl-bgpcep-pcep-stateful07                                      │ 0.10.1           │          │ Started │ odl-bgpcep-pcep-stateful07                                      │ OpenDaylight :: PCEP :: Stateful 07
odl-bgpcep-bgp-rib-impl                                         │ 0.10.1           │          │ Started │ odl-bgpcep-0.10.1                                               │ OpenDaylight :: BGP :: RIB Impl
odl-bgpcep-routing-policy-config-loader                         │ 0.10.1           │          │ Started │ odl-bgpcep-routing-policy-config-loader                         │ OpenDaylight :: BGPCEP :: BGP Routing Policy Conf
odl-bgpcep-bgp-openconfig-state                                 │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-openconfig-state                                 │ OpenDaylight :: BGP :: Config Loader
odl-bgpcep-rsvp                                                 │ 0.10.1           │          │ Started │ odl-bgpcep-rsvp                                                 │ OpenDaylight :: RSVP
odl-bgpcep-extras-dependencies                                  │ 0.10.1           │          │ Started │ odl-bgpcep-extras-dependencies                                  │ OpenDaylight :: Extras :: Dependencies
odl-bgpcep-bgp                                                  │ 0.10.1           │ x        │ Started │ odl-bgpcep-bgp                                                  │ OpenDaylight :: BGP
odl-bgpcep-bgp-flowspec                                         │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-flowspec                                         │ OpenDaylight :: BGP :: Flowspec
odl-bgpcep-bgp-parser                                           │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-parser                                           │ OpenDaylight :: BGP :: Parser
odl-bgpcep-config-loader-spi                                    │ 0.10.1           │          │ Started │ odl-bgpcep-config-loader-spi                                    │ OpenDaylight :: BGPCEP :: SPI Config Loader
odl-bgpcep-pcep-config-example                                  │ 0.10.1           │          │ Started │ odl-bgpcep-0.10.1                                               │ OpenDaylight :: Pcep Configuration Example Files
odl-bgpcep-bgp-linkstate                                        │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-linkstate                                        │ OpenDaylight :: BGP :: RIB Linkstate
odl-bgpcep-pcep-tunnel-provider                                 │ 0.10.1           │          │ Started │ odl-bgpcep-pcep-tunnel-provider                                 │ OpenDaylight :: PCEP :: Tunnel Provider
odl-bgpcep-config-loader-impl                                   │ 0.10.1           │          │ Started │ odl-bgpcep-config-loader-impl                                   │ OpenDaylight :: BGPCEP :: Config Loader Impl
odl-bgpcep-bgp-dependencies                                     │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-dependencies-0.10.1                              │ OpenDaylight :: BGP :: Dependencies
odl-bgpcep-pcep-topology                                        │ 0.10.1           │          │ Started │ odl-bgpcep-pcep-topology                                        │ OpenDaylight :: PCEP :: Topology
odl-bgpcep-bgp-topology                                         │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-topology                                         │ OpenDaylight :: BGP :: Topology
odl-bgpcep-bgp-inet                                             │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-inet                                             │ OpenDaylight :: BGP :: Inet
odl-bgpcep-bgp-rib-api                                          │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-rib-api                                          │ OpenDaylight :: BGP :: RIB Api
odl-bgpcep-pcep-base-parser                                     │ 0.10.1           │          │ Started │ odl-bgpcep-pcep-base-parser                                     │ OpenDaylight :: PCEP :: Base Parser
odl-bgpcep-pcep-cli                                             │ 0.10.1           │          │ Started │ odl-bgpcep-pcep-cli                                             │ OpenDaylight :: PCEP :: Topology Cli
odl-bgpcep-pcep-topology-stats                                  │ 0.10.1           │          │ Started │ odl-bgpcep-pcep-topology-stats                                  │ OpenDaylight :: PCEP :: Topology Stats
odl-bgpcep-programming-impl                                     │ 0.10.1           │          │ Started │ odl-bgpcep-programming-impl                                     │ OpenDaylight :: PCEP :: Programming Impl
odl-bgpcep-bgp-mvpn                                             │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-mvpn                                             │ OpenDaylight :: BGP :: Mvpn
odl-bgpcep-bgp-route-target                                     │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-route-target                                     │ OpenDaylight :: BGP :: Route Target Constrains
odl-bgpcep-pcep                                                 │ 0.10.1           │ x        │ Started │ odl-bgpcep-pcep                                                 │ OpenDaylight :: PCEP
odl-bgpcep-bmp-api                                              │ 0.10.1           │          │ Started │ odl-bgpcep-bmp-api                                              │ OpenDaylight :: BMP :: API
odl-bgpcep-bgp-path-selection-mode                              │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-path-selection-mode                              │ OpenDaylight :: BGP :: Path Selection
odl-bgpcep-pcep-auto-bandwidth                                  │ 0.10.1           │          │ Started │ odl-bgpcep-pcep-auto-bandwidth                                  │ OpenDaylight :: PCEP :: Auto Bandwidth
odl-bgpcep-bgp-openconfig-rp-spi                                │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-openconfig-rp-spi                                │ OpenDaylight :: BGP :: Openconfig Routing Policy
odl-bgpcep-bgp-cli                                              │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-cli                                              │ OpenDaylight :: BGP :: Cli
odl-bgpcep-bgp-openconfig-rp-impl                               │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-openconfig-rp-impl                               │ OpenDaylight :: BGP :: Openconfig Routing Policy
odl-bgpcep-bgp-labeled-unicast                                  │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-labeled-unicast                                  │ OpenDaylight :: BGP :: Labeled Unicast
odl-bgpcep-bgp-openconfig-rp-statement                          │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-openconfig-rp-statement                          │ OpenDaylight :: BGP :: Openconfig Routing Policy
odl-bgpcep-pcep-topology-provider                               │ 0.10.1           │          │ Started │ odl-bgpcep-pcep-topology-provider                               │ OpenDaylight :: PCEP :: Topology Provider
odl-bgpcep-pcep-impl                                            │ 0.10.1           │          │ Started │ odl-bgpcep-pcep-impl                                            │ OpenDaylight :: PCEP :: Impl
odl-bgpcep-programming-api                                      │ 0.10.1           │          │ Started │ odl-bgpcep-programming-api                                      │ OpenDaylight :: PCEP :: Programming Api
odl-bgpcep-concepts                                             │ 0.10.1           │          │ Started │ odl-bgpcep-concepts                                             │ OpenDaylight :: BGPCEP :: Concepts
odl-bgpcep-bgp-l3vpn                                            │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-l3vpn                                            │ OpenDaylight :: BGP :: L3Vpn
odl-bgpcep-pcep-api                                             │ 0.10.1           │          │ Started │ odl-bgpcep-pcep-api                                             │ OpenDaylight :: PCEP :: Api
odl-bgpcep-rsvp-api                                             │ 0.10.1           │          │ Started │ odl-bgpcep-rsvp-api                                             │ OpenDaylight :: RSVP :: API
odl-bgpcep-bgp-parser-api                                       │ 0.10.1           │          │ Started │ odl-bgpcep-bgp-parser-api                                       │ OpenDaylight :: BGP :: Parser :: API
odl-bgpcep-topology-config-loader                               │ 0.10.1           │          │ Started │ odl-bgpcep-topology-config-loader                               │ OpenDaylight :: BGPCEP :: Topology Config Loader

Get the following error when trying to update segment-routing setting via restconf:

<errors xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf">
    <error>
        <error-type>protocol</error-type>
        <error-tag>invalid-value</error-tag>
        <error-message>URI has bad format. Possible reasons:
 1. "pcep-segment-routing-app-config:pcep-segment-routing-app-config" was not found in parent data node.
 2. "pcep-segment-routing-app-config:pcep-segment-routing-app-config" is behind mount point. Then it should be in format "/yang-ext:mount/pcep-segment-routing-app-config:pcep-segment-routing-app-config".</error-message>
    </error>
</errors>

Can anybody shed some light into what might be the issue ? 

On Fri, Nov 30, 2018 at 6:02 PM Vlad Kratsberg <vkratsberg@...> wrote:
HI Community,

We are having trouble provisioning SR-TE lsp.  We are able to successfully set up RSVP-TE lsp.

Set up:  
Juniper-MX 18.1R1.9
ODL: karaf-0.9.1 -- fluorine sr1
Features installed:  odl-restconf-noauth odl-bgpcep-bgp odl-bgpcep-pcep
pathman

BGP-LS session up.  PCEP sessions up with 4 routers.

When trying to provision SR-TE lsp either using pathman or restconf, i get the following:

2018-11-30 16:23:30,679 | DEBUG | entLoopGroup-5-1 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | Message was received: Pcerr{_pcerrMessage=PcerrMessage{_errors=[Errors{_errorObject=ErrorObject{_type=3, _value=2, augmentation=[]}, augmentation=[]}], augmentation=[]}, augmentation=[]}
2018-11-30 16:23:30,681 | DEBUG | entLoopGroup-5-1 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | PCEP message Pcerr{_pcerrMessage=PcerrMessage{_errors=[Errors{_errorObject=ErrorObject{_type=3, _value=2, augmentation=[]}, augmentation=[]}], augmentation=[]}, augmentation=[]} received.
2018-11-30 16:23:30,690 | DEBUG | qtp482674210-63  | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | PCEP Message enqueued: 


Pcinitiate{_pcinitiateMessage=PcinitiateMessage{_requests=[Requests{_endpointsObj=EndpointsObj{getAddressFamily=Ipv4Case{getIpv4=Ipv4{getDestinationIpv4Address=Ipv4Address{_value=10.0.0.11}, getSourceIpv4Address=Ipv4Address{_value=10.0.0.21}, augmentations={}}, augmentations={}}, isIgnore=false, isProcessingRule=true, augmentations={}}, _ero=Ero{getSubobject=[Subobject{getSubobjectType=SrEroType{getNai=IpNodeId{getIpAddress=IpAddress{_ipv4Address=Ipv4Address{_value=10.0.0.3}}, augmentations={}}, getSid=103, getSidType=Ipv4NodeId, isCFlag=false, isMFlag=true, augmentations={}}, isLoose=false, augmentations={}}, Subobject{getSubobjectType=SrEroType{getNai=IpNodeId{getIpAddress=IpAddress{_ipv4Address=Ipv4Address{_value=10.0.0.2}}, augmentations={}}, getSid=102, getSidType=Ipv4NodeId, isCFlag=false, isMFlag=true, augmentations={}}, isLoose=false, augmentations={}}, Subobject{getSubobjectType=SrEroType{getNai=IpNodeId{getIpAddress=IpAddress{_ipv4Address=Ipv4Address{_value=10.0.0.11}}, augmentations={}}, getSid=11, getSidType=Ipv4NodeId, isCFlag=false, isMFlag=true, augmentations={}}, isLoose=false, augmentations={}}], isIgnore=false, isProcessingRule=false, augmentations={}}, _lsp=Lsp{_plspId=PlspId{_value=0}, _tlvs=Tlvs{_symbolicPathName=SymbolicPathName{_pathName=SymbolicPathName{_value=[68, 65, 76, 45, 80, 69, 51, 32, 45, 62, 32, 69, 87, 82, 45, 80, 69, 49]}, augmentation=[]}, augmentation=[]}, _administrative=true, _delegate=true, augmentation=[]}, _srp=Srp{_operationId=SrpIdNumber{_value=2}, _tlvs=Tlvs{_pathSetupType=PathSetupType{getPst=1, augmentations={}}, augmentation=[]}, _processingRule=true, augmentation=[]}, augmentation=[]}], _version=ProtocolVersion{_value=1}, augmentation=[]}, augmentation=[]}

2018-11-30 16:23:30,708 | WARN  | entLoopGroup-5-1 | tateful07TopologySessionListener | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Unhandled PCErr message PcerrMessage{_errors=[Errors{_errorObject=ErrorObject{_type=3, _value=2, augmentation=[]}, augmentation=[]}], augmentation=[]}.

2018-11-30 16:23:30,710 | WARN  | entLoopGroup-5-1 | AbstractTopologySessionListener  | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Unhandled message Pcerr{_pcerrMessage=PcerrMessage{_errors=[Errors{_errorObject=ErrorObject{_type=3, _value=2, augmentation=[]}, augmentation=[]}], augmentation=[]}, augmentation=[]} on session PCEPSessionImpl{channel=[id: 0x85718ea7, L:/172.17.17.253:4189 - R:/10.0.0.21:60451], localOpen=Open{_deadTimer=120, _keepalive=30, _sessionId=0, _tlvs=Tlvs{augmentation=[Tlvs3{_speakerEntityId=SpeakerEntityId{_speakerEntityIdValue=[1, 2, 3, 4], augmentation=[]}}, Tlvs1{_srPceCapability=SrPceCapability{_msd=0, augmentation=[]}}, Tlvs1{_stateful=Stateful{_lspUpdateCapability=true, augmentation=[Stateful1{_initiation=true}, Stateful1{_deltaLspSyncCapability=true, _includeDbVersion=true, _triggeredInitialSync=true, _triggeredResync=true}]}}]}, augmentation=[]}, remoteOpen=Open{_deadTimer=120, _keepalive=30, _sessionId=203, _tlvs=Tlvs{augmentation=[Tlvs3{}, Tlvs1{_srPceCapability=SrPceCapability{_msd=5, augmentation=[]}}, Tlvs1{_stateful=Stateful{_lspUpdateCapability=true, augmentation=[Stateful1{_initiation=true}, Stateful1{}]}}]}, _version=ProtocolVersion{_value=1}, _ignore=false, _processingRule=false, augmentation=[]}}
2018-11-30 16:23:30,712 | DEBUG | entLoopGroup-5-1 | PCEPRequest                      | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Request went from UNSENT to UNACKED

2018-11-30 16:23:35,299 | DEBUG | CommitFutures-0  | TopologyStatsProviderImpl        | 373 - org.opendaylight.bgpcep.pcep-topology-stats - 0.10.1 | Successfully committed Topology stats update
2018-11-30 16:23:40,297 | DEBUG | CommitFutures-0  | TopologyStatsProviderImpl        | 373 - org.opendaylight.bgpcep.pcep-topology-stats - 0.10.1 | Successfully committed Topology stats update
2018-11-30 16:23:45,302 | DEBUG | CommitFutures-1  | TopologyStatsProviderImpl        | 373 - org.opendaylight.bgpcep.pcep-topology-stats - 0.10.1 | Successfully committed Topology stats update
2018-11-30 16:23:47,826 | DEBUG | entLoopGroup-5-2 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | Message was received: Keepalive{_keepaliveMessage=KeepaliveMessage{augmentation=[]}, augmentation=[]}
2018-11-30 16:23:47,936 | DEBUG | entLoopGroup-5-1 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | Message was received: Keepalive{_keepaliveMessage=KeepaliveMessage{augmentation=[]}, augmentation=[]}
2018-11-30 16:23:50,308 | DEBUG | CommitFutures-0  | TopologyStatsProviderImpl        | 373 - org.opendaylight.bgpcep.pcep-topology-stats - 0.10.1 | Successfully committed Topology stats update
2018-11-30 16:23:53,150 | DEBUG | entLoopGroup-5-2 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | Message was received: Keepalive{_keepaliveMessage=KeepaliveMessage{augmentation=[]}, augmentation=[]}
2018-11-30 16:23:55,293 | DEBUG | CommitFutures-0  | TopologyStatsProviderImpl        | 373 - org.opendaylight.bgpcep.pcep-topology-stats - 0.10.1 | Successfully committed Topology stats update
2018-11-30 16:24:00,293 | DEBUG | CommitFutures-0  | TopologyStatsProviderImpl        | 373 - org.opendaylight.bgpcep.pcep-topology-stats - 0.10.1 | Successfully committed Topology stats update
2018-11-30 16:24:00,710 | DEBUG | Timer-1          | PCEPRequest                      | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Request went from UNACKED to DONE


When provisioning RSVP-TE LSP using restconf, i can see the LSP created on vMX and the following messages are displayed:

2018-11-30 17:01:16,287 | DEBUG | qtp482674210-65  | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | PCEP Message enqueued: Pcinitiate{_pcinitiateMessage=PcinitiateMessage{_requests=[Requests{_endpointsObj=EndpointsObj{getAddressFamily=Ipv4Case{getIpv4=Ipv4{getDestinationIpv4Address=Ipv4Address{_value=10.0.0.21}, getSourceIpv4Address=Ipv4Address{_value=10.0.0.12}, augmentations={}}, augmentations={}}, isIgnore=false, isProcessingRule=false, augmentations={}}, _ero=Ero{isIgnore=false, isProcessingRule=false, augmentations={}}, _lsp=Lsp{_plspId=PlspId{_value=0}, _tlvs=Tlvs{_symbolicPathName=SymbolicPathName{_pathName=SymbolicPathName{_value=[115, 114, 45, 112, 97, 116, 104]}, augmentation=[]}, augmentation=[]}, _administrative=true, _delegate=true, augmentation=[]}, _srp=Srp{_operationId=SrpIdNumber{_value=1}, _processingRule=true, augmentation=[]}, augmentation=[]}], _version=ProtocolVersion{_value=1}, augmentation=[]}, augmentation=[]}

2018-11-30 17:01:16,330 | DEBUG | entLoopGroup-5-1 | PCEPRequest                      | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Request went from UNSENT to UNACKED

2018-11-30 17:01:17,354 | DEBUG | entLoopGroup-5-1 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | Message was received: Pcrpt{_pcrptMessage=PcrptMessage{_reports=[Reports{_lsp=Lsp{_operational=Active, _plspId=PlspId{_value=1}, _tlvs=Tlvs{_lspIdentifiers=LspIdentifiers{_addressFamily=Ipv4Case{_ipv4=Ipv4{_ipv4ExtendedTunnelId=Ipv4Address{_value=10.0.0.12}, _ipv4TunnelEndpointAddress=Ipv4Address{_value=10.0.0.21}, _ipv4TunnelSenderAddress=Ipv4Address{_value=10.0.0.12}, augmentation=[]}, augmentation=[]}, _lspId=LspId{_value=1}, _tunnelId=TunnelId{_value=22442}, augmentation=[]}, _symbolicPathName=SymbolicPathName{_pathName=SymbolicPathName{_value=[115, 114, 45, 112, 97, 116, 104]}, augmentation=[]}, augmentation=[Tlvs1{}]}, _administrative=true, _delegate=true, _ignore=false, _processingRule=false, _remove=false, _sync=false, augmentation=[Lsp1{_create=true}]}, _path=Path{_bandwidth=Bandwidth{_bandwidth=Float32{_value=[0, 0, 0, 0]}, _ignore=false, _processingRule=false, augmentation=[]}, _ero=Ero{_subobject=[], _ignore=false, _processingRule=false, augmentation=[]}, _lspa=Lspa{_excludeAny=AttributeFilter{_value=0}, _holdPriority=0, _includeAll=AttributeFilter{_value=0}, _includeAny=AttributeFilter{_value=0}, _setupPriority=0, _tlvs=Tlvs{augmentation=[]}, _ignore=false, _localProtectionDesired=false, _processingRule=false, augmentation=[]}, _metrics=[Metrics{_metric=Metric{_metricType=2, _value=Float32{_value=[65, -16, 0, 0]}, _bound=false, _computed=false, _ignore=false, _processingRule=false, augmentation=[]}, augmentation=[]}], _rro=Rro{_subobject=[Subobject{_subobjectType=IpPrefixCase{_ipPrefix=IpPrefix{_ipPrefix=IpPrefix{_ipv4Prefix=Ipv4Prefix{_value=172.17.17.13/32}}, augmentation=[]}, augmentation=[]}, _protectionAvailable=false, _protectionInUse=false, augmentation=[]}, Subobject{_subobjectType=LabelCase{_label=Label{_labelType=Type1LabelCase{_type1Label=Type1Label{_type1Label=300112, augmentation=[]}, augmentation=[]}, _global=true, _uniDirectional=false, augmentation=[]}, augmentation=[]}, augmentation=[]}, Subobject{_subobjectType=IpPrefixCase{_ipPrefix=IpPrefix{_ipPrefix=IpPrefix{_ipv4Prefix=Ipv4Prefix{_value=172.17.17.29/32}}, augmentation=[]}, augmentation=[]}, _protectionAvailable=false, _protectionInUse=false, augmentation=[]}, Subobject{_subobjectType=LabelCase{_label=Label{_labelType=Type1LabelCase{_type1Label=Type1Label{_type1Label=299856, augmentation=[]}, augmentation=[]}, _global=true, _uniDirectional=false, augmentation=[]}, augmentation=[]}, augmentation=[]}, Subobject{_subobjectType=IpPrefixCase{_ipPrefix=IpPrefix{_ipPrefix=IpPrefix{_ipv4Prefix=Ipv4Prefix{_value=172.17.17.18/32}}, augmentation=[]}, augmentation=[]}, _protectionAvailable=false, _protectionInUse=false, augmentation=[]}, Subobject{_subobjectType=LabelCase{_label=Label{_labelType=Type1LabelCase{_type1Label=Type1Label{_type1Label=3, augmentation=[]}, augmentation=[]}, _global=true, _uniDirectional=false, augmentation=[]}, augmentation=[]}, augmentation=[]}], _ignore=false, _processingRule=false, augmentation=[]}, augmentation=[]}, _srp=Srp{_operationId=SrpIdNumber{_value=1}, _tlvs=Tlvs{_pathSetupType=PathSetupType{_pst=0, augmentation=[]}, augmentation=[]}, _ignore=false, _processingRule=false, augmentation=[Srp1{_remove=false}]}, augmentation=[]}], augmentation=[]}, augmentation=[]}


2018-11-30 17:01:17,358 | DEBUG | entLoopGroup-5-1 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | PCEP message Pcrpt{_pcrptMessage=PcrptMessage{_reports=[Reports{_lsp=Lsp{_operational=Active, _plspId=PlspId{_value=1}, _tlvs=Tlvs{_lspIdentifiers=LspIdentifiers{_addressFamily=Ipv4Case{_ipv4=Ipv4{_ipv4ExtendedTunnelId=Ipv4Address{_value=10.0.0.12}, _ipv4TunnelEndpointAddress=Ipv4Address{_value=10.0.0.21}, _ipv4TunnelSenderAddress=Ipv4Address{_value=10.0.0.12}, augmentation=[]}, augmentation=[]}, _lspId=LspId{_value=1}, _tunnelId=TunnelId{_value=22442}, augmentation=[]}, _symbolicPathName=SymbolicPathName{_pathName=SymbolicPathName{_value=[115, 114, 45, 112, 97, 116, 104]}, augmentation=[]}, augmentation=[Tlvs1{}]}, _administrative=true, _delegate=true, _ignore=false, _processingRule=false, _remove=false, _sync=false, augmentation=[Lsp1{_create=true}]}, _path=Path{_bandwidth=Bandwidth{_bandwidth=Float32{_value=[0, 0, 0, 0]}, _ignore=false, _processingRule=false, augmentation=[]}, _ero=Ero{_subobject=[], _ignore=false, _processingRule=false, augmentation=[]}, _lspa=Lspa{_excludeAny=AttributeFilter{_value=0}, _holdPriority=0, _includeAll=AttributeFilter{_value=0}, _includeAny=AttributeFilter{_value=0}, _setupPriority=0, _tlvs=Tlvs{augmentation=[]}, _ignore=false, _localProtectionDesired=false, _processingRule=false, augmentation=[]}, _metrics=[Metrics{_metric=Metric{_metricType=2, _value=Float32{_value=[65, -16, 0, 0]}, _bound=false, _computed=false, _ignore=false, _processingRule=false, augmentation=[]}, augmentation=[]}], _rro=Rro{_subobject=[Subobject{_subobjectType=IpPrefixCase{_ipPrefix=IpPrefix{_ipPrefix=IpPrefix{_ipv4Prefix=Ipv4Prefix{_value=172.17.17.13/32}}, augmentation=[]}, augmentation=[]}, _protectionAvailable=false, _protectionInUse=false, augmentation=[]}, Subobject{_subobjectType=LabelCase{_label=Label{_labelType=Type1LabelCase{_type1Label=Type1Label{_type1Label=300112, augmentation=[]}, augmentation=[]}, _global=true, _uniDirectional=false, augmentation=[]}, augmentation=[]}, augmentation=[]}, Subobject{_subobjectType=IpPrefixCase{_ipPrefix=IpPrefix{_ipPrefix=IpPrefix{_ipv4Prefix=Ipv4Prefix{_value=172.17.17.29/32}}, augmentation=[]}, augmentation=[]}, _protectionAvailable=false, _protectionInUse=false, augmentation=[]}, Subobject{_subobjectType=LabelCase{_label=Label{_labelType=Type1LabelCase{_type1Label=Type1Label{_type1Label=299856, augmentation=[]}, augmentation=[]}, _global=true, _uniDirectional=false, augmentation=[]}, augmentation=[]}, augmentation=[]}, Subobject{_subobjectType=IpPrefixCase{_ipPrefix=IpPrefix{_ipPrefix=IpPrefix{_ipv4Prefix=Ipv4Prefix{_value=172.17.17.18/32}}, augmentation=[]}, augmentation=[]}, _protectionAvailable=false, _protectionInUse=false, augmentation=[]}, Subobject{_subobjectType=LabelCase{_label=Label{_labelType=Type1LabelCase{_type1Label=Type1Label{_type1Label=3, augmentation=[]}, augmentation=[]}, _global=true, _uniDirectional=false, augmentation=[]}, augmentation=[]}, augmentation=[]}], _ignore=false, _processingRule=false, augmentation=[]}, augmentation=[]}, _srp=Srp{_operationId=SrpIdNumber{_value=1}, _tlvs=Tlvs{_pathSetupType=PathSetupType{_pst=0, augmentation=[]}, augmentation=[]}, _ignore=false, _processingRule=false, augmentation=[Srp1{_remove=false}]}, augmentation=[]}], augmentation=[]}, augmentation=[]} received.
2018-11-30 17:01:17,388 | DEBUG | entLoopGroup-5-1 | tateful07TopologySessionListener | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Request SrpIdNumber{_value=1} resulted in LSP operational state Active
2018-11-30 17:01:17,409 | DEBUG | entLoopGroup-5-1 | AbstractTopologySessionListener  | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Saved LSP PlspId{_value=1} with name sr-path
2018-11-30 17:01:18,702 | DEBUG | entLoopGroup-5-2 | PCEPSessionImpl                  | 367 - org.opendaylight.bgpcep.pcep-impl - 0.10.1 | Message was received: Keepalive{_keepaliveMessage=KeepaliveMessage{augmentation=[]}, augmentation=[]}
2018-11-30 17:01:18,865 | DEBUG | entLoopGroup-5-1 | AbstractTopologySessionListener  | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | LSP sr-path updated to MD-SAL
2018-11-30 17:01:18,867 | DEBUG | entLoopGroup-5-1 | tateful07TopologySessionListener | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | LSP Lsp{_operational=Active, _plspId=PlspId{_value=1}, _tlvs=Tlvs{_lspIdentifiers=LspIdentifiers{_addressFamily=Ipv4Case{_ipv4=Ipv4{_ipv4ExtendedTunnelId=Ipv4Address{_value=10.0.0.12}, _ipv4TunnelEndpointAddress=Ipv4Address{_value=10.0.0.21}, _ipv4TunnelSenderAddress=Ipv4Address{_value=10.0.0.12}, augmentation=[]}, augmentation=[]}, _lspId=LspId{_value=1}, _tunnelId=TunnelId{_value=22442}, augmentation=[]}, _symbolicPathName=SymbolicPathName{_pathName=SymbolicPathName{_value=[115, 114, 45, 112, 97, 116, 104]}, augmentation=[]}, augmentation=[Tlvs1{}]}, _administrative=true, _delegate=true, _ignore=false, _processingRule=false, _remove=false, _sync=false, augmentation=[Lsp1{_create=true}]} updated

2018-11-30 17:01:18,890 | DEBUG | CommitFutures-1  | PCEPRequest                      | 371 - org.opendaylight.bgpcep.pcep-topology-provider - 0.10.1 | Request went from UNACKED to DONE

i m suspecting that odl-bgpcep-pcep-segment-routing is not working correctly, so i am trying to check whether Segment Routing capability is set to true.  As described in PCEP user guide:

I m trying to GET the following to see config:

/restconf/config/pcep-segment-routing-app-config:pcep-segment-routing-app-config

Postman returns the following message:

<errors xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf">
    <error>
        <error-type>protocol</error-type>
        <error-tag>invalid-value</error-tag>
        <error-message>URI has bad format. Possible reasons:
 1. "pcep-segment-routing-app-config:pcep-segment-routing-app-config" was not found in parent data node.
 2. "pcep-segment-routing-app-config:pcep-segment-routing-app-config" is behind mount point. Then it should be in format "/yang-ext:mount/pcep-segment-routing-app-config:pcep-segment-routing-app-config".</error-message>
    </error>
</errors>

Or PUT the following:

<pcep-segment-routing-config xmlns="urn:opendaylight:params:xml:ns:yang:controller:pcep:segment-routing-app-config">
   <sr-capable>true</sr-capable>
</pcep-segment-routing-config>
Error is the same as above.

odl-bgpcep-pcep-segment-routing feature is installed and started.  Is there anything Im missing ?

Attached is the pcep configuration + topology.

Let me know if you required additional output.

Thank you very much for your responses.