2550 Commits

Author SHA1 Message Date
Pavlin Radoslavov
23c05699c2 SDN-IP unit test fix: Increased the timeout waiting for a message to be
received from 2s to 5s. Eventually, this should address some rare
test failures.

Change-Id: Ifbf024023580ac93f10e1b7fb1b1f5dd2fe361f9
2014-12-02 21:32:18 +00:00
Marc De Leenheer
8c02cfc2db Create ~/.ssh if non-existing
Change-Id: I180baa4a799cdb59ed7ecac84b9f203a463a64e7
2014-12-02 21:28:57 +00:00
Pavlin Radoslavov
4749f84e99 Enabled the capturing of WITHDRAW_REQ intent events in the intent-metrics
application.

Change-Id: Ic14066cdb0a4f3e5d03f52adb29e4ab32f569a40
2014-12-02 21:24:57 +00: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
Jonathan Hart
9965d77a8e Cleaned up some commented code, javadocs and names in SDN-IP.
No functional changes.

Change-Id: Ic4421428ec468049f1d93ac457c08103543d5140
2014-12-02 20:49:09 +00:00
Yuta HIGUCHI
2103df4873 ClusterMessagingProtocol: initialize on demand
Change-Id: I58b6dfb4c1756a2ee097847b1b3363d829d25676
2014-12-02 20:48:46 +00: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
Pavlin Radoslavov
bcb454ccdc Updated the HazelcastLeadershipService implemenation:
* Every listener receives all leadership events, even for new topics and
   topics the local instance is not running for a leadership election
 * Now getLeaderBoard() returns all leadership info

Change-Id: Ia11a10ed287d2f8d905dd987beb8052c35be6cf1
2014-12-02 11:47:47 -08:00
Pavlin Radoslavov
248c2ae78a Updated SDN-IP to use the Intent framework batch-based intents.
Also, created a local cache of IPv4-to-MAC address mapping,
to avoid relatively costly hostService.getHostsByIp() calls
per added route.

Change-Id: I8abed378985708e883fd99e85c54b01f38756515
2014-12-02 09:51:25 -08:00
Thomas Vachuska
7399e48cac Adding maven archetype for a project.
Change-Id: I7bcdc45979c478c523e887b2de52e601570cdfae
2014-12-02 16:57:30 +00:00
Pavlin Radoslavov
187dff6378 Add missing implementation of HazelcastLeadershipService.getLeaderBoard()
NOTE: A topic is listed only if this instance is running for
a leadership for that topic.

Change-Id: I01450a83c54a9a47c9d4409139cdecc9152fbee1
2014-12-02 07:21:35 -08:00
Yuta HIGUCHI
b2e74a0f10 Lazily compute SCC, etc. on demand
- TODO computeCost does not correspond to actual computation cost now

Change-Id: Iffe3093c81bbb51d5feb46117fae8be092cf9288
2014-12-02 09:49:25 +00:00
Yuta HIGUCHI
bd1aee1e86 Attempt to fix nested exception
ONOS-375

Change-Id: I623f58f2ea35b01602439a296cf92654ad2a240c
2014-12-02 08:36:51 +00:00
Yuta HIGUCHI
b9125562d4 GossipLinkStore: removedLinks could be accessed concurrently by advertisement
Change-Id: I64cc3c5614182b6d6a8c2bf1dfa99e3f25fb9817
2014-12-02 08:24:17 +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
Jonathan Hart
5b424de96f MAC address was wrong
Change-Id: I2dd4c14561d702deeae1ac5856a9963fd9d32a5d
2014-12-02 00:07:00 -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
Jonathan Hart
f5e3580f8d Modified the MultiPointToSinglePointIntentCompiler to prevent duplicate packets
Change-Id: Ifb7609be04ed8a0330b7a0b47420ca33af0656c6
2014-12-01 20:46:01 -08:00
Yuta HIGUCHI
5cd352d057 IntentStores: only post Parking states
Change-Id: I7ed3f2e38d71b5a5f83a47d582326576b7da52f1
2014-12-01 20:16:02 -08:00
Jonathan Hart
65048cd6b0 Added materials for the SDN-IP tutorial.
Change-Id: Ib0c23d6f582bcdddfac651788529420a80d9a1d7
2014-12-02 03:42:42 +00:00
Brian O'Connor
5d55ed4c16 Bug fixes for Intent Manager
ONOS-343

Change-Id: I164c52b41080392c4b27a3969f270171558599a6
2014-12-01 18:35:24 -08:00
Brian O'Connor
a44dda5333 Suppressing PathNotFound exception
Change-Id: If92b4de390917c56b637abb5bdd42c2f97be507b
2014-12-01 17:42:41 -08:00
Brian O'Connor
86f6f7f011 Adding Leadership Listener to IntentBatchService
ObjectiveTracker uses Leadership Listener to track intents that
it has become the leader of.

Change-Id: I039accb30d27ad718d79a9fec3f546dbdc78e62e
2014-12-01 17:16:55 -08:00
alshabib
a9819bfd1f fix intent issues yuta observed
Change-Id: I7dc4a19d49a1b3fc18ecce02a4018cbc9a3043fc
2014-12-02 01:16:09 +00:00
alshabib
afc514afde when a switch vapourizes so must its ports
Change-Id: Ibcbcc47f691c24897985978a39da9dba6411ba2a

disable a port which is deleted

Change-Id: Ic6e0cb0a9901a6589b587aeb89bfc1b302d17516
2014-12-02 01:06:00 +00:00
Simon Hunt
b33b40bb67 GUI -- fixed bug where host (endstation) glyph was not showing up in details pane.
- also tidied up index.html a little.

Change-Id: I35b10d85ef95807c18319321f028d464e174d27e
2014-12-01 16:12:47 -08:00
Simon Hunt
71fbdb3b2d GUI -- Cleaned up Glyphs library code.
- added new test page; removed old test page.
 - added copyright to oblique test page.

Change-Id: If8770fbcadc82a1a680c8ba83b3b31beadabc8d4
2014-12-01 14:40:46 -08:00
Brian O'Connor
a0d3100306 Updates to push-intent and leaders command.
Change-Id: Id3fd7932002bf90f79a89f796ce44bab8ea74aab
2014-12-01 22:20:09 +00:00
Ray Milkey
ff5177375c Fix Javadoc typos
Change-Id: Ieaf96e9e4bb217b1def0edb080cf4ea6af533b10
2014-12-01 21:16:51 +00:00
Yuta HIGUCHI
91471863b6 Remove Chronicle related unused entries.
Change-Id: Iaf2ab5c6d2b43557284cd4c782660cd9998a49a9
2014-12-01 11:58:08 -08:00
Yuta HIGUCHI
9b108b3f8e Switch default stores to Hazelcast based implementation
Change-Id: Id2e74bcfeb047b2e16e55bce23634c662a3b4058
2014-12-01 11:11:02 -08:00
Yuta HIGUCHI
f568245973 IntentStores: clear transient states, after transitioning to parking state
Fix for ONOS-372

Change-Id: I2e397f7f9a60855945fd49a8170c41ab0166f6d3
2014-12-01 18:21:00 +00:00
Yuta HIGUCHI
43e3a7ef62 Move CopyCat log to $KARAF_DATA/raft
Change-Id: I97f4766279f875c15c818d4b7f0b168e06e85ac1
2014-12-01 08:09:22 +00:00
Thomas Vachuska
82041f5ec7 Added a number of demo-related artifacts. Enhanced GUI a bit.
Change-Id: I4501cb338f9eab07420fb60e347167deda5074be
2014-12-01 07:34:01 +00:00
Pavlin Radoslavov
1c5e48b5c0 Removed bogus pom.xml.orig file that was merged by accident.
Change-Id: I15f548c6ee58500209dd4e876bb7a01c37ec6720
2014-12-01 02:48:25 +00:00
Pavlin Radoslavov
2e57b3b601 Removed leftover "SDN-IP" from the log messages.
Change-Id: Ie9a9f75c577dc26912e512540433f1903a98acdd
2014-11-30 18:36:05 -08:00
Jonathan Hart
949c28455e Added a trivial implementation of the LeadershipService.
Also renamed SdnIpLeadershipService to HazelcastLeadershipService, and moved
it into the distributed core bundle.

This allows applications which depend on LeadershipService to be used with
the trivial core.

Change-Id: Ie71a946d95653a4d2209afd3af0e7f23b5a4f818
2014-11-30 18:17:15 -08:00
Yuta HIGUCHI
c2bf3d8fb9 IntentManager: use IntentStore batch APIs
Change-Id: Ie60f3e53f48fa6acbcaf5cf6837bdef12b36a98d
2014-12-01 00:26:30 +00:00
Yuta HIGUCHI
a94c6e8a30 IntentStore: add batch write API
Change-Id: I9d397e9dc3dc6e9ccd21ac6ddacaece79214c470
2014-11-30 18:41:02 +00:00
Yuta HIGUCHI
3cc4d9beee HazelcastLinkResourceStore
Change-Id: Ic5d6bf9b54b023368a883e3665484900ccda44e7
2014-11-30 18:14:24 +00:00
Yuta HIGUCHI
c9438f14dd SQueue: lazily deserialize iterator
Change-Id: I09ba574a0479181774e287d8a39286c976740675
2014-11-30 18:13:37 +00:00
Simon Hunt
d6f5a27ef8 GUI -- [ONOS-309] - Oblique view of packet and optical layers (Experimental).
Change-Id: I5e3ac53192eb6c0d7bfab599fe2254f58f192a50
2014-11-29 23:45:50 -08:00
Simon Hunt
c2367d5ff4 GUI -- Implemented node lock ('X' key) in preparation for oblique view.
Change-Id: I485ca7977d18fe50ca7e5c500b3fc616506f4543
2014-11-29 19:30:23 -08:00
Simon Hunt
1b18aa5a07 GUI -- Clarified math used for computing scaling and translation of US map.
- Increased zoom bounds to be able to zoom out further, and zoom in further.

Change-Id: I4ad3dca8edd1986034dec57cad6d19f80753daea
2014-11-29 17:58:06 -08:00
Thomas Vachuska
d1c25cdbac Fixed a defect where a newly arrived instance would not be added on the client.
Change-Id: Ifb8c6489ef54476a2e4c322dbf83b15ecc178cd6
2014-11-29 17:47:58 -08:00
Thomas Vachuska
12dfdc34b6 Added web-socket fail-over and fixed a defect in mastership balancing.
Change-Id: I14eeb17fdc7970140287b51915c5accc24cf855b
2014-11-29 16:03:12 -08:00
alshabib
978d2417da add iterator support to SQueue
Change-Id: I83df62326e54368e40fa15df522c05ba2dc67ff6
2014-11-29 15:29:46 -08:00
Simon Hunt
c1cc81c3d7 GUI -- Cleaning up use of sendMessage() to make consistent.
Change-Id: Id3703e00aa93e6414a1509db5eaf2e91f4ec9977
2014-11-29 14:59:01 -08:00
Simon Hunt
3c5ca54588 GUI -- Cleaning up pan/zoom functions.
Change-Id: I5f1a69d018bac7c9be9f225bbbd197e0c97102b4
2014-11-29 22:15:00 +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