summaryrefslogtreecommitdiffstats
path: root/srv6
AgeCommit message (Collapse)AuthorFilesLines
2018-07-24Set Hc2vpp version back to 1.18.07-SNAPSHOTMarek Gradzki3-6/+6
Change-Id: I4ca6f9d23fb125262f75a5e89d029adf2e3858ea Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-07-24Hc2vpp 1.18.07-RC1v1.18.07-RC1Marek Gradzki3-6/+6
Change-Id: Ib29e015fc00097b17ed03cc64e36cb0517e424df Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-07-17Remove workarounds from ietf-routing-types related to MDSAL-269Marek Gradzki1-3/+1
Change-Id: Iadd17a3a44a20711e58c272934fb15dfe89bf2be Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-06-28fix Cast one of the operands to a long bugMichal Cmarada1-2/+2
both of operands are int type which can cause loss of data. This changes the types of operands to long Change-Id: Ie162d52b1f853c0d83d51c8871af42a597b93386 Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-06-28srv6: simplify if condition in SidCustomizer.extractLocPrefixMarek Gradzki1-2/+1
Do not check loc.getPrefix() == null twice. Change-Id: I04a9dae25e14761d7f287aedd636dda8169f2dc9 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-06-28srv6: do not check if SidCustomizer.bindRequest() returns nullMarek Gradzki1-9/+0
Such comparison is allways false. Change-Id: I39d4caac4146d48c04ecf28b3c9ecf7ae0127949 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-06-22hide Srv6Util constructor in SRv6 moduleMichal Cmarada1-0/+3
Hide default constructor to prevent creating instance of Srv6Util class. Change-Id: I805ce1971883426d8df3d9ce6eac2e5bd6ce201a Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-06-19HC2VPP-304 - add SRv6 policy moduleMichal Cmarada56-10/+6395
new models: - hc2vpp-oc-srte-policy@2017-09-18.yang (ietf draft for srte-policies) - vpp-oc-srte-policy@2018-05-14.yang (augments oc-srte-policy model with VPP specific configuration) - policy-context@2018-06-07.yang defines policy contexts for policies and candidate paths new features: - adds support for writing/reading SRv6 policies - adds support for writing/reading L2 steering - adds support for writing/reading L3 steering - implements support for FIB table management (HC2VPP-345) Change-Id: Ie83ac8ecdcc0e46086e1ecdaecbb811746151c2f Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-06-19HC2VPP-288 - add readers for SRv6 moduleMichal Cmarada39-100/+2101
Changes: - add locator context to map locator name to locator IPv6Prefix - add readers for SRv6 module - implements reading of local sids and their end functions. - implements support for FIB table management (HC2VPP-345) Change-Id: Ib04402539a0b6666c5a1d0b4e1b5b5e08ccbf67b Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-06-19HC2VPP-288 - add SRv6 module (writers only)Michal Cmarada54-0/+7748
Changes: - add new module for SRv6 - add models for SRv6 configuration: from https://datatracker.ietf.org/doc/draft-raza-spring-srv6-yang/ - hc2vpp-ietf-srv6-base@2018-03-01.yang - hc2vpp-ietf-srv6-static@2018-03-01.yang - ietf-srv6-types@2018-03-01.yang - implements Configuration of local sids and their end functions. - implements support for FIB table management (HC2VPP-345) Models hc2vpp-ietf-srv6-base and hc2vpp-ietf-srv6-static are changed (HC2VPP-332): - imports for routing models (HC2VPP-298) - presence in end function containers was added to fix mandatory child verification if parent container is not present Change-Id: Ib74e48023b671383f076b84773e26ce7c5ae282a Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech> Signed-off-by: Jan Srnicek <jan.srnicek@pantheon.tech>