From 0fbf91708504994ca0e24c972bb605371540ac32 Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Mon, 8 Jan 2018 11:50:23 +0100 Subject: Add static MAC entries to configuration - Add static MAC entries to sfc_controller configuration of all l2bdbase tests. Change-Id: I38ba32246ed20204c5be1f98b0454b71dcff2e00 Signed-off-by: Peter Mikus --- .../ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc.yaml | 10 +++++++++- .../ch-eth-1drcl2bdbasemaclrn-eth-8memif-4drcl2xc.yaml | 10 +++++++++- .../ho-eth-1drcl2bdbasemaclrn-eth-2memif-2drcl2xc.yaml | 8 ++++++++ .../ho-eth-1drcl2bdbasemaclrn-eth-2memif-4drcl2xc.yaml | 8 ++++++++ 4 files changed, 34 insertions(+), 2 deletions(-) (limited to 'resources/templates/kubernetes') diff --git a/resources/templates/kubernetes/configmaps/ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc.yaml b/resources/templates/kubernetes/configmaps/ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc.yaml index e06146fe86..46f7953734 100644 --- a/resources/templates/kubernetes/configmaps/ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc.yaml +++ b/resources/templates/kubernetes/configmaps/ch-eth-1drcl2bdbasemaclrn-eth-4memif-2drcl2xc.yaml @@ -24,10 +24,14 @@ data: - container: vswitch port_label: $$VSWITCH_IF1$$ etcd_vpp_switch_key: vswitch + l2fib_macs: + - "$$TG_IF1_MAC1$$" type: 5 - container: vnf1 port_label: port1 etcd_vpp_switch_key: vswitch + l2fib_macs: + - "$$TG_IF2_MAC1$$" type: 2 - name: vswitch-vnf2 description: VNF2 to vswitch - memif @@ -36,14 +40,18 @@ data: - container: vswitch port_label: $$VSWITCH_IF2$$ etcd_vpp_switch_key: vswitch + l2fib_macs: + - "$$TG_IF2_MAC1$$" type: 5 - container: vnf2 port_label: port2 etcd_vpp_switch_key: vswitch + l2fib_macs: + - "$$TG_IF1_MAC1$$" type: 2 - name: vnf1-vnf2 description: vnf1 to vnf2 via vswitch - memifs - type: 8 + type: 5 elements: - container: vnf1 port_label: port2 diff --git a/resources/templates/kubernetes/configmaps/ch-eth-1drcl2bdbasemaclrn-eth-8memif-4drcl2xc.yaml b/resources/templates/kubernetes/configmaps/ch-eth-1drcl2bdbasemaclrn-eth-8memif-4drcl2xc.yaml index 5cdf99e6ec..3dbc2ce9cd 100644 --- a/resources/templates/kubernetes/configmaps/ch-eth-1drcl2bdbasemaclrn-eth-8memif-4drcl2xc.yaml +++ b/resources/templates/kubernetes/configmaps/ch-eth-1drcl2bdbasemaclrn-eth-8memif-4drcl2xc.yaml @@ -24,10 +24,14 @@ data: - container: vswitch port_label: $$VSWITCH_IF1$$ etcd_vpp_switch_key: vswitch + l2fib_macs: + - "$$TG_IF1_MAC1$$" type: 5 - container: vnf1 port_label: port1 etcd_vpp_switch_key: vswitch + l2fib_macs: + - "$$TG_IF2_MAC1$$" type: 2 - name: vswitch-vnf4 description: VNF4 to vswitch - memif @@ -36,14 +40,18 @@ data: - container: vswitch port_label: $$VSWITCH_IF2$$ etcd_vpp_switch_key: vswitch + l2fib_macs: + - "$$TG_IF2_MAC1$$" type: 5 - container: vnf4 port_label: port2 etcd_vpp_switch_key: vswitch + l2fib_macs: + - "$$TG_IF1_MAC1$$" type: 2 - name: vnf1-vnf2 description: vnf1 to vnf2 via vswitch - memifs - type: 8 + type: 5 elements: - container: vnf1 port_label: port2 diff --git a/resources/templates/kubernetes/configmaps/ho-eth-1drcl2bdbasemaclrn-eth-2memif-2drcl2xc.yaml b/resources/templates/kubernetes/configmaps/ho-eth-1drcl2bdbasemaclrn-eth-2memif-2drcl2xc.yaml index c9693aa9a1..e672846e66 100644 --- a/resources/templates/kubernetes/configmaps/ho-eth-1drcl2bdbasemaclrn-eth-2memif-2drcl2xc.yaml +++ b/resources/templates/kubernetes/configmaps/ho-eth-1drcl2bdbasemaclrn-eth-2memif-2drcl2xc.yaml @@ -24,10 +24,14 @@ data: - container: vswitch port_label: $$VSWITCH_IF1$$ etcd_vpp_switch_key: vswitch + l2fib_macs: + - "$$TG_IF1_MAC1$$" type: 5 - container: vnf1 port_label: port1 etcd_vpp_switch_key: vswitch + l2fib_macs: + - "$$TG_IF2_MAC1$$" type: 2 - name: vswitch-vnf2 description: VNF2 to vswitch - memif @@ -36,10 +40,14 @@ data: - container: vswitch port_label: $$VSWITCH_IF2$$ etcd_vpp_switch_key: vswitch + l2fib_macs: + - "$$TG_IF2_MAC1$$" type: 5 - container: vnf2 port_label: port2 etcd_vpp_switch_key: vswitch + l2fib_macs: + - "$$TG_IF1_MAC1$$" type: 2 - name: vnf1-vnf2 description: vnf1 to vnf2 via direct - memifs diff --git a/resources/templates/kubernetes/configmaps/ho-eth-1drcl2bdbasemaclrn-eth-2memif-4drcl2xc.yaml b/resources/templates/kubernetes/configmaps/ho-eth-1drcl2bdbasemaclrn-eth-2memif-4drcl2xc.yaml index 4a2ba86977..4b3d301a2f 100644 --- a/resources/templates/kubernetes/configmaps/ho-eth-1drcl2bdbasemaclrn-eth-2memif-4drcl2xc.yaml +++ b/resources/templates/kubernetes/configmaps/ho-eth-1drcl2bdbasemaclrn-eth-2memif-4drcl2xc.yaml @@ -24,10 +24,14 @@ data: - container: vswitch port_label: $$VSWITCH_IF1$$ etcd_vpp_switch_key: vswitch + l2fib_macs: + - "$$TG_IF1_MAC1$$" type: 5 - container: vnf1 port_label: port1 etcd_vpp_switch_key: vswitch + l2fib_macs: + - "$$TG_IF2_MAC1$$" type: 2 - name: vswitch-vnf4 description: VNF4 to vswitch - memif @@ -36,10 +40,14 @@ data: - container: vswitch port_label: $$VSWITCH_IF2$$ etcd_vpp_switch_key: vswitch + l2fib_macs: + - "$$TG_IF2_MAC1$$" type: 5 - container: vnf4 port_label: port2 etcd_vpp_switch_key: vswitch + l2fib_macs: + - "$$TG_IF1_MAC1$$" type: 2 - name: vnf1-vnf2 description: vnf1 to vnf2 via direct - memifs -- cgit 1.2.3-korg