Committed by
Gerrit Code Review
adding random host to host intent command
Change-Id: Id7e059466a2a1dbb7a117c84c8c4d104f99858ad
Showing
2 changed files
with
8 additions
and
0 deletions
| ... | @@ -74,6 +74,7 @@ public class IntentPushTestCommand extends AbstractShellCommand | ... | @@ -74,6 +74,7 @@ public class IntentPushTestCommand extends AbstractShellCommand |
| 74 | protected void execute() { | 74 | protected void execute() { |
| 75 | service = get(IntentService.class); | 75 | service = get(IntentService.class); |
| 76 | 76 | ||
| 77 | + | ||
| 77 | DeviceId ingressDeviceId = deviceId(getDeviceId(ingressDeviceString)); | 78 | DeviceId ingressDeviceId = deviceId(getDeviceId(ingressDeviceString)); |
| 78 | PortNumber ingressPortNumber = portNumber(getPortNumber(ingressDeviceString)); | 79 | PortNumber ingressPortNumber = portNumber(getPortNumber(ingressDeviceString)); |
| 79 | ConnectPoint ingress = new ConnectPoint(ingressDeviceId, ingressPortNumber); | 80 | ConnectPoint ingress = new ConnectPoint(ingressDeviceId, ingressPortNumber); | ... | ... |
| ... | @@ -170,6 +170,13 @@ | ... | @@ -170,6 +170,13 @@ |
| 170 | </completers> | 170 | </completers> |
| 171 | </command> | 171 | </command> |
| 172 | <command> | 172 | <command> |
| 173 | + <action class="org.onlab.onos.cli.net.RandomIntentCommand"/> | ||
| 174 | + <completers> | ||
| 175 | + <ref component-id="nullCompleter"/> | ||
| 176 | + <null/> | ||
| 177 | + </completers> | ||
| 178 | + </command> | ||
| 179 | + <command> | ||
| 173 | <action class="org.onlab.onos.cli.net.ResourceAllocationsCommand"/> | 180 | <action class="org.onlab.onos.cli.net.ResourceAllocationsCommand"/> |
| 174 | <completers> | 181 | <completers> |
| 175 | <ref component-id="connectPointCompleter"/> | 182 | <ref component-id="connectPointCompleter"/> | ... | ... |
-
Please register or login to post a comment