Skip to content

Commit d90e28b

Browse files
committed
Remove sample flows
1 parent 5d82345 commit d90e28b

File tree

2 files changed

+44
-44
lines changed

2 files changed

+44
-44
lines changed

nets/8r-1c-srv6-pm/nodeconf/r1/controller.cfg

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,45 +17,45 @@ ip -6 route add fcff:1::200 encap seg6local \
1717

1818
# Flow 1
1919
# SRv6 encap route
20-
ip -6 route add fd00:0:81::2 encap seg6 mode encap \
21-
segs fcff:4::1,fcff:8::100 dev r1-r2
20+
# ip -6 route add fd00:0:81::2 encap seg6 mode encap \
21+
# segs fcff:4::1,fcff:8::100 dev r1-r2
2222

2323
# Flow 2
2424
# ...
2525

26-
if [ -n "${IPSET_START+x}" ]; then
27-
# Iptables/IPset configuration here
26+
# if [ -n "${IPSET_START+x}" ]; then
27+
# # Iptables/IPset configuration here
2828

29-
# For each color we add the flow to monitor
30-
ipset -A ${RED_HT_OUT} fcff:4::1,fcff:8::100
31-
ipset -A ${BLUE_HT_OUT} fcff:4::1,fcff:8::100
32-
fi
29+
# # For each color we add the flow to monitor
30+
# ipset -A ${RED_HT_OUT} fcff:4::1,fcff:8::100
31+
# ipset -A ${BLUE_HT_OUT} fcff:4::1,fcff:8::100
32+
# fi
3333

34-
if [ -n "${EBPF_START+x}" ]; then
35-
xdp_pfplm_add_flow r1-r2 egr fcff:4::1,fcff:8::100
36-
fi
34+
# if [ -n "${EBPF_START+x}" ]; then
35+
# xdp_pfplm_add_flow r1-r2 egr fcff:4::1,fcff:8::100
36+
# fi
3737

3838
# +-----------------+
3939
# | Ingress |
4040
# +-----------------+
4141

4242
# Flow1
4343
# SRv6 reverse path decap route
44-
ip -6 route add fcff:1::100 encap \
45-
seg6local action End.DX6 nh6 fd00:0:11::2 dev r1-h11
44+
# ip -6 route add fcff:1::100 encap \
45+
# seg6local action End.DX6 nh6 fd00:0:11::2 dev r1-h11
4646

4747
# Flow2
4848
# ...
4949

5050

51-
if [ -n "${IPSET_START+x}" ]; then
52-
# Iptables/IPset configuration here
51+
# if [ -n "${IPSET_START+x}" ]; then
52+
# # Iptables/IPset configuration here
5353

54-
# For each color we add the flow to monitor
55-
ipset -A ${RED_HT_IN} fcff:4::1,fcff:1::100
56-
ipset -A ${BLUE_HT_IN} fcff:4::1,fcff:1::100
57-
fi
54+
# # For each color we add the flow to monitor
55+
# ipset -A ${RED_HT_IN} fcff:4::1,fcff:1::100
56+
# ipset -A ${BLUE_HT_IN} fcff:4::1,fcff:1::100
57+
# fi
5858

59-
if [ -n "${EBPF_START+x}" ]; then
60-
xdp_pfplm_add_flow r1-r2 igr fcff:4::1,fcff:1::100
61-
fi
59+
# if [ -n "${EBPF_START+x}" ]; then
60+
# xdp_pfplm_add_flow r1-r2 igr fcff:4::1,fcff:1::100
61+
# fi

nets/8r-1c-srv6-pm/nodeconf/r8/controller.cfg

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,45 +17,45 @@ ip -6 route add fcff:8::200 encap seg6local \
1717

1818
# Flow 1
1919
# SRv6 encap route
20-
ip -6 route add fd00:0:11::2 encap seg6 mode encap \
21-
segs fcff:4::1,fcff:1::100 dev r8-r6
20+
# ip -6 route add fd00:0:11::2 encap seg6 mode encap \
21+
# segs fcff:4::1,fcff:1::100 dev r8-r6
2222

2323
# Flow 2
2424
# ...
2525

26-
if [ -n "${IPSET_START+x}" ]; then
27-
# Iptables/IPset configuration here
26+
# if [ -n "${IPSET_START+x}" ]; then
27+
# # Iptables/IPset configuration here
2828

29-
# For each color we add the flow to monitor
30-
ipset -A ${RED_HT_OUT} fcff:4::1,fcff:1::100
31-
ipset -A ${BLUE_HT_OUT} fcff:4::1,fcff:1::100
32-
fi
29+
# # For each color we add the flow to monitor
30+
# ipset -A ${RED_HT_OUT} fcff:4::1,fcff:1::100
31+
# ipset -A ${BLUE_HT_OUT} fcff:4::1,fcff:1::100
32+
# fi
3333

34-
if [ -n "${EBPF_START+x}" ]; then
35-
xdp_pfplm_add_flow r8-r6 egr fcff:4::1,fcff:1::100
36-
fi
34+
# if [ -n "${EBPF_START+x}" ]; then
35+
# xdp_pfplm_add_flow r8-r6 egr fcff:4::1,fcff:1::100
36+
# fi
3737

3838
# +-----------------+
3939
# | Ingress |
4040
# +-----------------+
4141

4242
# Flow1
4343
# SRv6 reverse path decap route
44-
ip -6 route add fcff:8::100 encap \
45-
seg6local action End.DX6 nh6 fd00:0:81::2 dev r8-h81
44+
# ip -6 route add fcff:8::100 encap \
45+
# seg6local action End.DX6 nh6 fd00:0:81::2 dev r8-h81
4646

4747
# Flow2
4848
# ...
4949

5050

51-
if [ -n "${IPSET_START+x}" ]; then
52-
# Iptables/IPset configuration here
51+
# if [ -n "${IPSET_START+x}" ]; then
52+
# # Iptables/IPset configuration here
5353

54-
# For each color we add the flow to monitor
55-
ipset -A ${RED_HT_IN} fcff:4::1,fcff:8::100
56-
ipset -A ${BLUE_HT_IN} fcff:4::1,fcff:8::100
57-
fi
54+
# # For each color we add the flow to monitor
55+
# ipset -A ${RED_HT_IN} fcff:4::1,fcff:8::100
56+
# ipset -A ${BLUE_HT_IN} fcff:4::1,fcff:8::100
57+
# fi
5858

59-
if [ -n "${EBPF_START+x}" ]; then
60-
xdp_pfplm_add_flow r8-r6 igr fcff:4::1,fcff:8::100
61-
fi
59+
# if [ -n "${EBPF_START+x}" ]; then
60+
# xdp_pfplm_add_flow r8-r6 igr fcff:4::1,fcff:8::100
61+
# fi

0 commit comments

Comments
 (0)