mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-17 10:21:52 +02:00
[ONOS-1381] SHowing more details for optical intents
Change-Id: Ia08ec789c72d85e01dbc776ede13ec1a3689e337
This commit is contained in:
parent
59b549de61
commit
449e63cd25
@ -538,12 +538,18 @@ public class IntentsListCommand extends AbstractShellCommand {
|
||||
} else if (intent instanceof OpticalCircuitIntent) {
|
||||
OpticalCircuitIntent ci = (OpticalCircuitIntent) intent;
|
||||
builder.append('\n').append(format("src=%s, dst=%s", ci.getSrc(), ci.getDst()));
|
||||
builder.append('\n').append(format("signal type=%s", ci.getSignalType()));
|
||||
builder.append('\n').append(format("bidirectional=%s", ci.isBidirectional()));
|
||||
} else if (intent instanceof OpticalConnectivityIntent) {
|
||||
OpticalConnectivityIntent ci = (OpticalConnectivityIntent) intent;
|
||||
builder.append('\n').append(format("src=%s, dst=%s", ci.getSrc(), ci.getDst()));
|
||||
builder.append('\n').append(format("signal type=%s", ci.getSignalType()));
|
||||
builder.append('\n').append(format("bidirectional=%s", ci.isBidirectional()));
|
||||
} else if (intent instanceof OpticalOduIntent) {
|
||||
OpticalOduIntent ci = (OpticalOduIntent) intent;
|
||||
builder.append('\n').append(format("src=%s, dst=%s", ci.getSrc(), ci.getDst()));
|
||||
builder.append('\n').append(format("signal type=%s", ci.getSignalType()));
|
||||
builder.append('\n').append(format("bidirectional=%s", ci.isBidirectional()));
|
||||
}
|
||||
|
||||
List<Intent> installable = service.getInstallableIntents(intent.key());
|
||||
|
Loading…
x
Reference in New Issue
Block a user