164 Commits

Author SHA1 Message Date
Ray Milkey
356f28abed ONOS-434 - Filter out inactive nodes from the summary information in the CLI
Change-Id: Ifd25005ea2ce2f00555fe6820a7aa2febde2daee
2014-12-08 21:47:36 +00:00
Pavlin Radoslavov
aab51a3c2b Added missing CLI output of HostToHostIntent-specific info
for the "intents" CLI command.

Change-Id: Icb150b570e8b4c0a52186489d408842d4327b387
2014-12-08 11:07:38 -08:00
Brian O'Connor
7f2e9bf19a bumping version to 1.1.0-SNAPSHOT
Change-Id: I35f10fa7ffab12365ad852f5253bc1f395282f9b
2014-12-04 23:45:40 -08:00
Brian O'Connor
5b29ebd309 Bumping version to 1.0.0
Change-Id: I0cdd1f64a9292c91af27b86e89bd8251b2c298f3
2014-12-04 21:54:26 -08:00
alshabib
ab98466b10 adding license to ALL files
Change-Id: I9df3277760d79732317816fe5b2f1f482e9f5375
2014-12-05 05:05:32 +00:00
alshabib
4785eec529 removing some TODOs
Change-Id: Ic98c811573a1b37813993eedddec512ec85729f3
2014-12-05 00:59:35 +00:00
Yuta HIGUCHI
4712e21d96 IntentPushTestCommand: removing space in 'name'
- --help result will uses this text, which looks as if there are multiple
  arguments, when the text includes spaces

Change-Id: I96764cb41bd6ab6c95a5a3838b6a3a42a295f68a
2014-12-04 22:48:59 +00:00
Yuta HIGUCHI
87695b81a3 IntentPushTestCommand: ignore IntentEvent submitted by others
- Note: command must specify non-overlapping appId using
  4th and 5th arguments

Change-Id: I4dcfe57fc1d3de63c47e88d99d647b48ab80d86c
2014-12-04 07:06:56 +00:00
Pavlin Radoslavov
969270591a Changed the generation of MAC addresses when
using the "push-test-intents" CLI command, so each MAC address is unique.

Previously, generating intents for multiple apps would create axactly
same set of intents for each app; this is less common, and probably
not the expected default behavior for this CLI command.

Change-Id: I7813512528954da33e458307fc6a0226a7c478ea
2014-12-04 05:49:23 +00:00
Yuta HIGUCHI
ad4929921c IntentPushTestCommand: attempt to fix negative duration
Change-Id: Ibb09c9079443de536132f492a44769c373531bfa
2014-12-03 14:14:22 -08:00
Yuta HIGUCHI
39cb61cab4 Change summary command output: cluster -> SCC(s)
Change-Id: Iccc9cf002b9ae21a423de59869b18dcda1e46665
2014-12-03 09:56:54 +00:00
Brian O'Connor
abafb50f58 Changing org.onlab.onos package to org.onosproject
Change-Id: Ic81421faa27acdcff045add47d9e0a715cd4f575
2014-12-02 22:26:20 -08:00
Brian O'Connor
03defe7939 Moving org/onlab/onos to org/onosproject
Change-Id: I742627fe0862cac78391cf70010f99dc26dce1e6
2014-12-02 22:22:39 -08:00
Brian O'Connor
ae3e733627 Fixing PushTestIntents command to ignore WITHDRAW_REQ
Change-Id: I5b45c8b0304dbe730830fe4ba8a468a68fe35ab6
2014-12-02 16:04:05 -08:00
Pavlin Radoslavov
67c0514f1f Updated the "intents -s" Intents CLI summary command to print
the intents in the new WITHDRAW_REQ state: "withdrawReq".

Also, renamed "submitted" to "installReq" in the CLI output
to reflect the state renaming.

Change-Id: Ic75179a203ad05a44fae4e43b350835a640e8fb7
2014-12-02 13:04:08 -08:00
Yuta HIGUCHI
23ab0fafda Comment out commands, which we do not support for this release.
Change-Id: Ifb715f8f64ee5c8fb1ffbfac5a7b32f56bc5e62a
2014-12-02 20:48:38 +00:00
Brian O'Connor
7a71d5da7b Added WITHDRAW_REQ Intent State for ONOS-146
Fixed flow removed from other instance

Change-Id: I22c88a447e26770fea8b7e23f4a78b1389077ad1
2014-12-02 00:13:46 -08:00
Madan Jampani
8d21c790ee LeadershipService API change: Using NodeId in place of ControllerNode.
Change-Id: I6f688506c3672977456fc6921b26e98be2239632
2014-12-02 04:55:15 +00:00
alshabib
a9819bfd1f fix intent issues yuta observed
Change-Id: I7dc4a19d49a1b3fc18ecce02a4018cbc9a3043fc
2014-12-02 01:16:09 +00:00
Brian O'Connor
a0d3100306 Updates to push-intent and leaders command.
Change-Id: Id3fd7932002bf90f79a89f796ce44bab8ea74aab
2014-12-01 22:20:09 +00:00
Yuta HIGUCHI
c2bf3d8fb9 IntentManager: use IntentStore batch APIs
Change-Id: Ie60f3e53f48fa6acbcaf5cf6837bdef12b36a98d
2014-12-01 00:26:30 +00:00
Thomas Vachuska
1e68bdd9be Added ability to force mastership re-balancing between instances from the GUI.
Change-Id: I98e56deb3e2b00df630ed85b596c8e35b3d6efab
2014-11-29 13:53:10 -08:00
Thomas Vachuska
3ea690b777 ONOS-365 Excluding intents with state=null from output.
Change-Id: I96555f6c1483e9d744b7d67bae8d4a221a630f5d
2014-11-29 12:39:11 -08:00
Yuta HIGUCHI
82e5326b23 For ONOS-356
- Add current InstallationFuture information on TimeoutException
- Set timeout values propotional to batch size
- Fix for ConcurrentModificationException
- Check if src/dst is part of the graph before path computation

Change-Id: Iabeac7939c52502b83bf9ebcbe2023539de3ae99
2014-11-28 19:00:56 -08:00
Brian O'Connor
72a034c863 Initial implementation of distributed intent batch queue
Change-Id: I7ffed03651569ade1be1e8dca905bfaf369b7e03
2014-11-28 22:42:44 +00:00
Yuta HIGUCHI
f0f2dfc1df tablet-leader command to check current Raft leader
Change-Id: Id360db21988a50c3e2895c5194d59b0ba4cb49e4
2014-11-26 20:54:41 -08:00
Pavlin Radoslavov
deb8a1098d Fix for bug ONOS-330:
Add missing "null" checks for IntentService.getIntentState()

Change-Id: Idd574227636f6cdd3a0dbae4c753ada6157e04e1
2014-11-26 13:32:57 -08:00
Thomas Vachuska
e4b6bb2515 Intents are now removed after being withdrawn.
Change-Id: I7574fe94add00abf58c71c6122bb3dc5aafa0f79
2014-11-26 04:31:14 +00:00
Thomas Vachuska
5bde31ffec Fixing various issues and re-tuning.
Change-Id: I8822fcf77cfa507788241c5bda98ef4741b284b4
2014-11-26 00:25:14 +00:00
Yuta HIGUCHI
e83cce7dc4 BalanceMastersCommand: Fix type mismatch
Change-Id: If6bbe8d16d70b937250e243e7ac8617b0e971543
2014-11-24 23:06:40 -08:00
Yuta HIGUCHI
963c656723 IntentPushTestCommand: stop logging SUBMITTED
Change-Id: If316f9403bd252b54bc070dd207cf07efaa30ca1
2014-11-25 05:10:58 +00:00
Thomas Vachuska
e02e11cbc5 Fixing issues on GUI server side. Adding command to balance mastership. Messing with color scheme per feedback.
Change-Id: I89fb52105f7e724167a417e033048e9c88f31eae
2014-11-24 16:27:40 -08:00
Yuta HIGUCHI
6a46283219 metrics command to dump all the Metric in the system.
- Add probe to measure the time spent querying for Mastership.

Change-Id: I48fe37568a3261ee5b6229a3884e42a3a741b407
2014-11-24 08:32:19 -08:00
Michele Santuari
4a33807957 SinglePoint to MultiPoint Intent initial implementation
Change-Id: I1010997ce4ea993ae34afb8dab4b6c0ae112448d
2014-11-23 18:09:11 -08:00
Thomas Vachuska
47635c6ead ONOS-293 Added summary pane and related keyboard shortcuts; also tweaked key help sizes and dropped instances toggle from mast. Fixed ONOS-295 bug.
Change-Id: I694901957451cf88df06e6fca3a8d71de144f68e
2014-11-22 02:30:35 -08:00
Brian O'Connor
7368cd074c actually adding randomintentcommand.java
Change-Id: Ic156b8553be3417e0b7f4b27a85fcd503efe55b8
2014-11-19 22:45:13 -08:00
Brian O'Connor
6741a5fdff adding random host to host intent command
Change-Id: Id7e059466a2a1dbb7a117c84c8c4d104f99858ad
2014-11-19 20:58:43 -08:00
Brian O'Connor
510132a8cd changing intent push test to also remove intents
Change-Id: Iaf90c8822d76f7bc1cb24c25613ba8e9a7934176
2014-11-19 16:01:41 -08:00
Thomas Vachuska
33601601f3 Added ability to remove host by CLI and by the provider on device/port down events.
Change-Id: I28de4b6b5bbfb5a00f35e1808bcd916369d7d1a4
2014-11-19 15:04:43 -08:00
Jonathan Hart
6e9482887a Added CLI completion for IP protocol types.
Also modified IpProto and EthType field parsing to allow the user to supply
either a string value (e.g. "ICMP", "ARP") or the protocol number.

Change-Id: I8f19bebe53c2a7dbdc7570fdc08f979b2c0851cb
2014-11-18 11:08:35 -08:00
Jonathan Hart
2c25e3681c Moved CLI options for rewrite actions up to ConnectivityIntentCommand so they
can be used by all connectivity intent commands.

Change-Id: I6cd6b05423479d53313c92491ab636ebd58def43
2014-11-17 18:14:19 -08:00
Jonathan Hart
5dfa43f4b9 Fixed bug taking dst TCP port argument from CLI
Change-Id: Iafc1ea6bf300321a982e529f2770e450f216b961
2014-11-17 16:38:19 -08:00
Brian O'Connor
fa81eaef06 Refactored intent framework to deal with batches.
There is still work to be done, but for now, submit, withdraw and reroute are working.

Change-Id: Ib94cf8c4be03786cc070f402d1f296f5dfa6588b
2014-11-17 14:46:09 -08:00
Thomas Vachuska
e4cebafa19 Adding support for link state to GUI.
Change-Id: I6476cf04810f7bc7e88af629a36ce671b42748d0
2014-11-15 18:58:41 -08:00
Yuta HIGUCHI
6b38ee3533 Minor fixes
- Format string fix
- FlowRuleEventTest: minor bugfix
- HexString: accept null
- byte[] toString() format change

Change-Id: I9db419cfc211670cc2abd796a21396ba960e23a9
2014-11-14 18:04:38 -08:00
Pavlin Radoslavov
708e820534 Added CLI command to print summary of the intents:
"intents -s" or "intents --summary"

Change-Id: If6ec11b1425cb2a4c93fdd910808065419af14b5
2014-11-14 17:18:37 -08:00
Ray Milkey
ac1441d43c ONOS-196 Add --macSrcRewrite and --macDstRewrite options to add-point-intent command
Add the option for specifying a mac address rewrite.

Generate instructions for the rewrite and include them in the
treatment for the intent.

Change-Id: Ib2fa5ad5a6eb1d9617159c34d832fd89f7245db9
2014-11-13 14:51:53 -08:00
Thomas Vachuska
dea45ff7da Adding enhancements to the GUI server-side.
Fixing a few intent-related glitches for the optical use-case.
Fixing lat/lng information in the optical config.

Change-Id: I6a1dd1ee69c2db2f0e351d191627bba468a3c49c
2014-11-12 20:31:04 -08:00
Thomas Vachuska
2292567fc6 Fixing a defect where logical port numbers are listed as part of CLI arg completion.
Fixing a defect where devices imported with device id in uppercase are considered as different from those discovered in lowercase.
Fixed javadocs error from a rebase.

Change-Id: I76741022fb95d10a9a16fc9ce6d6443b166822ab
2014-11-12 02:35:01 -08:00
Jonathan Hart
5f7097ef5b Add some more match conditions to connectivity intent CLI commands
Change-Id: I429c34319e8f88bd8899bcee458dc3a60ffcce66
2014-11-11 12:58:02 -08:00