use of org.omecproject.up4.impl.Up4Store in project up4 by omec-project.
the class ReadInternalUp4StoreCommand method doExecute.
@Override
protected void doExecute() {
Up4Service up4Service = get(Up4Service.class);
Up4Store upfStore = get(Up4Store.class);
if (up4Service == null) {
print("Error: Up4Service is null");
return;
}
if (upfStore == null) {
print("Error: FabricUpfStore is null");
return;
}
Set<Ip4Address> bufferUes = upfStore.getBufferUe();
print("bufferFarIds size: " + bufferUes.size());
if (verbose) {
bufferUes.forEach(ue -> print("UEAddress{" + ue.toString() + "}"));
}
}
Aggregations