package net.onrc.onos.apps.segmentrouting.web; import net.onrc.onos.core.matchaction.match.PacketMatch; /** * Contains the policies info of the segment router that * are exposed, through REST API * */ public class SegmentRouterPolicyInfo { private String policyId; private String policyType; private int priority; private String tunnelId = null; private PacketMatch match; public SegmentRouterPolicyInfo(String Id,String type,String tunnelUsed, int ppriority,PacketMatch flowEntries){ this.policyId = Id; this.policyType = type; this.tunnelId =tunnelUsed; this.priority = ppriority; this.match = flowEntries; } public String getPolicyId(){ return this.policyId; } public String getPolicyType(){ return this.policyType; } public String getTunnelId(){ return this.tunnelId; } public int getPriority(){ return this.priority; } public PacketMatch getMatch(){ return this.match; } }