Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
tssurya committed Dec 6, 2021
1 parent b6315f9 commit cfe1bf8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/network/ovn_kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,14 @@ func renderOVNKubernetes(conf *operv1.NetworkSpec, bootstrapResult *bootstrap.Bo
}

if c.GatewayConfig != nil {
klog.Infof("SURYA %v", c.GatewayConfig)
if c.GatewayConfig.RoutingViaHost {
data.Data["OVN_GATEWAY_MODE"] = OVN_LOCAL_GW_MODE
} else {
data.Data["OVN_GATEWAY_MODE"] = OVN_SHARED_GW_MODE
}
} else {
klog.Infof("SURYA %v", c.GatewayConfig)
}

exportNetworkFlows := conf.ExportNetworkFlows
Expand Down

0 comments on commit cfe1bf8

Please sign in to comment.