blob: ba0c86682748e157592ef4da3461c1e662cbe9ee [file] [log] [blame]
Sangho Shin8a759742014-09-25 14:31:18 -07001package net.onrc.onos.core.matchaction.action;
2
3import java.util.ArrayList;
4import java.util.List;
5
6import net.onrc.onos.core.util.Dpid;
7
8public class GroupAction implements Action {
9 List<Dpid> fwdSws;
10
11 public GroupAction() {
12 fwdSws = new ArrayList<Dpid>();
13 }
14
15 public void AddSwitch(Dpid d) {
16 fwdSws.add(d);
17 }
18
19 public List<Dpid> getDpids() {
20 return fwdSws;
21 }
22}