com.cisco.trex.stateless.model.Port Maven / Gradle / Ivy
package com.cisco.trex.stateless.model;
import java.util.List;
public class Port {
public String description;
public String driver;
public String dst_macaddr;
public String hw_mac;
public Integer index;
public Boolean is_fc_supported;
public Boolean is_led_supported;
public Boolean is_link_supported;
public Boolean is_virtual;
public String numa;
public String pci_addr;
public RxStats rx;
public Integer speed;
public String src_macaddr;
public List supp_speeds;
public String getDescription() {
return description;
}
public String getDriver() {
return driver;
}
public String getHwMac() {
return hw_mac;
}
public String getDstMac() {
return dst_macaddr;
}
public int getIndex() {
return index;
}
public List getSupportedSpeeds() {
return supp_speeds;
}
class RxStats {
public Integer counters;
public List caps;
public RxStats(Integer counters, List caps) {
this.counters = counters;
this.caps = caps;
}
}
enum PortCapability {
flow_stats("flow_stats"),
latency("latency"),
rx_bytes("rx_bytes");
String capName;
PortCapability(String capName) {
this.capName = capName;
}
}
}