3538 Commits

Author SHA1 Message Date
Sho SHIMIZU
64d4867b46 Add unit tests for Installing phase
Change-Id: I8955d20d523daf3abd8e1ef597bf5c26254ca68a
2015-02-25 08:59:37 -08:00
Simon Hunt
fb8ea1f424 GUI -- TopoView - Initial work for implementing link selection.
- a step in the direction for showing port numbers.

Change-Id: I313782374c82b87b6d426e88519a5ab7c072a622
2015-02-24 21:38:14 -08:00
Saurav Das
c25c52285d Adding a dependency to sdnip's pom file so eclipse doesn't complain
Change-Id: Ic79fbc3ed6208472df43355f8c5a73f30511e438
2015-02-25 01:44:05 +00:00
Madan Jampani
d14166a3be Added a distributed leadership manager implementation on top of consistent map.
Change-Id: I3f3c6114df72e3ab033ba39c8608ac4ae11e5272
2015-02-24 17:38:44 -08:00
Simon Hunt
a4242debca GUI -- TopoView - Refactored a bunch of functions out of topoForce into topoD3.
- finally, topoForce is a respectable sub-1000 LOC :)

Change-Id: I2a9ac2881c9d54663faecf338c512a368f17bc34
2015-02-25 01:16:54 +00:00
Bri Prebilic Cole
f7280d0c35 GUI -- Toolbar and ButtonService appearance work - styled light and dark themed buttons and toolbar.
Change-Id: I07f2d6adcf5a028fa76f50301d6bdfd1e75b1188
2015-02-25 01:13:50 +00:00
sangho
22a805de6a - Supports multi-table feature in the improved batch process in the flow rule subsystem.
- Fix a bug of unsafe type conversion in OpenFlowGroupProvider.

Change-Id: I9a62f81b66d350b84296192f770dc8987aa0967b
2015-02-25 00:28:54 +00:00
Sho SHIMIZU
0a3bb1d9ed Add unit tests for InstallCoordinating phase
Change-Id: I49764e9fef761ff0a31da77a2f3a22a3f16fdb63
2015-02-24 23:46:56 +00:00
HIGUCHI Yuta
459bddf56a Fix type mismatch
Change-Id: I26d094c4ae0d7c6699e49a0aa9885bd4d6d89e33
2015-02-24 23:46:06 +00:00
HIGUCHI Yuta
dc2e7c26f9 Fix for NPE
Fix for NPE reported by ONOS-1171

Change-Id: Iadb960eb2806e0d33da034f36ad2a0f9c8aa1be0
2015-02-24 23:44:40 +00:00
Sho SHIMIZU
892509aa5f Add unit tests for Compiling phase
Change-Id: Ib28e48ad0f4e26f56bd2d416ee7f19f9c420a63d
2015-02-24 23:44:22 +00:00
Jonathan Hart
83247f0672 Fix entries getting stuck in the pending map.
Pending map timestamp should be composite of
(IntentData.version(), wallclocktime)

Change-Id: I3caf739c4fdb70535696176621649f0842eea467
2015-02-24 23:39:28 +00:00
Bri Prebilic Cole
be8b9a4e3d GUI -- ToolbarService and PanelService show and hide panels based on margin and hideMargin, and fade is a setting.
Change-Id: I85b5dd447df09e13e9308473c548621d4b76fa15
2015-02-24 21:49:43 +00:00
Jonathan Hart
403ea930f2 Simplify anti-entropy code
Change-Id: I6568b1cc7c67e12c5a81ec9f8680f6461813ddce
2015-02-24 21:05:59 +00:00
Simon Hunt
4d4996e136 GUI -- TopoView - Fixed problem of labels on hostlinks not being positioned correctly.
- updated traffic scenario.

Change-Id: I452e0e81327a9006c20e00a843c6096432a1efac
2015-02-24 19:58:18 +00:00
Sho SHIMIZU
d42058eb89 Rename IntentBatchPreprocess to make its name consistent with behavior
Remove "Pre" from the name

Change-Id: I87da1d9e0f4308ff6a545012c26b6618b8415338
2015-02-24 19:32:03 +00:00
Sho SHIMIZU
214ac322b1 Tighten visibility because it is not needed to be public
Change-Id: I5925eeff3efa8d3581be1efd4763ad16d6414c9e
2015-02-24 19:28:40 +00:00
Sho SHIMIZU
559e4b9560 Remove unused method/constructor/fields/constants
Change-Id: I38d77cf30ab9948acd74d24fcc15c65749fc347b
2015-02-24 19:28:04 +00:00
Sho SHIMIZU
ce49b605d6 Remove dependency on IntentData and IntentStore from IntentWorker
- Make createInitialPhase() static and move it to IntentProcessPhase
  - Additionally, rename to newInitialPhase()
- IntentWorker's constructor receives an initial intent process phase

Change-Id: I4774493230a008fc5530d9d90b262e1eb441f946
2015-02-24 19:27:59 +00:00
Sho SHIMIZU
662c3dbf1b Pull out IntentWorker from IntentManager
- IntentWorker is placed in phase package
- Make public IntentProcessPhase subclasses package private now

Change-Id: Ie7d218fe5d8a516f3913ff8881d9d17cfd8e4c46
2015-02-24 19:27:58 +00:00
Sho SHIMIZU
e38adb343a Remove reference to a field of IntentManager from IntentWorker
Change-Id: I3ab69f3bcdaa92516783dec096a80220edfc55d5
2015-02-24 19:27:58 +00:00
Sho SHIMIZU
0cb6fe6557 Remove reference to a field of IntentManager from IntentWorker
Change-Id: I094c4019fbe8af342e2dae2a1c5ad780728cf27a
2015-02-24 19:27:57 +00:00
Sho SHIMIZU
b413be88c1 Remove createIntentUpdate() a method under IntentWorker
Because the method is only accessed from IntentWorker

Change-Id: Id80a93a7dfdaabc0c78a519a47fd979572d990ef
2015-02-24 19:27:57 +00:00
Bri Prebilic Cole
5000a754d8 GUI -- ToolbarService - showing and hiding the toolbar panel - WIP.
Change-Id: Idf9ccbfdeb2b3906fefdf022c216eee2611787fa
2015-02-24 09:30:37 -08:00
Pavlin Radoslavov
d6612f95c5 Added IPv6 support to HostLocationProvider
This fixes ONOS-637

Change-Id: Ic3a411b7e1a1fcf18e7bc7a1b70d1e57c23a52ce
2015-02-24 08:46:39 +00:00
Pavlin Radoslavov
89edb541d7 Added IPv6 support to HostMonitor
This fixes ONOS-635

Change-Id: I49cb135af38d54298ba950d5ce1cc110a6f3184d
2015-02-24 08:43:39 +00:00
Ray Milkey
cf590df40f Remove references to deprecated bandwidth method
Change-Id: I98f4f148d573bd7ce644733c33cc038b0b14dc97
2015-02-24 03:04:53 +00:00
Simon Hunt
8eb4d3acdf GUI -- TopoView - Labels on host links now hidden when hosts are hidden.
- removed 'animated' class from links.
  - fixed link label colors (text and rect) for both themes.

Change-Id: Iee638839090b64685d40296985e980f4e6105d82
2015-02-23 18:23:29 -08:00
Thomas Vachuska
529db0a9b5 Preparing GUI resources for dynamic injection of contributed content. Ready to go, but for now disabled in web.xml.
Change-Id: I0751077702835e7572b20037ba6ddc1950be6037
2015-02-23 16:42:14 -08:00
Thomas Vachuska
e95da77264 Promoting new GUI resources into place; still hidden behind legacy redirect though.
Change-Id: If1f25cd7297b93374f492474eb321da16e9995ec
2015-02-23 15:50:11 -08:00
Thomas Vachuska
5f39965caa Migrated legacy GUI resources out of the way for the new GUI.
Change-Id: I92dff4012c63d2f60ee61b5d10cbc4a384d49233
2015-02-23 23:18:45 +00:00
sangho
01a883cbd9 ONOS-1160: Bug fix for sending groups stats also for non OF1.3 switches.
Change-Id: I5dd75d23aaf2a22f084a8ad7d91b402a869da038
2015-02-23 23:15:10 +00:00
Ray Milkey
43a2822c10 Refactor tests to use shared mock implementations
Change-Id: Iba4e44b7bb88f8a31add9475a9155f85375ae61a
2015-02-23 22:44:24 +00:00
Madan Jampani
6b5b717d80 Gave threadpools more appropriate names.
Change-Id: Ib7ce71a3028363b1465fbd5775f84e2befaf80c1
2015-02-23 22:40:56 +00:00
Pavlin Radoslavov
dbeab4cc33 Fix a bug when using IpPrefix.contains() and we are mixing IP address
families.

The bug (an exception) is triggered when internally we try to create
a masked IPv4 address with a very long IPv6-derived mask length.

Added the corresponding unit tests.

Change-Id: Id835d27ab3ff38dcf7a1387ff32ccb701aa2fe11
2015-02-23 22:30:55 +00:00
Ray Milkey
5a7787a62c Unit test for intent accumulator
Change-Id: Id9f8c918bdddc7fe24e4eb283676fd94275e58cf
2015-02-23 13:58:21 -08:00
Yuta HIGUCHI
7887b477ce Exclude generated fields from ImmutableClass check
- Eclipse sometimes auto-generates switch table, which fails the immutability unit tests.
  Ignore field name starting with _ or $, which tends to be used for auto-generated names.

----
Failed tests:
  IpAddressTest.testImmutable:41
Expected: is "a properly defined immutable class"
    but : was "a field named '$SWITCH_TABLE$org$onlab$packet$IpAddress$Version' that is not final"
  IpPrefixTest.testImmutable:39
Expected: is "a properly defined immutable class"
    but : was "a field named '$SWITCH_TABLE$org$onlab$packet$IpAddress$Version' that is not final"
----

Change-Id: Ibca5f61b9ca6b6006424a4288f1863b6e60ad484
2015-02-23 21:45:52 +00:00
Simon Hunt
d450da9d18 GUI -- TopoView - mockserver.js -- re-instated the "auto-advance" feature.
Change-Id: I867430cf42483fa7f2cacdd0b6fdd97d0eaa90a9
2015-02-23 13:25:59 -08:00
Madan Jampani
2af244a977 Never process incoming messages on the netty event loop thread pool.
Currently in a lot of places we are deserializing incoming messages on this threadpool and that could be significantly limiting throughput.

Change-Id: I83eb7e91004cea4addb28bc28f27e50de10028fe
2015-02-23 20:37:25 +00:00
Pavlin Radoslavov
a853709a6b Fix IPv6-related bug in SDN-IP.
- Use the correct API to set an IPv6 prefix in the matching condition

Change-Id: I7911a7e886024bff5442821816e4481570ec8172
2015-02-23 20:06:24 +00:00
Brian O'Connor
b28f5d740e Revert "Using CommandSession console instead of System.* in AbstractShellCommand print and error"
This reverts commit ea9ae214f9bca97537378f205910d62b7aa4be47.

The karaf shell explicitly depends on System.{out,err}, so piping to shell commands is broken by this patchset.

Change-Id: Ib7fb6341cfa42418115663413ea406173f5debf4
Note: When running as a service, if a thread that isn't the command thread calls print, it will go to $KARAF/var/System.out
2015-02-23 19:37:48 +00:00
Thomas Vachuska
a0509897a9 Preparing for dynamic GUI extensibility.
Change-Id: Ic25143bb9ad8919d7c9e70d932dde528a9227e6a
2015-02-23 11:31:37 -08:00
Simon Hunt
142166bb96 GUI -- TopoView - Updated "traffic" test scenario.
Change-Id: Ic6fb17f069d87000cfd0f6c68b2f52daf9ef163f
2015-02-23 11:08:34 -08:00
Bri Prebilic Cole
c4403328be GUI -- Refactored ToolbarService to have only new toolbar functions.
Change-Id: I0319335915f37d3a63b3ac734d8f8e00ebed20ae
2015-02-23 10:29:32 -08:00
Thomas Vachuska
93da11f8b5 Providing sample web.xml configuration for enabling basic authentication of REST API & GUI.
Change-Id: I1ee8853945611d7778a4a4dc38883cfe266a5efa
2015-02-23 18:22:53 +00:00
Bri Prebilic Cole
08381ce2a4 GUI -- Button and Toolbar Services with unit tests - finished implementing button widget, started modifying toolbar to use ButtonService
Change-Id: I96078516d396951175fb8d9e69dd7796da9f114e
2015-02-23 17:25:46 +00:00
Thomas Vachuska
4c6c377110 Fixed javadocs.
Change-Id: I74064c7e6dce702c769272cfa5dba99a61ea5abc
2015-02-23 08:50:49 -08:00
Thomas Vachuska
75af68aad9 Enhancing accumulator to allow subclasses to indicate whether they are ready for the batch to be processed. Default behaviour returns true.
Change-Id: I53a3ffc3ecd75ed2607f155a61971e05a6009a66
2015-02-22 20:41:54 +00:00
Thomas Vachuska
a132e3acd3 Made intent perf app multi-threaded; doesn't seem to help.
Made Jono's changes to ECM per Madan's suggesion.
Added cell beast.
Re-enabled anti-entropy.
Added ability to push bits through test proxy for faster upload.

Change-Id: I1455d6d443a697d7a3973c88cb81bfdac0e1dd7f
2015-02-22 20:31:04 +00:00
Madan Jampani
2e5f87b548 Limit the amont of work that happens on netty event loop threads.
Currently we are kryo serializing/deserializing the message envelope which can potentially limit throughput.

Change-Id: I0ae9dab53bbb765b7618ceaefda1edf4f77b0b59
2015-02-22 10:37:15 -08:00