-
Notifications
You must be signed in to change notification settings - Fork 390
/
egress-flow.xml
145 lines (134 loc) · 6.68 KB
/
egress-flow.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<?xml version="1.0"?>
<test_suite name="pkt-parse">
<test name="vrf-vn-1" verbose="0">
<virtual-network uuid="1" name="vn1" vxlan-id="2" network-id="2"/>
<virtual-machine uuid="1" name="vm1"/>
<vrf uuid="1" name="vrf1" />
<vmi-vrf uuid="1" name="tap1-vm1" />
<link left="virtual-network" left-name="vn1"
right="routing-instance" right-name="vrf1" />
<virtual-machine-interface nova="1"
uuid="1" name="tap1" mac="00:00:00:00:01:01" vn-name="vn1" vn-uuid="1"
vm-name="vm1" vm-uuid="1" vrf="vrf1" ip="1.1.1.1"
/>
<validate name="validate-1">
<virtual-network name="vn1" uuid="1" present="1" />
<virtual-machine-interface name="tap1" uuid="1" present="1" active="1" />
<virtual-machine name="vm1" uuid="1" present="1"/>
</validate>
<packet uuid="1" id="1" name="l2-udp-from-fabric" intf="1" fwd_mode="l2"
tunnel_type="vxlan" tunnel_sip="10.10.10.10"
smac="00:00:00:00:01:02" dmac="00:00:00:00:01:01"
sip="1.1.1.2" dip="1.1.1.1" proto="udp" sport="1" dport="1"
type="flow" />
<packet uuid="1" id="1" name="l2-udp-from-fabric" intf="1" fwd_mode="l2"
tunnel_type="gre" tunnel_sip="10.10.10.10"
smac="00:00:00:00:01:02" dmac="00:00:00:00:01:01"
sip="1.1.1.2" dip="1.1.1.1" proto="udp" sport="1" dport="2"
type="flow" />
<packet uuid="1" id="1" name="l3-udp-to-vm" intf="1" fwd_mode="l3"
tunnel_type="gre" tunnel_sip="10.10.10.10"
smac="00:00:00:00:01:02" dmac="00:00:00:00:01:01"
sip="1.1.1.2" dip="1.1.1.1" proto="udp" sport="1" dport="3"
type="flow" />
<validate name="validate-2">
<flow name="l2-vxlan-udp-to-vm-vxlan-1" uuid="1" vrf="vrf1" nh="11" sip="1.1.1.2"
dip="1.1.1.1" proto="udp" sport="1" dport="1" svn="__UNKNOWN__"
dvn="vn1" action="deny"/>
<flow name="l2-gre-udp-to-vm-gre-1" uuid="1" vrf="vrf1" nh="14" sip="1.1.1.2"
dip="1.1.1.1" proto="udp" sport="1" dport="2" svn="__UNKNOWN__"
dvn="vn1" action="deny"/>
<flow name="l3-gre-udp-to-vm-1" uuid="1" vrf="vrf1" nh="15" sip="1.1.1.2"
dip="1.1.1.1" proto="udp" sport="1" dport="3" svn="__UNKNOWN__"
dvn="vn1" action="deny"/>
</validate>
<virtual-machine uuid="2" name="vm2"/>
<virtual-machine-interface nova="1"
uuid="2" name="tap2" mac="00:00:00:00:01:02" vn-name="vn1" vn-uuid="1"
vm-name="vm2" vm-uuid="2" vrf="vrf1" ip="1.1.1.2"
/>
<vmi-vrf uuid="1" name="tap2-vm2" />
<validate name="validate-3">
<virtual-machine name="vm2" uuid="2" present="1"/>
<virtual-machine-interface name="tap2" uuid="2" present="1" active="1" />
</validate>
<packet uuid="1" id="1" name="l2-udp-from-fabric" intf="1" fwd_mode="l2"
tunnel_type="vxlan" tunnel_sip="10.10.10.10"
smac="00:00:00:00:01:02" dmac="00:00:00:00:01:01"
sip="1.1.1.2" dip="1.1.1.1" proto="udp" sport="1" dport="11"
type="flow" />
<packet uuid="1" id="1" name="l2-udp-from-fabric" intf="1" fwd_mode="l2"
tunnel_type="gre" tunnel_sip="10.10.10.10"
smac="00:00:00:00:01:02" dmac="00:00:00:00:01:01"
sip="1.1.1.2" dip="1.1.1.1" proto="udp" sport="1" dport="12"
type="flow" />
<packet uuid="1" id="1" name="l3-udp-to-vm" intf="1" fwd_mode="l3"
tunnel_type="gre" tunnel_sip="10.10.10.10"
smac="00:00:00:00:01:02" dmac="00:00:00:00:01:01"
sip="1.1.1.2" dip="1.1.1.1" proto="udp" sport="1" dport="13"
type="flow" />
<validate name="validate-4">
<flow name="l2-udp-to-vm-vxlan-1" uuid="1" vrf="vrf1" nh="11" sip="1.1.1.2"
dip="1.1.1.1" proto="udp" sport="1" dport="11" svn="vn1"
dvn="vn1" action="pass"/>
<flow name="l2-udp-to-vm-gre-1" uuid="1" vrf="vrf1" nh="14" sip="1.1.1.2"
dip="1.1.1.1" proto="udp" sport="1" dport="12" svn="vn1"
dvn="vn1" action="pass"/>
<flow name="l3-udp-to-vm-1" uuid="1" vrf="vrf1" nh="15" sip="1.1.1.2"
dip="1.1.1.1" proto="udp" sport="1" dport="13" svn="vn1"
dvn="vn1" action="pass"/>
</validate>
<virtual-machine-interface nova="1"
uuid="3" name="tap3" mac="00:00:00:00:03:03" vn-name="vn1" vn-uuid="1"
vm-name="vm1" vm-uuid="1" vrf="vrf1" ip="1.1.1.3" fat-flow="53" fat-flow="10"
/>
<vmi-vrf uuid="3" name="tap3-vm1" />
<validate name="validate-5">
<virtual-machine-interface name="tap3" uuid="3" present="1" active="1" />
</validate>
<packet uuid="1" id="1" name="l2-udp-from-fat-flow-fabric" intf="3" fwd_mode="l2"
tunnel_type="gre" tunnel_sip="10.10.10.10"
smac="00:00:00:00:01:02" dmac="00:00:00:00:03:03"
sip="1.1.1.2" dip="1.1.1.3" proto="udp" sport="1000" dport="53"
type="flow" />
<packet uuid="1" id="1" name="l2-udp-from-fat-flow-fabric" intf="3" fwd_mode="l2"
tunnel_type="gre" tunnel_sip="10.10.10.10"
smac="00:00:00:00:01:02" dmac="00:00:00:00:03:03"
sip="1.1.1.2" dip="1.1.1.3" proto="udp" sport="10" dport="53"
type="flow" />
<validate name="validate-6">
<flow name="l3-udp-to-fat-flow-1" uuid="1" vrf="vrf1" nh="25" sip="1.1.1.3"
dip="1.1.1.2" proto="udp" sport="53" dport="0" svn="vn1"
dvn="vn1" action="pass"/>
<flow name="l3-udp-to-fat-flow-2" uuid="1" vrf="vrf1" nh="18" sip="1.1.1.2"
dip="1.1.1.3" proto="udp" sport="0" dport="53" svn="vn1"
dvn="vn1" action="pass"/>
<flow name="l3-udp-to-fat-flow-1" uuid="1" vrf="vrf1" nh="25" sip="1.1.1.3"
dip="1.1.1.2" proto="udp" sport="0" dport="10" svn="vn1"
dvn="vn1" action="pass"/>
<flow name="l3-udp-to-fat-flow-2" uuid="1" vrf="vrf1" nh="18" sip="1.1.1.2"
dip="1.1.1.3" proto="udp" sport="10" dport="0" svn="vn1"
dvn="vn1" action="pass"/>
</validate>
<virtual-machine-interface delete="1" nova="1"
uuid="3" name="tap3" mac="00:00:00:00:03:03" vn-name="vn1" vn-uuid="1"
vm-name="vm1" vm-uuid="1" vrf="vrf1" ip="1.1.1.3" fat-flow="53"
/>
<vmi-vrf delete="1" uuid="3" name="tap3-vm1" />
<virtual-machine-interface delete="1" nova="1"
uuid="1" name="tap1" mac="00:00:00:00:00:01" vn-name="vn1" vn-uuid="1"
vm-name="vm1" vm-uuid="1" vrf="vrf1" ip="1.1.1.1"
/>
<virtual-machine-interface delete="1" nova="1"
uuid="2" name="tap2" mac="00:00:00:00:01:02" vn-name="vn1" vn-uuid="1"
vm-name="vm2" vm-uuid="2" vrf="vrf1" ip="1.1.1.2"
/>
<link left="virtual-network" left-name="vn1"
right="routing-instance" right-name="vrf1" delete="1"/>
<virtual-network delete="1" uuid="1" name="vn1"/>
<virtual-machine delete="1" uuid="1" name="vm1"/>
<virtual-machine delete="1" uuid="2" name="vm2"/>
<vmi-vrf delete="1" uuid="1" name="tap1-vm1" />
<vrf delete="1" uuid="1" name="vrf1" />
</test>
</test_suite>