aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot/overlay/srv6.robot
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2018-03-22 13:51:33 +0100
committerTibor Frank <tifrank@cisco.com>2018-04-23 11:14:42 +0000
commit73a01b1a7fc836c964627eea2c08106df0da5aee (patch)
treedb6fb92714f92a7f6c7ab95b89877ded0e36891c /resources/libraries/robot/overlay/srv6.robot
parentcd330b5a1bf1a289e7dad68420679a5d94de1eda (diff)
CSIT-1009: SRv6 proxy tests
- SRv6 with endpoint to SR-unaware Service Function via static proxy - SRv6 with endpoint to SR-unaware Service Function via dynamic proxy - SRv6 with endpoint to SR-unaware Service Function via masquerading proxy Change-Id: I6a6062cb41d810bf9e27dacfd866181bfde4c693 Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/robot/overlay/srv6.robot')
-rw-r--r--resources/libraries/robot/overlay/srv6.robot22
1 files changed, 22 insertions, 0 deletions
diff --git a/resources/libraries/robot/overlay/srv6.robot b/resources/libraries/robot/overlay/srv6.robot
index b253311d0e..a0a557e6d9 100644
--- a/resources/libraries/robot/overlay/srv6.robot
+++ b/resources/libraries/robot/overlay/srv6.robot
@@ -30,6 +30,18 @@
| | ... | None; required for L3 xconnects). Type: string
| | ... | - fib_table - FIB table for IPv4/IPv6 lookup (Optional, default value:
| | ... | None; required for L3 routing). Type: string
+| | ... | - out_if - Interface name of local interface for sending traffic
+| | ... | towards the Service Function (Optional, default value: None;
+| | ... | required for SRv6 endpoint to SR-unaware appliance). Type: string
+| | ... | - in_if - Interface name of local interface receiving the traffic
+| | ... | coming back from the Service Function (Optional, default value:
+| | ... | None; required for SRv6 endpoint to SR-unaware appliance).
+| | ... | Type: string
+| | ... | - src_addr - Source address on the packets coming back on in_if
+| | ... | interface (Optional, default value: None; required for SRv6 endpoint
+| | ... | to SR-unaware appliance via static proxy). Type: string
+| | ... | - sid_list - SID list (Optional, default value: []; required for SRv6
+| | ... | endpoint to SR-unaware appliance via static proxy). Type: list
| | ...
| | ... | *Example:*
| | ...
@@ -40,12 +52,22 @@
| | ... | \| end.dx4 \| interface=GigabitEthernet0/8/0 \| next_hop=10.0.0.1 \|
| | ... | \| Configure SR LocalSID on DUT \| ${nodes['DUT2']} \| E:: \
| | ... | \| end.dt6 \| fib_table=2 \|
+| | ... | \| Configure SR LocalSID on DUT \| ${nodes['DUT2']} \| E:: \
+| | ... | \| end.ad \| next_hop=10.0.0.1 \| out_if=DUT2_VHOST1 \
+| | ... | \| in_if=DUT2_VHOST2 \|
+| | ... | \| Configure SR LocalSID on DUT \| ${nodes['DUT2']} \| E:: \
+| | ... | \| end.as \| next_hop=10.0.0.1 \| out_if=DUT2_VHOST1 \
+| | ... | \| in_if=DUT2_VHOST2 \| src_addr=B:: \| sid_list=['C::', 'D::'] \|
| | ...
| | [Arguments] | ${dut_node} | ${local_sid} | ${behavior}
| | ... | ${interface}=${None} | ${next_hop}=${None} | ${fib_table}=${None}
+| | ... | ${out_if}=${None} | ${in_if}=${None} | ${src_addr}=${None}
+| | ... | @{sid_list}
| | ...
| | Configure SR LocalSID | ${dut_node} | ${local_sid} | ${behavior}
| | ... | interface=${interface} | next_hop=${next_hop} | fib_table=${fib_table}
+| | ... | out_if=${out_if} | in_if=${in_if} | src_addr=${src_addr}
+| | ... | sid_list=${sid_list}
| Delete SR LocalSID on DUT
| | [Documentation] | Delete SRv6 LocalSID on the given DUT node.