399 Commits

Author SHA1 Message Date
Thomas Vachuska
3dc5435e21 Merge "Add constraint for waypoints" 2014-11-06 07:56:38 -08:00
Sho SHIMIZU
0e51fe55c4 Add constraint for waypoints
Change-Id: I8156920d4d3d85aee060b9d0fe925f43f9b15ff1
2014-11-05 18:44:00 -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
Pavlin Radoslavov
5b5dc48d9c Updated the ProxyArpManager to use Ip4Address instead of
the more generic IpAddress.

The ProxyArpManager is defined and works only for IPv4, hence
we should use the concrete IPv4 addresses.

Change-Id: Ie43ca17ce03ea86d2efb6b33f55a5dcafb2ab985
2014-11-05 14:48:08 -08:00
Ray Milkey
7808105d8c Add unit test for Instructions class and improve Criteria toString() test
Change-Id: Ie1ffb4ca0c0bcd168625213fecbdb3818a61704e
2014-11-05 12:36:36 -08:00
Ray Milkey
9d0786579f Change byte declarations to shorts to match new API
Change-Id: I7524537b4f3405ad06ed6444133304de0a7814cf
2014-11-05 10:35:54 -08:00
Thomas Vachuska
f2b6721a8f Merge "Unit tests for LinkKey and Criteria classes." 2014-11-05 09:42:24 -08:00
Ray Milkey
33d9023f5f Unit tests for LinkKey and Criteria classes.
Change-Id: I4957cd01c66f191cb679da57779283f50db3911c
2014-11-05 09:39:13 -08:00
Sho SHIMIZU
d6a18709c6 Add more descriptive Javadoc
Change-Id: I531722465a7575793c3efbf0bf44ee4ff9bac928
2014-11-05 09:06:29 -08:00
Sho SHIMIZU
f4dbc72638 Remove unnecessary type parameter and cast
Change-Id: Id3d395a614f94029bc565b2f317b284210cd96cd
2014-11-04 18:56:55 -08:00
Thomas Vachuska
be21f02a51 Merge remote-tracking branch 'origin/master' 2014-11-04 17:40:00 -08:00
Thomas Vachuska
7d0032bf8b Added constructors for serialization of the new constraint types and registered the types with the serializer pool. 2014-11-04 17:39:57 -08:00
Yuta HIGUCHI
5e8ceb455e checkstyle fixes
Change-Id: Ida02536e61f61b8883810866d28bdaad206f645d
2014-11-04 17:22:26 -08:00
Thomas Vachuska
edc944c3fc adding constaints to intent API 2014-11-04 15:42:52 -08:00
Yuta HIGUCHI
3e5d11ab1e Add GossipLinkStoreTest
Change-Id: If3d9777583a38d911b19bb1bc50212ccb621918a
2014-11-04 14:16:44 -08:00
Thomas Vachuska
c5ea9504e9 Modified envDefaults to use Karaf 3.0.2 2014-11-04 10:25:46 -08:00
Yuta HIGUCHI
5c94727a3c javadoc fixes
Change-Id: I3b4fc2d99f42b2413a535fb411b9c19bdd186ad8
2014-11-03 21:39:21 -08:00
Jonathan Hart
a887ba8ae0 Refactored the HostStore to allow multiple MAC addresses bound to a single port
Change-Id: Icd3b2e483b15486251ac1cca107478a012d1a3e7
2014-11-03 17:14:10 -08:00
Yuta HIGUCHI
909d226386 Workaround for PathIntent serialization issue
Change-Id: Ic0a36391ff22247d20d3e2b185c4d867a4e81780
2014-11-03 15:46:22 -08:00
Praseed Balakrishnan
5c324331e3 Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next 2014-11-03 14:56:44 -08:00
Praseed Balakrishnan
2dd5abd17f Optical Treatment to include SigType 2014-11-03 14:56:28 -08:00
Yuta HIGUCHI
2fcb40ce06 FlowRule subsystem bugfixes
- RULE_ADDED will be posted when the Flow was confirmed by stats,
  even if they were installed as a batch
- Properly handle batch in Simple store

Change-Id: I0a0e15b29ff9c0d56d5a646e0751511d73c8f552
2014-11-03 14:49:27 -08:00
Thomas Vachuska
9d8f72fb55 Removed unneeded import that was breaking the build. 2014-11-03 10:14:05 -08:00
Yuta HIGUCHI
4ce6529f90 Instructions: bug fix
Change-Id: Iaee3baaa9545a3ce61d7d6cacec125cb1249b346
2014-11-02 20:21:33 -08:00
Brian O'Connor
fe0f4b1c3a Adding resource-{available,allocated} CLI commands and lots of toStrings
Change-Id: Ib23eda2d9feb523e23dc33fb437994267b4cc555
2014-11-02 00:34:10 -07:00
Ayaka Koshibe
98bd12f69c modificiations to emit BACKUP_CHANGED Mastership events
Change-Id: Id61dcc9dc42c8c246313afbec8d19142e6c855a5

Conflicts:
	core/net/src/main/java/org/onlab/onos/net/device/impl/DeviceManager.java
2014-11-01 20:13:37 -07:00
Yuta HIGUCHI
548153202c Changed argument from Device -> DeviceId
- roleChanged(), isReachable()
   Eventually consistent nature of Device store was
  interfering with mastership control.

Change-Id: I9c0dd846a4e30863f922f6706c6cb62fd7c83f29
2014-11-01 09:45:23 -07:00
Yuta HIGUCHI
13c0b87df5 Add API in DeviceClock*Service to check if Timestamp can be issued.
- check local DeviceClockProviderService before trying to
  store Port update information.

Change-Id: I22c94cb712d7001a227497b723780b6db3fbdf04
2014-10-31 23:21:38 -07:00
Yuta HIGUCHI
8cc437828a fix javadoc
Change-Id: I9b2a36acaaf8d2cd01687c526d53e839bc9a9aa7
2014-10-31 23:21:38 -07:00
Ayaka Koshibe
3ef2b0db6c vertical feedback path for Role replies
Change-Id: I31bdb85f90901ec79147adeea0df8ceae00ed1dc
2014-10-31 14:02:54 -07:00
Thomas Vachuska
442d26a9cf Added javadocs. 2014-10-31 08:45:14 -07:00
Brian O'Connor
41718fced1 Applied some fixes to Intents
- Use classname instead of class in IntentId
- Added hashcode and equals to LambdaResourceAllocation
- Untrack resources in IntentManger during uninstall
- Refactored common code in OpticalPathIntentInstaller
- Copied SimpleLinkResourceStore to DistributedLinkResourceStore
- Added a few unserializable files to KryoNamespaces

Change-Id: Ic35d102244972d5cf0c64482fd99e8c9bb1293a6
2014-10-30 16:59:19 -07:00
Thomas Vachuska
4b42077418 Cleaned up a slew of Javadoc errors in preparation for switch over to Java 8. 2014-10-30 16:46:17 -07:00
Pavlin Radoslavov
855ea2d5b9 Refactor the IpPrefix API and implementation:
* Now IpPrefix uses IpAddress to represent the subnet address
 * The IpPrefix subnet address is masked-out by the prefix length.
   E.g., IpPrefix("1.2.3.4/24") is now stored as IpPrefix("1.2.3.0/24")
 * Removed IpPrefix methods that are not used or don't apply anymore
 * Replaced usage of IpPrefix with IpAddress where appropriate
2014-10-30 15:32:39 -07:00
Yuta HIGUCHI
dfe6e3bd05 allow null Master in MastershipTerm
Change-Id: I840354eb6d0b5a1bac91887a41626c33c49d592c
2014-10-30 12:10:24 -07:00
Toshio Koide
bce7425092 Add javadocs for ResourceType. 2014-10-30 11:14:56 -07:00
Jonathan Hart
4f60f98bd8 Implemented multi-instance packet out.
We've defined a PacketStore abstraction through which outbound packets are
sent. The packet store has a simple implementation (basically a no-op) and a
distributed implementation on top of the cluster messaging service.

Change-Id: Ib32753314fe518ef1fd67c858db744b004539938
2014-10-30 11:02:52 -07:00
Toshio Koide
07df706db1 Add javadocs for LinkResourceStore interface. 2014-10-30 10:54:25 -07:00
Yuta HIGUCHI
4b0ca2cfb1 Add constructor to create empty RoleInfo
Change-Id: If16483fb20d8d0010a22982e0d8f20a295017e62
2014-10-30 08:21:27 -07:00
Toshio Koide
106d4495d3 Initial implementation of LinkResourceStore for single instance env. 2014-10-30 04:23:23 -07:00
Thomas Vachuska
a05c0a2941 Merge "Prototype bandwidth reservation" 2014-10-29 18:26:50 -07:00
Thomas Vachuska
d16ce18d0c Added Port.Type and plumbed it throughout. 2014-10-29 17:25:29 -07:00
Ray Milkey
caa450ba34 Prototype bandwidth reservation
This is a prototype of the bandwidth reservation implementation.
There is no bandwidth discovery, it is all faked.  The bandwidth is
specified by allocating a special Intent used for demonstration purposes.
This code also uses faked out interfaces in the Resource Manager, and will
need to be refactored when the real Resource Manager is in place.

Change-Id: I1f9a16b4144f5440bb529014a6a6f0f21d22839e
2014-10-29 16:10:16 -07:00
Yuta HIGUCHI
6a529232f6 Change ProviderId.NONE to none:none
Change-Id: I556f5cdbb555d195950985cdbd4dab538132a154
2014-10-29 12:21:31 -07:00
Ayaka Koshibe
e60d452eda avoid transient changes to MastershipStore from being posted as events
Change-Id: Id033cf50f865e44439138f5b3814ebaedb832b73
2014-10-29 11:15:59 -07:00
Yuta HIGUCHI
b87ef9587d human readable time representation for toString
Example:
 LinkEvent{time=2014-10-28T23:24:23.461, ...

Change-Id: I439cea488afd97dfa4f1c1e5770f2e2d7b64d321
2014-10-28 23:34:23 -07:00
Yuta HIGUCHI
4b52444082 DistributedFlowRuleStore related fixes
- handle no master for Device case
- Changed failed item type to FlowRule

Change-Id: If6c85751759cf6ba9ab0ed0384cbe1bf08a5d572
2014-10-28 22:23:57 -07:00
Yuta HIGUCHI
10a31c3b85 initial Distributed IntentStore using Hz
Change-Id: Iffb3f5fdfe8ba080fd039e67f8473ea18348f20d
2014-10-28 14:42:06 -07:00
Thomas Vachuska
4f1a60c9fd Revised copyright message. 2014-10-28 13:39:11 -07:00
Toshio Koide
9be539e079 Preparing implementation of link resource data store. 2014-10-28 11:07:52 -07:00