summaryrefslogtreecommitdiffstats
path: root/srv6/srv6-impl/src
AgeCommit message (Collapse)AuthorFilesLines
2019-01-14HC2VPP-300: Unify namespaces of FIB modelsTibor Král7-26/+26
Change-Id: Ib24688d039c7e38afe468af542f62c821111e41f Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
2018-09-28Fix bugs after bumping to Fluorine ODL dependencies (HONEYCOMB-433)Michal Cmarada20-26/+26
Change-Id: I99b630f97144770849679a04efccaf7fc9868cb6 Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
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 Cmarada48-7/+4258
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 Cmarada38-100/+2028
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 Cmarada43-0/+2889
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>