blob: 9f02135b85c8b54f445a083bde2f9d66d00a413f [file] [log] [blame]
package net.onrc.onos.core.matchaction.action;
import net.floodlightcontroller.core.IOF13Switch.NeighborSet;
import net.onrc.onos.core.util.Dpid;
public class GroupAction implements Action {
NeighborSet fwdSws;
int groupId;
public GroupAction() {
fwdSws = new NeighborSet();
}
public void addSwitch(Dpid d) {
fwdSws.addDpid(d);
}
public void setEdgeLabel(int edgeLabel) {
fwdSws.setEdgeLabel(edgeLabel);
}
public NeighborSet getDpids() {
return fwdSws;
}
public void setGroupId(int id) {
this.groupId = id;
}
public int getGroupId() {
return this.groupId;
}
}