blob: 1c47e743659db4eb84a823ac879e9f77fb4d6f37 [file] [log] [blame]
Fahad Naeem Khand1ac3702014-10-22 15:59:31 -07001package net.onrc.onos.apps.segmentrouting.web;
2
3import java.util.HashMap;
4import java.util.List;
5
6/**
7 * Contain the adjacency port info, which is exposed to REST
8 *
9 */
10
11public 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}