mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
refine ovs plugin, create a separate plugin instead of messing with vmops refine gre tunnel, maintains tunnel in database instead of plugin fix an arp issue cause by overlap vlan range
39 lines
607 B
Java
39 lines
607 B
Java
package com.cloud.network.ovs;
|
|
|
|
import com.cloud.agent.api.Command;
|
|
|
|
public class OvsCreateGreTunnelCommand extends Command {
|
|
String remoteIp;
|
|
String key;
|
|
long from;
|
|
long to;
|
|
|
|
@Override
|
|
public boolean executeInSequence() {
|
|
return true;
|
|
}
|
|
|
|
public OvsCreateGreTunnelCommand(String remoteIp, String key, long from, long to) {
|
|
this.remoteIp = remoteIp;
|
|
this.key = key;
|
|
this.from = from;
|
|
this.to = to;
|
|
}
|
|
|
|
public String getRemoteIp() {
|
|
return remoteIp;
|
|
}
|
|
|
|
public String getKey() {
|
|
return key;
|
|
}
|
|
|
|
public long getFrom() {
|
|
return from;
|
|
}
|
|
|
|
public long getTo() {
|
|
return to;
|
|
}
|
|
}
|