blob: a25d4dea4c5e1bb82608a8ee04a8e02b0c6a6a13 [file] [log] [blame]
package net.onrc.onos.apps.segmentrouting.web;
import java.util.ArrayList;
import java.util.HashMap;
import net.onrc.onos.core.topology.Port;
/**
* This class represent the the port info of the segmentRouter
* for rest output.
*/
public class SegmentRouterPortInfo {
//TODO set attributes to private and provide setter and getter.
public String subnetIp= null;
//private int portNo;
public Port port = null;
public SegmentRouterPortInfo(String ssubnets, Port pport){
this.port = pport;
//this.portNo = portNo;
this.subnetIp = ssubnets;
}
public void setInfo(String subnetIp, Port p) {
this.port = p;
this.subnetIp = subnetIp;
}
}