Add policy action to expand AsPath using the given asn list
Following changes are implemented:
- Schema change for as-path expand action
- Configuration parsing for as-path expand action
- Add new action class UpdateAsPath
- Policy changes to create UpdateAsPath objects when building terms
- Implement AsPathSpec::Add method to add a list of asns
- Unit tests for AsPathSpec and UpdateAsPath
- Integration test for the as-path expand action
Reviewed: https:/ /review. opencontrail. org/38657 github. com/Juniper/ contrail- controller/ commit/ a95f520314c8221 e9738e47e8782e5 25e71edb8e
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: master
commit a95f520314c8221 e9738e47e8782e5 25e71edb8e
Author: Nischal Sheth <email address hidden>
Date: Thu Dec 21 15:21:14 2017 -0800
Add policy action to expand AsPath using the given asn list
Following changes are implemented:
- Schema change for as-path expand action
- Configuration parsing for as-path expand action
- Add new action class UpdateAsPath
- Policy changes to create UpdateAsPath objects when building terms
- Implement AsPathSpec::Add method to add a list of asns
- Unit tests for AsPathSpec and UpdateAsPath
- Integration test for the as-path expand action
Change-Id: I6eb1bab414460a af98341c76de949 260e03dc4cf
Partial-Bug: 1740933