347 Commits

Author SHA1 Message Date
Ray Milkey
e668408321 Unit tests for some Intent objects and compilers
Unit tests for HostToHost and MultiPointToSinglePoint intents
and intent compilers.

Made Intent classes final to make them immutable.
2014-10-16 16:59:47 -07:00
Ayaka Koshibe
760a7f9745 Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next
Conflicts:
	core/store/serializers/src/main/java/org/onlab/onos/store/serializers/KryoPoolUtil.java

Change-Id: I6a8fc884f0c0b6578762d7b439177378e838735f
2014-10-16 10:57:12 -07:00
Yuta HIGUCHI
b35a3819ee bugfix Function input is Nullable
Change-Id: Ie492fd070e300bbe6a2796805ba5f2c8a50c7248
2014-10-15 23:22:17 -07:00
Yuta HIGUCHI
5fa3dc09e7 GossipHostStore: add AE support
- modified HostDescription family to hold Set of IpAddresses

Change-Id: Id920fdc83817802885e8528af185a5ad590bf999
2014-10-15 17:12:58 -07:00
Ayaka Koshibe
bfca040388 Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next 2014-10-15 17:07:45 -07:00
Jonathan Hart
dbdbdbb451 Added restrictions for proxy ARP 2014-10-15 11:27:04 -07:00
Yuta HIGUCHI
a263915d7a Added Host related memos.
Change-Id: Idbbce6a72b6f7fecc6691f2af68f4ce40b58ca34
2014-10-14 19:50:28 -07:00
Ayaka Koshibe
45503ce0b2 list mastership roles CLI command
Change-Id: I54dc296f90c4b8ceebe4e86816c3796da4d2d714
2014-10-14 11:26:45 -07:00
Yuta HIGUCHI
990aecc26a eliminate package dependency cycle
Change-Id: I7c30e5db9f5d17d24d28252b4dc58ce23835b6d8
2014-10-13 22:21:42 -07:00
Madan Jampani
b5e9b1d3df Using HostId instead of MacAddress when requesting timestamps from HostClockService 2014-10-13 14:18:39 -07:00
Madan Jampani
fd26ffbc0f Added a WallClockTimestamp and associated interface/implementation for generating it. This will be used by the initial implementation of distributed host store 2014-10-13 14:08:55 -07:00
Yuta HIGUCHI
18ab8a9fc2 modified LinkKey creation to follow other id objects
Change-Id: Ie70444f9069486d0251482464595f5835cf12539
2014-10-13 12:01:11 -07:00
Yuta HIGUCHI
6e501739fb cosmetics
Change-Id: I0a343f39560aaada3a3bdff0fab23a3845ab1481
2014-10-13 09:22:59 -07:00
Ray Milkey
0742ec92cd Add a Multiple source to single destination intent
This is a very simplistic implementation of an intent that
represents multiple sources with a single destination.
The implementaiton is simple, it just computes the union
of the set of path segments needed to satisfy all the connections
and installs them.

The unit test is just a skeleton with a single test case and
needs to be expanded.
2014-10-13 08:39:55 -07:00
Yuta HIGUCHI
80912e6757 Separate cluster management and mastership management to separate packages
Change-Id: If1e399648451842da6dccc644b75b81337b105f9
2014-10-12 00:15:47 -07:00
Yuta HIGUCHI
a10f388308 Moved ClusterCommunicationService related to api bundle
Change-Id: I0545c2e82824703feff4a089c0de25c9f3969622
2014-10-11 22:45:07 -07:00
Yuta HIGUCHI
093e83ea68 Refactoring
- Renamed Clock{Service, Provider} -> DeviceClock*
- move from store -> net/device package

Change-Id: Ib4ba5119146bb2df97d3148f48890fb1f47d6a9d
2014-10-11 20:15:39 -07:00
Yuta HIGUCHI
38935e5f08 Turning off AbstractEventAccumulatorTest.timeTrigger
Change-Id: I533e8abf9b00eba5ab2bd7d33f286e39322c0ed9
2014-10-10 13:27:46 -07:00
Yuta HIGUCHI
dc7374cf46 Move ControllerToNodeId Function to api bundle
Change-Id: I80eac83cc72f9a92b594fef46d83376b42843746
2014-10-10 11:11:35 -07:00
tom
e7f01ee544 Speeding up stuff.
HostDescription now passes up just a single IpAddress.
2014-10-10 00:17:33 -07:00
tom
093340b44c Speeding up stuff.
HostDescription now passes up just a single IpAddress.
2014-10-10 00:15:36 -07:00
Yuta HIGUCHI
9ee60f6b22 Device Anti-Entropy
- create Advertisement
- handler for Advertisement
- register handler, background thread to send advertisement

Change-Id: I99e8a7d68747970c34b3c25c6d0489769d251446
2014-10-09 20:01:59 -07:00
tom
88a6f11a9a Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next
Conflicts:
	core/api/src/main/java/org/onlab/onos/net/ElementId.java
2014-10-09 18:00:19 -07:00
tom
e6e63437be Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next
Conflicts:
	core/api/src/main/java/org/onlab/onos/net/ElementId.java
2014-10-09 17:48:57 -07:00
tom
545708e14e Optimizing performance of HostId. 2014-10-09 17:10:02 -07:00
Yuta HIGUCHI
f5ba8bc8ff Reverting ElementId hashCode + equals logic, which was breaking TopologyManagerTest
- requires further investigation later

Change-Id: I22de937c1ffdd60f674813e5e5dd10b0ddce524b
2014-10-09 16:02:29 -07:00
Yuta HIGUCHI
fa891c9a0f Revert "Refactoring to move code to right locations. Attempt at breaking dependency cycles."
This reverts commit 58819b4dcc697f63872bee9f3ddd41a0c4d8fca5.
2014-10-09 15:28:45 -07:00
Yuta HIGUCHI
d40483d52c Revert "Refactored code in an attempt to break dependency cycles"
This reverts commit 195af6e6b27c23c7beb98f4cd425e7d7ffff1ecd.
2014-10-09 15:28:45 -07:00
Madan Jampani
195af6e6b2 Refactored code in an attempt to break dependency cycles 2014-10-09 15:01:17 -07:00
tom
26673baf39 Merge remote-tracking branch 'origin/master' 2014-10-09 13:51:01 -07:00
tom
1679e18072 Eliminating some performance bottlenecks; more to be done. 2014-10-09 13:50:45 -07:00
Madan Jampani
58819b4dcc Refactoring to move code to right locations. Attempt at breaking dependency cycles. 2014-10-09 13:48:51 -07:00
Madan Jampani
f1a2d0ed1b Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next 2014-10-09 12:08:23 -07:00
Madan Jampani
255a58b8b9 GossipDeviceStore: Notifying applications of latest topology events received from peers 2014-10-09 12:08:20 -07:00
Toshio Koide
9c44c9a916 Add TCP src/dst port traffic selection criteria to TrafficSelector 2014-10-09 11:46:31 -07:00
Toshio Koide
d32809bed6 Fix javadoc on IntentStore and add newline at the end of the intent package-info. 2014-10-09 11:00:29 -07:00
alshabib
92c65ad429 real application ids
Change-Id: Ia24f1de6ccff614769727ab261002520dfd8506f
2014-10-08 21:56:05 -07:00
alshabib
26834584e7 you must call get on futures
Change-Id: I2ed3a9b2250f2a1c6e2e68e35cec50e691702099
2014-10-08 20:15:46 -07:00
alshabib
79e6f89b52 Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next 2014-10-08 18:58:06 -07:00
alshabib
193525bb7f clean batch operations
Change-Id: I7187de40bb5276d6ae9e9831e5d47d36e16560ad
2014-10-08 18:58:03 -07:00
Brian O'Connor
cb900f4eb6 Initial implementation of async installers 2014-10-08 18:21:52 -07:00
Ayaka Koshibe
4c89127127 Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next
Conflicts:
	core/net/src/main/java/org/onlab/onos/net/device/impl/DeviceManager.java
	core/store/hz/cluster/src/main/java/org/onlab/onos/store/cluster/impl/DistributedMastershipStore.java

Change-Id: Ia1274657b27e01366a4a87196a13068d7104ee80
2014-10-08 17:14:16 -07:00
Ayaka Koshibe
c404770926 role reassignment tweaks
Change-Id: Ie6d412787330e67a13e605a34f0824cf70882f85
2014-10-08 16:45:09 -07:00
tom
297dfc0c4d Enhanced HostLocation and DefaultEdgeLink to allow easier construction. 2014-10-08 10:42:56 -07:00
Yuta HIGUCHI
f1f1d32f6f Workaround for ReflectASM bug.
- When spanning multiple class loaders,
  Object cannot be instantiated from 'protected' constructor.

Change-Id: Iacb33755ccf3da3d8ec28623b9d3aaa28870208d
2014-10-07 21:09:56 -07:00
tom
260a778f1c Merge remote-tracking branch 'origin/master' 2014-10-07 17:43:55 -07:00
tom
53efab57e0 Added Version and CoreService/Manager as an initial outline of a bootstrap coordinator. 2014-10-07 17:43:48 -07:00
Yuta HIGUCHI
24b2e2ae8e Fix Mastership timstamping issue
Change-Id: I80cfa71f844ddf7d64dbff0458db193734a3f737
2014-10-07 17:31:45 -07:00
alshabib
902d41b8cd initial working impl of batch operations
Change-Id: Ie970543dec1104a394c7bcfa6eec24c0538278d6
2014-10-07 16:52:05 -07:00
alshabib
8ca53901fe added hashcode and equals to treatments
UnmodifiableCollection can be bad in a hashCode

Change-Id: I55700541dc7ab46b21e5e9e9cc19c70f0c7f7494
2014-10-07 13:11:17 -07:00