1515 Commits

Author SHA1 Message Date
Madan Jampani
2ee20002b0 Simpler way to construct MapDBLog 2014-11-06 20:06:12 -08:00
Yuta HIGUCHI
d2a3882171 Switched KryoNamespace internal buffer to ByteBufferOutput
Change-Id: Iee3738bf0133440f4b6e695b9b92a9a2c8cc202f
2014-11-06 19:05:04 -08:00
Yuta HIGUCHI
c6b8f611e6 checkstyle
Change-Id: Ie794af1b06777c4c4332c4047ad88ecbe1b2f550
2014-11-06 19:04:13 -08:00
Yuta HIGUCHI
361664ee4e Add sample accessing database service to Foo
Change-Id: I514c57a278dea368448d284eb5bf0d41bb0013e3
2014-11-06 18:06:12 -08:00
Thomas Vachuska
f3346a557a Merge "Refactor test to use Guava EqualsTester" 2014-11-06 17:47:24 -08:00
Thomas Vachuska
05e0dd7a26 Merge "Add constraint to avoid specified devices" 2014-11-06 17:46:31 -08:00
Sho SHIMIZU
075268b8a7 Add constraint to avoid specified devices
Change-Id: I9b29ebc0f38a3840740cc21c43cc448befc95015
2014-11-06 16:52:32 -08:00
Thomas Vachuska
cd76413348 Merge "Tighten the visibility of fields in WaypointConstraintTest" 2014-11-06 16:24:19 -08:00
Sho SHIMIZU
1332b17894 Tighten the visibility of fields in WaypointConstraintTest
Change-Id: If592eaa0df04f6a800e86c1be0c70ba26b343398
2014-11-06 16:03:09 -08:00
Pavlin Radoslavov
3a46e48fd9 Updated each of the metrics applications (Intent and Topology Metrics)
to register with the ONOS core services as an application.

Change-Id: If1d9eb3d79909d519673e751a9e047263efa1431
2014-11-06 15:57:06 -08:00
Ray Milkey
fff20b5c1a Refactor test to use Guava EqualsTester
Change-Id: I337acb65a71579f7d36f66c38548e2f6cdc31596
2014-11-06 14:47:02 -08:00
Thomas Vachuska
0694af950b Merge "Basic equality and creation tests for Constraint objects" 2014-11-06 13:58:52 -08:00
Pavlin Radoslavov
d5087d13d0 Removed method IpAddress.toInt(), because it is semantically incorrect:
It lacks the guarantee the underlying IP address is IPv4.

Potential users of toInt() should use Ip4Address.toInt()
or IpAddress.getIp4Address().toInt()
Tthe latter obviously might require the explicit check that
getIp4Address() is not null.

Change-Id: I3f939695cf3c496e3fdd3fbd4a2988b565cca69a
2014-11-06 13:40:40 -08:00
Thomas Vachuska
ca60f2b0f1 Initial sketch of codecs and REST API approach.
FIxed typos and defects.
ONOS-81

Change-Id: I789444a181abea509c354966545c927e305710d1
2014-11-06 13:29:42 -08:00
Pavlin Radoslavov
6b570737c4 Updated SDN-IP to use Ip4Address and Ip4Prefix instead of IpAddress and
IpPrefix, because so far we haven't implemented IPv6.
Also, some of the BGP-related attributes (e.g., BGP Speaker ID)
are IPv4 by definition.

The following components are updated:
 * BGP implementation
 * Router component and relevant state (e.g., RouteEntry)

Other components (e.g., configuration) will continue to use
the more generic IpAddress and IpPrefix.

Change-Id: I1936ca9871fd5a9709cb4f2c2850d78ebc1472c4
2014-11-06 13:16:45 -08:00
Praseed Balakrishnan
6a01c2fb67 Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next 2014-11-06 12:29:19 -08:00
Praseed Balakrishnan
0bb2d7ddec Preparing for not loading optical config .. and use rest to push config 2014-11-06 12:29:09 -08:00
Ray Milkey
a7d96ad8fb Basic equality and creation tests for Constraint objects
Change-Id: Ibcd125ce3070cfbf23c8349dbf950a3352fac44d
2014-11-06 12:23:00 -08:00
Sho SHIMIZU
14ccab5871 Add missing getter for waypoints and unit test for equality
Change-Id: If6ca25bd4459c32e30467991039bbbe36f2256f2
2014-11-06 12:06:53 -08:00
Ray Milkey
703dd663fb Merge "Remove prototype bandwidth limited intent commands" 2014-11-06 12:06:33 -08:00
Simon Hunt
a4b227d4d2 Merge "Set boolean to true for live data." 2014-11-06 12:01:53 -08:00
Ray Milkey
ab9a76b41d Remove prototype bandwidth limited intent commands
Change-Id: I387de6d4db6d0dd81465a274b72ea63b9e3b9c92
2014-11-06 11:47:29 -08:00
Yuta HIGUCHI
8261012012 move to API bundle
Change-Id: I73787651798bd26f3e6efacd595b02baa5ec7658
2014-11-06 11:30:46 -08:00
Madan Jampani
7d199b0810 Cleaning up after mapdb unit test 2014-11-06 11:03:08 -08:00
Simon Hunt
929f77b021 Set boolean to true for live data.
Change-Id: I5d13ddcd51e17e529db87480ba1671d57c53f164
2014-11-06 10:40:04 -08:00
Yuta HIGUCHI
050345959d some what improved Eclipse formatter settings
Change-Id: If13429ef00616c511dd53fcf5a728dc0986832b4
2014-11-06 10:34:50 -08:00
Simon Hunt
2fe26ac426 test (added lines)
Change-Id: I9af9dceb5058d5d17c6943371d3c78e5d65ed65e
2014-11-06 10:07:25 -08:00
Thomas Vachuska
3dc5435e21 Merge "Add constraint for waypoints" 2014-11-06 07:56:38 -08:00
Yuta HIGUCHI
0c6e184044 Trigger MastershipEvent on no more master case
Change-Id: Iaac7b7d021802e7470df061dad719dcdf0e4b73e
2014-11-05 23:49:24 -08:00
Yuta HIGUCHI
c195732463 cleaning up the mess
Change-Id: I2688b9ff9c83d86fda924531becd033f28873b09
2014-11-05 23:49:23 -08:00
Madan Jampani
778f7ad29b MapDB backed Copycat log implementation 2014-11-05 22:53:23 -08:00
Yuta HIGUCHI
3bd8cdcfa1 copy VersionedValue before returning to protect internal state
Change-Id: If56c512488b90bbfbabe32434e567b463d4acf1a
2014-11-05 19:11:44 -08:00
Yuta HIGUCHI
bddc81c4ec add comments to DatabaseStateMachine
Change-Id: I775e2f6c0250ac158e301408e423ebdb29d75668
2014-11-05 19:00:12 -08:00
Yuta HIGUCHI
1838f88d2b DatabaseStateMachine: fix type mismatch
Change-Id: I267c7390e46b503d8bfb5ffcb2e09df3738ff5b0
2014-11-05 19:00:12 -08:00
Yuta HIGUCHI
4ee9ddbaa1 add hashCode to ReadRequest
Change-Id: I2e74047ee65bd2122214eeb582efa70a28b1a1f5
2014-11-05 19:00:12 -08:00
Yuta HIGUCHI
cea3ba18dc add Factory method to ReadRequest
Change-Id: I713b25ff6165b072e647be0dfa63eab97dc5ca85
2014-11-05 19:00:12 -08:00
Yuta HIGUCHI
4248bee8a1 add more info to copycat timeout log
Change-Id: I713caf37b3ca99c3b7319be35cb8eb03fb3c27d4
2014-11-05 19:00:12 -08:00
Thomas Vachuska
65d1294434 Merge "Make logger static final variable" 2014-11-05 18:46:37 -08:00
Sho SHIMIZU
0e51fe55c4 Add constraint for waypoints
Change-Id: I8156920d4d3d85aee060b9d0fe925f43f9b15ff1
2014-11-05 18:44:00 -08:00
Thomas Vachuska
e926103338 Merge "ONOS-22 - Add Constraints to CLI Commands" 2014-11-05 18:31:36 -08:00
Thomas Vachuska
929eedb07c Merge "Changed LOCAL port number in the CLI to "local"." 2014-11-05 18:27:09 -08:00
Yuta HIGUCHI
79a1e5e121 DatabaseManager: try to wait for others on start up
Change-Id: I90acfa10be7430509a459b456658dc8838d4e44b
2014-11-05 17:46:54 -08:00
Yuta HIGUCHI
1aa249ca74 separate basic classes from API
Change-Id: I110ebc7da395f60d8c95d8bb09c00bcc2a4f0547
2014-11-05 17:46:54 -08:00
Simon Hunt
c7ee066102 GUI -- Major Work-In-Progress
- Added dataLoadError to view token.
- Restructured code, viz:
(1) svg and force layout initialized in preload callback
(2) load callback initializes topo rendering
(3) subsequent data loads modify topo rendering
2014-11-05 16:46:50 -08:00
Ray Milkey
460f40251c ONOS-22 - Add Constraints to CLI Commands
Added optional --lambda and --bandwidth operations to command
line for host to host, point to point, and multi point to
single point intents

Fixed intent compilers to add constraints to the PathIntents they
create

Change-Id: I25510d401118feba493f51ecddc72d770d8ae3e3
2014-11-05 16:45:47 -08:00
Yuta HIGUCHI
39ae550bac log related fixes
Change-Id: Ie83feb7b135c046319ef76e9204b07ecc25caf02
2014-11-05 16:42:12 -08:00
Yuta HIGUCHI
661b9b2754 fix log
Change-Id: I35cab6921be907963355dfb7bcbeeb68d0da91f2
2014-11-05 16:36:30 -08:00
Thomas Vachuska
caa14d6ff1 Changed LOCAL port number in the CLI to "local".
Change-Id: Ic24442446a225bbc52613ce6c26b5ecaf7697193
2014-11-05 16:35:45 -08:00
Yuta HIGUCHI
5027b6b2d5 CopyCat: Dynamic cluster support
Change-Id: I887c52b35811abf37a2b59db034b07ccf01eed2c
2014-11-05 16:23:49 -08:00
Pavlin Radoslavov
17378efe35 Added Kryo serializers for Ip4Address, Ip6Address, Ip4Prefix, Ip6Prefix
Change-Id: Ib014bbe40b3df5c778e2d16d7b65b1cb62944e1c
2014-11-05 16:13:47 -08:00