File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,8 @@ trace(){
242
242
if [ -z " $dstMac " ]; then
243
243
vlan=$( kubectl get subnet " $ls " -o jsonpath={.spec.vlan})
244
244
logicalGateway=$( kubectl get subnet " $ls " -o jsonpath={.spec.logicalGateway})
245
- if [ ! -z " $vlan " -a " $logicalGateway " != " true" ]; then
245
+ u2oIC=$( kubectl get subnet " $ls " -o jsonpath={.spec.u2oInterconnection})
246
+ if [ ! -z " $vlan " -a " $logicalGateway " != " true" -a " $u2oIC " != " true" ]; then
246
247
gateway=$( kubectl get subnet " $ls " -o jsonpath={.spec.gateway})
247
248
if [[ " $gateway " =~ .* ,.* ]]; then
248
249
if [ " $af " = " 4" ]; then
@@ -288,7 +289,7 @@ trace(){
288
289
if [ -z " $lr " ]; then
289
290
lr=$( kubectl get subnet " $ls " -o jsonpath={.spec.vpc})
290
291
fi
291
- dstMac=$( kubectl exec $OVN_NB_POD -n $KUBE_OVN_NS -c ovn-central -- ovn-nbctl --data=bare --no-heading --columns=mac find logical_router_port name=" $lr " - " $ls " | tr -d ' \r' )
292
+ dstMac=$( kubectl exec $OVN_NB_POD -n $KUBE_OVN_NS -c ovn-central -- ovn-nbctl --data=bare --no-heading --columns=mac find logical_router_port name=" $lr - $ls " | tr -d ' \r' )
292
293
fi
293
294
fi
294
295
You can’t perform that action at this time.
0 commit comments