Fahad Naeem Khan | d1ac370 | 2014-10-22 15:59:31 -0700 | [diff] [blame] | 1 | package net.onrc.onos.apps.segmentrouting.web; |
| 2 | |
| 3 | import java.util.HashMap; |
| 4 | import java.util.List; |
| 5 | |
| 6 | /** |
| 7 | * Contain the adjacency port info, which is exposed to REST |
| 8 | * |
| 9 | */ |
| 10 | |
| 11 | public class SegmentRouterAdjacencyInfo { |
| 12 | private Integer adjacencySid =null; |
| 13 | private List<Integer> ports = null; |
| 14 | |
| 15 | public SegmentRouterAdjacencyInfo(Integer adj, List<Integer> pList){ |
| 16 | this.adjacencySid = adj; |
| 17 | this.ports = pList; |
| 18 | } |
| 19 | |
| 20 | public Integer getAdjacencySid(){ |
| 21 | return this.adjacencySid; |
| 22 | } |
| 23 | public List<Integer> getPorts(){ |
| 24 | return this.ports; |
| 25 | } |
| 26 | } |