summaryrefslogtreecommitdiffstats
path: root/srv6/srv6-impl/asciidoc/Readme.adoc
diff options
context:
space:
mode:
authorMichal Cmarada <michal.cmarada@pantheon.tech>2018-06-15 13:12:53 +0200
committerMarek Gradzki <mgradzki@cisco.com>2018-06-19 18:56:53 +0000
commitb77a5725338dc700873b36c98af85d70acd7bbe4 (patch)
tree6006938757b2f3ac28eabc90eff821b3290f50af /srv6/srv6-impl/asciidoc/Readme.adoc
parenta0884f2792c31a3a93fb1654ceea754b6c612920 (diff)
HC2VPP-304 - add SRv6 policy module
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>
Diffstat (limited to 'srv6/srv6-impl/asciidoc/Readme.adoc')
-rw-r--r--srv6/srv6-impl/asciidoc/Readme.adoc31
1 files changed, 30 insertions, 1 deletions
diff --git a/srv6/srv6-impl/asciidoc/Readme.adoc b/srv6/srv6-impl/asciidoc/Readme.adoc
index 73b6f1b82..bf841a33e 100644
--- a/srv6/srv6-impl/asciidoc/Readme.adoc
+++ b/srv6/srv6-impl/asciidoc/Readme.adoc
@@ -11,6 +11,18 @@
- encapsulation source write and delete requests and customizers,
based on augmentation of routing model in: +
`hc2vpp-ietf-routing:routing/hc2vpp-ietf-srv6-base:srv6/hc2vpp-ietf-srv6-base:encapsulation`
+- Srv6 policy read,write and delete requests and customizers based on hc2vpp-oc-srte@2017-09-18.yang +
+ model, defined in: +
+ `hc2vpp-oc-srte-policy:segment-routing/traffic-engineering/policies` +
+ and +
+ `hc2vpp-oc-srte-policy:segment-routing/traffic-engineering/named-segment-lists`
+- Srv6 L3 steering read,write and delete requests and customizers based on hc2vpp-oc-srte@2017-09-18.yang +
+ model, defined in: +
+ `hc2vpp-oc-srte-policy:segment-routing/traffic-engineering/policies/policy/autoroute-include/prefixes`
+- Srv6 L2 steering read,write and delete requests and customizers based on augmentation of +
+ hc2vpp-oc-srte@2017-09-18.yang model in vpp-oc-srte-policy@2018-05-14.yang model, defined in: +
+ `hc2vpp-oc-srte-policy:segment-routing/traffic-engineering/policies/policy/autoroute-include/vpp-oc-srte-policy:interfaces`
+
== VPP mapping
@@ -29,7 +41,24 @@
*IPv6 SR Set SRv6 encapsulation source params:* +
*bsid* is the bindingSID of the SR Policy +
*index* is the index of the SR policy
-
+- srv6 policy configuration maps to *sr_policy_add* in VPP API: +
+ *IPv6 SR policy add params:* +
+ *bsid* is the bindingSID of the SR Policy +
+ *weight* is the weight of the sid list. optional. +
+ *is_encap* is the behavior of the SR policy. (0.SRH insert // 1.Encapsulation) +
+ *type* is the type of the SR policy. (0.Default // 1.Spray) +
+ *fib_table* is the VRF where to install the FIB entry for the BSID +
+ *sids* is a srv6_sid_list object
+- srv6 steering configuration maps to *sr_steering_add_del* in VPP API: +
+ *IPv6 SR steering add/del params:* +
+ *is_del* +
+ *bsid* is the bindingSID of the SR Policy (alt to sr_policy_index) +
+ *sr_policy* is the index of the SR Policy (alt to bsid) +
+ *table_id* is the VRF where to install the FIB entry for the BSID +
+ *prefix* is the IPv4/v6 address for L3 traffic type +
+ *mask_width* is the mask for L3 traffic type +
+ *sw_if_index* is the incoming interface for L2 traffic +
+ *traffic_type* describes the type of traffic
== Supported End function configurations: