@@ -16,6 +16,13 @@ Get information about the logical switches and routers by running `network-tools
16
16
17
17
.Procedure
18
18
19
+ . Open a remote shell into a pod by running the following command:
20
+ +
21
+ [source,terminal]
22
+ ----
23
+ $ oc rsh -n openshift-ovn-kubernetes ovnkube-node-2hsbt
24
+ ----
25
+
19
26
. List the routers by running the following command:
20
27
+
21
28
[source,terminal]
@@ -27,13 +34,8 @@ $ ./debug-scripts/network-tools ovn-db-run-command ovn-nbctl lr-list
27
34
+
28
35
[source,terminal]
29
36
----
30
- Leader pod is ovnkube-master-vslqm
31
- 5351ddd1-f181-4e77-afc6-b48b0a9df953 (GR_helix13.lab.eng.tlv2.redhat.com)
32
- ccf9349e-1948-4df8-954e-39fb0c2d4d06 (GR_helix14.lab.eng.tlv2.redhat.com)
33
- e426b918-75a8-4220-9e76-20b7758f92b7 (GR_hlxcl7-master-0.hlxcl7.lab.eng.tlv2.redhat.com)
34
- dded77c8-0cc3-4b99-8420-56cd2ae6a840 (GR_hlxcl7-master-1.hlxcl7.lab.eng.tlv2.redhat.com)
35
- 4f6747e6-e7ba-4e0c-8dcd-94c8efa51798 (GR_hlxcl7-master-2.hlxcl7.lab.eng.tlv2.redhat.com)
36
- 52232654-336e-4952-98b9-0b8601e370b4 (ovn_cluster_router)
37
+ 944a7b53-7948-4ad2-a494-82b55eeccf87 (GR_ci-ln-54932yb-72292-kd676-worker-c-rzj99)
38
+ 84bd4a4c-4b0b-4a47-b0cf-a2c32709fc53 (ovn_cluster_router)
37
39
----
38
40
39
41
. List the localnet ports by running the following command:
@@ -48,41 +50,18 @@ ovn-sbctl find Port_Binding type=localnet
48
50
+
49
51
[source,terminal]
50
52
----
51
- Leader pod is ovnkube-master-vslqm
52
- _uuid : 3de79191-cca8-4c28-be5a-a228f0f9ebfc
53
+ _uuid : d05298f5-805b-4838-9224-1211afc2f199
53
54
additional_chassis : []
54
55
additional_encap : []
55
56
chassis : []
56
- datapath : 3f1a4928-7ff5-471f-9092-fe5f5c67d15c
57
+ datapath : f3c2c959-743b-4037-854d-26627902597c
57
58
encap : []
58
59
external_ids : {}
59
60
gateway_chassis : []
60
61
ha_chassis_group : []
61
- logical_port : br-ex_helix13.lab.eng.tlv2.redhat.com
62
- mac : [unknown]
63
- nat_addresses : []
64
- options : {network_name=physnet}
65
- parent_port : []
66
- port_security : []
67
- requested_additional_chassis: []
68
- requested_chassis : []
69
- tag : []
70
- tunnel_key : 2
71
- type : localnet
72
- up : false
73
- virtual_parent : []
74
-
75
- _uuid : dbe21daf-9594-4849-b8f0-5efbfa09a455
76
- additional_chassis : []
77
- additional_encap : []
78
- chassis : []
79
- datapath : db2a6067-fe7c-4d11-95a7-ff2321329e11
80
- encap : []
81
- external_ids : {}
82
- gateway_chassis : []
83
- ha_chassis_group : []
84
- logical_port : br-ex_hlxcl7-master-2.hlxcl7.lab.eng.tlv2.redhat.com
62
+ logical_port : br-ex_ci-ln-54932yb-72292-kd676-worker-c-rzj99
85
63
mac : [unknown]
64
+ mirror_rules : []
86
65
nat_addresses : []
87
66
options : {network_name=physnet}
88
67
parent_port : []
@@ -110,20 +89,20 @@ ovn-sbctl find Port_Binding type=l3gateway
110
89
+
111
90
[source,terminal]
112
91
----
113
- Leader pod is ovnkube-master-vslqm
114
- _uuid : 9314dc80-39e1-4af7-9cc0-ae8a9708ed59
92
+ _uuid : 5207a1f3-1cf3-42f1-83e9-387bbb06b03c
115
93
additional_chassis : []
116
94
additional_encap : []
117
- chassis : 336a923d-99e8-4e71-89a6-12564fde5760
118
- datapath : db2a6067-fe7c-4d11-95a7-ff2321329e11
95
+ chassis : ca6eb600-3a10-4372-a83e-e0d957c4cd92
96
+ datapath : f3c2c959-743b-4037-854d-26627902597c
119
97
encap : []
120
98
external_ids : {}
121
99
gateway_chassis : []
122
100
ha_chassis_group : []
123
- logical_port : etor-GR_hlxcl7-master-2.hlxcl7.lab.eng.tlv2.redhat.com
124
- mac : ["52:54:00:3e:95:d3"]
125
- nat_addresses : ["52:54:00:3e:95:d3 10.46.56.77"]
126
- options : {l3gateway-chassis="7eb1f1c3-87c2-4f68-8e89-60f5ca810971", peer=rtoe-GR_hlxcl7-master-2.hlxcl7.lab.eng.tlv2.redhat.com}
101
+ logical_port : etor-GR_ci-ln-54932yb-72292-kd676-worker-c-rzj99
102
+ mac : ["42:01:0a:00:80:04"]
103
+ mirror_rules : []
104
+ nat_addresses : ["42:01:0a:00:80:04 10.0.128.4"]
105
+ options : {l3gateway-chassis="84737c36-b383-4c83-92c5-2bd5b3c7e772", peer=rtoe-GR_ci-ln-54932yb-72292-kd676-worker-c-rzj99}
127
106
parent_port : []
128
107
port_security : []
129
108
requested_additional_chassis: []
@@ -134,25 +113,26 @@ type : l3gateway
134
113
up : true
135
114
virtual_parent : []
136
115
137
- _uuid : ad7eb303-b411-4e9f-8d36-d07f1f268e27
116
+ _uuid : 6088d647-84f2-43f2-b53f-c9d379042679
138
117
additional_chassis : []
139
118
additional_encap : []
140
- chassis : f41453b8-29c5-4f39-b86b-e82cf344bce4
141
- datapath : 082e7a60-d9c7-464b-b6ec-117d3426645a
119
+ chassis : ca6eb600-3a10-4372-a83e-e0d957c4cd92
120
+ datapath : dc9cea00-d94a-41b8-bdb0-89d42d13aa2e
142
121
encap : []
143
122
external_ids : {}
144
123
gateway_chassis : []
145
124
ha_chassis_group : []
146
- logical_port : etor-GR_helix14.lab.eng.tlv2.redhat.com
147
- mac : ["34:48:ed:f3:e2:2c"]
148
- nat_addresses : ["34:48:ed:f3:e2:2c 10.46.56.14"]
149
- options : {l3gateway-chassis="2e8abe3a-cb94-4593-9037-f5f9596325e2", peer=rtoe-GR_helix14.lab.eng.tlv2.redhat.com}
125
+ logical_port : jtor-GR_ci-ln-54932yb-72292-kd676-worker-c-rzj99
126
+ mac : [router]
127
+ mirror_rules : []
128
+ nat_addresses : []
129
+ options : {l3gateway-chassis="84737c36-b383-4c83-92c5-2bd5b3c7e772", peer=rtoj-GR_ci-ln-54932yb-72292-kd676-worker-c-rzj99}
150
130
parent_port : []
151
131
port_security : []
152
132
requested_additional_chassis: []
153
133
requested_chassis : []
154
134
tag : []
155
- tunnel_key : 1
135
+ tunnel_key : 2
156
136
type : l3gateway
157
137
up : true
158
138
virtual_parent : []
@@ -172,52 +152,52 @@ ovn-sbctl find Port_Binding type=patch
172
152
+
173
153
[source,terminal]
174
154
----
175
- Leader pod is ovnkube-master-vslqm
176
- _uuid : c48b1380-ff26-4965-a644-6bd5b5946c61
155
+ _uuid : 785fb8b6-ee5a-4792-a415-5b1cb855dac2
177
156
additional_chassis : []
178
157
additional_encap : []
179
158
chassis : []
180
- datapath : 72734d65-fae1-4bd9-a1ee-1bf4e085a060
159
+ datapath : f1ddd1cc-dc0d-43b4-90ca-12651305acec
181
160
encap : []
182
161
external_ids : {}
183
162
gateway_chassis : []
184
163
ha_chassis_group : []
185
- logical_port : jtor-ovn_cluster_router
164
+ logical_port : stor-ci-ln-54932yb-72292-kd676-worker-c-rzj99
186
165
mac : [router]
187
- nat_addresses : []
188
- options : {peer=rtoj-ovn_cluster_router}
166
+ mirror_rules : []
167
+ nat_addresses : ["0a:58:0a:80:02:01 10.128.2.1 is_chassis_resident(\"cr-rtos-ci-ln-54932yb-72292-kd676-worker-c-rzj99\")"]
168
+ options : {peer=rtos-ci-ln-54932yb-72292-kd676-worker-c-rzj99}
189
169
parent_port : []
190
170
port_security : []
191
171
requested_additional_chassis: []
192
172
requested_chassis : []
193
173
tag : []
194
- tunnel_key : 4
174
+ tunnel_key : 1
195
175
type : patch
196
176
up : false
197
177
virtual_parent : []
198
178
199
- _uuid : 5df51302-f3cd-415b-a059-ac24389938f7
179
+ _uuid : c01ff587-21a5-40b4-8244-4cd0425e5d9a
200
180
additional_chassis : []
201
181
additional_encap : []
202
182
chassis : []
203
- datapath : 0551c90f-e891-4909-8e9e-acc7909e06d0
183
+ datapath : f6795586-bf92-4f84-9222-efe4ac6a7734
204
184
encap : []
205
185
external_ids : {}
206
186
gateway_chassis : []
207
187
ha_chassis_group : []
208
- logical_port : rtos-hlxcl7-master-1.hlxcl7.lab.eng.tlv2.redhat.com
209
- mac : ["0a:58:0a:82:00:01 10.130.0.1/23"]
188
+ logical_port : rtoj-ovn_cluster_router
189
+ mac : ["0a:58:64:40:00:01 100.64.0.1/16"]
190
+ mirror_rules : []
210
191
nat_addresses : []
211
- options : {chassis-redirect-port=cr-rtos-hlxcl7-master-1.hlxcl7.lab.eng.tlv2.redhat.com, peer=stor-hlxcl7-master-1.hlxcl7.lab.eng.tlv2.redhat.com }
192
+ options : {peer=jtor-ovn_cluster_router }
212
193
parent_port : []
213
194
port_security : []
214
195
requested_additional_chassis: []
215
196
requested_chassis : []
216
197
tag : []
217
- tunnel_key : 4
198
+ tunnel_key : 1
218
199
type : patch
219
200
up : false
220
201
virtual_parent : []
221
-
222
202
[...]
223
203
----
0 commit comments