User Guide
28
Configure PCEP segment routing
draft-sivabalan-pce-segment-routing-02
PCEP extension for Segment Routing
PCEP Segment Routing initial configuration:
• To use Segment Routing uncomment two commented blocks
• Activate parsers/serializes extension:
• Create
pcep-parser-segment-routing02
instance
• Reconfigure (inject into list of extensions) global-pcep-extensions
<module>
<type
xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:pcep:sr02:cfg">
prefix:pcep-parser-segment-routing02
</type>
<name>pcep-parser-segment-routing02</name>
</module>
<module>
<type
xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:pcep:spi">
prefix:pcep-extensions-impl
</type>
<name>global-pcep-extensions</name>
<extension>
<type
xmlns:pcepspi="urn:opendaylight:params:xml:ns:yang:controller:pcep:spi">
pcepspi:extension
</type>
<name>pcep-parser-segment-routing02</name>
</extension>
</module>
.
.
.
<services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
<service>
<type
xmlns:pcepspi="urn:opendaylight:params:xml:ns:yang:controller:pcep:spi">
pcepspi:extension
</type>
<instance>
<name>pcep-parser-segment-routing02</name>
<provider>/config/modules/module[name='pcep-parser-segment-
routing02']/instance[name='pcep-parser-segment-routing02']</provider>
</instance>
</service>
</services>
• Advertise Segment Routing capability in Open Message:
• Instantiate pcep-session-proposal-factory-sr02
• Reconfigure
global-pcep-dispatcher
<module>