aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2017-12-13 08:16:38 +0100
committerTibor Frank <tifrank@cisco.com>2017-12-15 09:21:36 +0000
commit2291eaac7509aadf30be407a6eb84cfa3d3a33d0 (patch)
tree688007773af91894e6d796c392eef289c8e14e1d /resources/templates
parent709aae0bfb1c0e7581976a9b4beea79490ca5c76 (diff)
CSIT-816: SRv6 L1 KWs
Current implementation doesn't contain: * weight * fib-table for BSID * policy index identification These features will be added on demand later. Change-Id: I1386c0a0e71f7ae3182b84e0ec5bb245366632d1 Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/templates')
-rw-r--r--resources/templates/vat/srv6/sr_localsid_add.vat1
-rw-r--r--resources/templates/vat/srv6/sr_localsid_del.vat1
-rw-r--r--resources/templates/vat/srv6/sr_localsids_show.vat1
-rw-r--r--resources/templates/vat/srv6/sr_policies_show.vat1
-rw-r--r--resources/templates/vat/srv6/sr_policy_add.vat1
-rw-r--r--resources/templates/vat/srv6/sr_policy_del.vat1
-rw-r--r--resources/templates/vat/srv6/sr_steer_add_del.vat1
-rw-r--r--resources/templates/vat/srv6/sr_steer_policies_show.vat1
8 files changed, 8 insertions, 0 deletions
diff --git a/resources/templates/vat/srv6/sr_localsid_add.vat b/resources/templates/vat/srv6/sr_localsid_add.vat
new file mode 100644
index 0000000000..1b43ad4409
--- /dev/null
+++ b/resources/templates/vat/srv6/sr_localsid_add.vat
@@ -0,0 +1 @@
+exec sr localsid address {local_sid} behavior {behavior} {params} \ No newline at end of file
diff --git a/resources/templates/vat/srv6/sr_localsid_del.vat b/resources/templates/vat/srv6/sr_localsid_del.vat
new file mode 100644
index 0000000000..0adf4a19fb
--- /dev/null
+++ b/resources/templates/vat/srv6/sr_localsid_del.vat
@@ -0,0 +1 @@
+exec sr localsid del address {local_sid} \ No newline at end of file
diff --git a/resources/templates/vat/srv6/sr_localsids_show.vat b/resources/templates/vat/srv6/sr_localsids_show.vat
new file mode 100644
index 0000000000..8ab09381cc
--- /dev/null
+++ b/resources/templates/vat/srv6/sr_localsids_show.vat
@@ -0,0 +1 @@
+exec show sr localsids \ No newline at end of file
diff --git a/resources/templates/vat/srv6/sr_policies_show.vat b/resources/templates/vat/srv6/sr_policies_show.vat
new file mode 100644
index 0000000000..ead5a29f46
--- /dev/null
+++ b/resources/templates/vat/srv6/sr_policies_show.vat
@@ -0,0 +1 @@
+exec show sr policies \ No newline at end of file
diff --git a/resources/templates/vat/srv6/sr_policy_add.vat b/resources/templates/vat/srv6/sr_policy_add.vat
new file mode 100644
index 0000000000..befec9f371
--- /dev/null
+++ b/resources/templates/vat/srv6/sr_policy_add.vat
@@ -0,0 +1 @@
+exec sr policy add bsid {bsid} {sid_conf} {mode} \ No newline at end of file
diff --git a/resources/templates/vat/srv6/sr_policy_del.vat b/resources/templates/vat/srv6/sr_policy_del.vat
new file mode 100644
index 0000000000..a1aaff038d
--- /dev/null
+++ b/resources/templates/vat/srv6/sr_policy_del.vat
@@ -0,0 +1 @@
+exec sr policy del bsid {bsid} \ No newline at end of file
diff --git a/resources/templates/vat/srv6/sr_steer_add_del.vat b/resources/templates/vat/srv6/sr_steer_add_del.vat
new file mode 100644
index 0000000000..19591f7523
--- /dev/null
+++ b/resources/templates/vat/srv6/sr_steer_add_del.vat
@@ -0,0 +1 @@
+exec sr steer {params} via sr policy bsid {bsid} \ No newline at end of file
diff --git a/resources/templates/vat/srv6/sr_steer_policies_show.vat b/resources/templates/vat/srv6/sr_steer_policies_show.vat
new file mode 100644
index 0000000000..af4f783082
--- /dev/null
+++ b/resources/templates/vat/srv6/sr_steer_policies_show.vat
@@ -0,0 +1 @@
+exec show sr steering policies \ No newline at end of file