mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-16 01:41:26 +02:00
Fixed allocations command to print Bandwidth allocations.
Change-Id: Iaeb67266a22b1ef0a13133845c4c6626116e26f0
This commit is contained in:
parent
0b92073bab
commit
d7654d4851
@ -30,6 +30,7 @@ import org.apache.karaf.shell.commands.Command;
|
||||
import org.apache.karaf.shell.commands.Option;
|
||||
import org.onlab.packet.MplsLabel;
|
||||
import org.onlab.packet.VlanId;
|
||||
import org.onlab.util.Bandwidth;
|
||||
import org.onosproject.cli.AbstractShellCommand;
|
||||
import org.onosproject.net.Device;
|
||||
import org.onosproject.net.DeviceId;
|
||||
@ -134,6 +135,7 @@ public class AllocationsCommand extends AbstractShellCommand {
|
||||
.add(OchSignal.class)
|
||||
.add(VlanId.class)
|
||||
.add(MplsLabel.class)
|
||||
.add(Bandwidth.class)
|
||||
.build();
|
||||
|
||||
DiscreteResourceId resourceId = Resources.discrete(did, num).id();
|
||||
|
Loading…
x
Reference in New Issue
Block a user