File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
src/main/java/com/cisco/trex/stateless/model Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,30 @@ public class Port {
1919 public String src_macaddr ;
2020 public List <Integer > supp_speeds ;
2121
22+ public String getDescription () {
23+ return description ;
24+ }
25+
26+ public String getDriver () {
27+ return driver ;
28+ }
29+
30+ public String getHwMac () {
31+ return hw_mac ;
32+ }
33+
34+ public String getDstMac () {
35+ return dst_macaddr ;
36+ }
37+
2238 public int getIndex () {
2339 return index ;
2440 }
2541
42+ public List <Integer > getSupportedSpeeds () {
43+ return supp_speeds ;
44+ }
45+
2646 class RxStats {
2747 public Integer counters ;
2848 public List <PortCapability > caps ;
Original file line number Diff line number Diff line change @@ -28,4 +28,24 @@ public SystemInfo(
2828 public List <Port > getPorts () {
2929 return ports ;
3030 }
31+
32+ public String getCoreType () {
33+ return core_type ;
34+ }
35+
36+ public String getHostname () {
37+ return hostname ;
38+ }
39+
40+ public int getCoreCount () {
41+ return dp_core_count ;
42+ }
43+
44+ public int getCoreCountPerPort () {
45+ return dp_core_count_per_port ;
46+ }
47+
48+ public int getPortCount () {
49+ return port_count ;
50+ }
3151}
You can’t perform that action at this time.
0 commit comments