use of org.ovirt.engine.core.vdsbroker.vdsbroker.LldpReturn in project ovirt-engine by oVirt.
the class JsonRpcVdsServer method getLldp.
@Override
public LldpReturn getLldp(String[] interfaces) {
Map<String, Object> filter = new HashMap<>();
filter.put("devices", interfaces);
JsonRpcRequest request = new RequestBuilder("Host.getLldp").withParameter("filter", filter).build();
Map<String, Object> response = new FutureMap(this.client, request);
return new LldpReturn(response);
}
Aggregations