chore(xo-server-sdn-controller): better name for port & iface in OVS (#4451)

This commit is contained in:
BenjiReis
2019-08-27 09:03:55 +02:00
committed by Julien Fontanet
parent ee9cc05ae0
commit a4b32f3cb7

View File

@@ -82,8 +82,8 @@ export class OvsdbClient {
return bridgeName
}
const interfaceName = 'tunnel_iface' + index
const portName = 'tunnel_port' + index
const interfaceName = bridgeName + '_iface' + index
const portName = bridgeName + '_port' + index
// Add interface and port to the bridge
const options = ['map', [['remote_ip', remoteAddress], ['key', key]]]