2466 Commits

Author SHA1 Message Date
Thomas Vachuska
80b0a802cc Added deviceId to the DriverData as part of available context.
Change-Id: I5be94f35a2889e0c93cf3c20c4c9d6f907411121
2015-07-17 16:10:52 +00:00
Hyunsun Moon
9fed5282b5 ONOS-2402 Add L4 modification instruction type and class
Change-Id: I74fec41f865191371a908cef86c00218f8a1a203
2015-07-17 15:51:28 +00:00
Sho SHIMIZU
abd849cac1 ONOS-2382: Define a new resource management API
Change-Id: I8abbb30967a7f99ea96b22613b40b2bc0a0ce73c
2015-07-16 22:02:40 +00:00
Brian O'Connor
597934f755 ONOS-2381 Fixing intent purge command
We need to remove the current value.

Change-Id: Ib15f9b097e3df096b45367012d067973436e1d85
2015-07-16 18:54:24 +00:00
Madan Jampani
40537ca1a9 Moving to Copycat version 0.5.0.onos12-SNAPSHOT to pick up latest fixes
Change-Id: I1c7851f67b30b706319682b850c6398777ba32f2
2015-07-16 11:29:58 -07:00
HIGUCHI Yuta
4af6b0345c Separate HandlerBehaviour for Port administrative state
Change-Id: If15e88d92a4b6a83eba6b0162d4a5e29fba438c6
2015-07-16 16:17:12 +00:00
alshabib
e27055bed2 Initial skeleton of OpenFlow meter provider
Change-Id: Ifa0992f5c60f2ca65b97bdd553dc41cd7a55430c
2015-07-16 11:35:23 +00:00
Thomas Vachuska
7b438afd38 Initial sketch of the virtual network constructs.
Change-Id: Ibcdafb9e56edb29fb37b80d7b0da321ad989c564
2015-07-15 19:09:56 -07:00
Hyunsun Moon
a08c5d0a61 TUNNEL_ID field support in flow matching and actions
Change-Id: I886123a7c8d57dc4a3e12727ec8a9be4920da79e
2015-07-14 17:56:35 -07:00
Michele Santuari
316d8cfc52 ONOS-1882: fix wrong MPLS label assignment
Change-Id: I469765722b7e2b45551c52427422fbe920bbbb54
2015-07-14 21:36:25 +00:00
samuel
e1fa7324f7 [ONOS-2383]Fixs the DeviceManager.java white-spacing/line-breaks
Change-Id: Ic2f44f5121fa5afbf64a216af301d690106efaf8
2015-07-14 16:35:49 +08:00
samuel
738dfafd6a [ONOS-2159]Add to query devices by type api in DeviceService and
DeviceStore interfaces

Change-Id: Ifa7e94e08eb150fb4d71248a50a390832d1549df
2015-07-11 11:08:57 +08:00
Thomas Vachuska
d5d113b18d Adding ability for driver handler behaviours to obtain services via the parent handler context.
Change-Id: Icc71a0c5f1fd50a4accd35777aeca7d0d5811bbf
2015-07-10 19:18:01 +00:00
Aaron Kruglikov
d812383562 Changed ProxyArpManager to make use of EdgeManager.
Change-Id: I05193146490aba6736c1815bf0d9022df8628973
2015-07-10 17:52:25 +00:00
Thomas Vachuska
96d55b16ad Implementing net config subsystem and revising its interfaces.
Added a few basic configs for device, host and links.

Added initial REST API.

Added CLI.

Tests remain to be added.

Change-Id: Ic7bba4b5ad7d553c51d69f6459b3bff146970323
2015-07-09 14:39:10 -07:00
Madan Jampani
4f1f4cd1e5 Misc fixes/improvments to ECMapImpl. Most notably:
- Fixed logic in determining random peer to do AE
- Fixed for logic for when to do active sync if lightWeightAE is disabled
- Fixed tracking of ECMap activity

Change-Id: I35da91d6ef684e16630be7bd5e518c8400debe14
2015-07-09 20:42:26 +00:00
alshabib
3adfd5729b changing port numbers to port descriptions in port config
Change-Id: Icc719d4b7007f815aefe5171909c96eceb78d6e9
2015-07-09 12:39:32 -07:00
Marc De Leenheer
e48f84eab4 Tiny fix for bidirectional optical intents
Change-Id: Ied5d67205ecf8ce8b08f78b073ad62488caf8b71
2015-07-09 14:29:31 +00:00
Madan Jampani
dbe6703bb2 ONOS-2330: Fixes bug in MapValue.isNewerThan
Change-Id: I2a1bb9299e69254754d4ad6b500a8be0b511211a
2015-07-08 22:55:51 -07:00
Madan Jampani
6db0b44844 Registered atomic versions of int, long and boolean to KryoNamespace.BASIC
Change-Id: Ib9d1e6fc95e25d1197fb28926be3384d6a863090
2015-07-08 04:27:39 +00:00
Ray Milkey
ee49df1650 Unit tests for DefaultLoad class
Change-Id: I9f661bbb20199c190076bcf71537c6c881cebc3a
2015-07-08 00:00:55 +00:00
Madan Jampani
e9b781a3a6 Revert commit-ids 458fb89 && f840886
Change-Id: Id298f8e5dc0a3acee0ac9a82368ab4c2d2648528
2015-07-07 16:24:57 -07:00
Brian O'Connor
6325dad6fc Reducing log level for peer update in IntentStore map
Change-Id: I0cc93784e2ca7dbb8c743840b6427f49a715b554
2015-07-07 15:36:29 -07:00
Madan Jampani
f840886b09 ONOS-2318: Use DEFAULT consistency mode for Raft queries.
Change-Id: I843df946424f832a22466bb297766c804369599a
2015-07-07 21:13:40 +00:00
Ray Milkey
96495ca39d Add unit tests for cluster messaging classes
Change-Id: I77dd4155956dca77e86e9990c7d4f5de394c0e87
2015-07-07 20:48:39 +00:00
Ray Milkey
6d7968e5a8 Refeactor codec helper classes
Change-Id: Ic980293f5df97ed74a73fc54e3dcb197658264f5
2015-07-06 21:58:27 +00:00
alshabib
af734ff4c7 forwarding radius packets to radius
Change-Id: I28678715adc42358d85006e2df0baa25d768746d
2015-07-06 21:20:37 +00:00
Sho SHIMIZU
c4d5661d5a ONOS-2297: Decouple ResourceRequest and ResourceAllocation
Note: This change may break backward compatibility for those defining a
sub-class of ResourceAllocation

Change-Id: I01807b4ebb0f9af8fa822828953965b5119975d7
2015-07-06 13:47:00 -07:00
Sho SHIMIZU
67f94869e6 ONOS-2298: Tag @Beta to resource request/allocation types
Change-Id: I03fd59a74b1ed16b452b51e098e98db3e6bc43f5
2015-07-06 20:40:21 +00:00
Sho SHIMIZU
e825af0d89 ONOS-2296: Tag @Beta to DeviceResourceService
Change-Id: I133d28da7bfd12659fba1c3ec4af72341d0420a9
2015-07-06 20:40:20 +00:00
Ray Milkey
b82c42b0fe Implementation of REST POST API for creating intents
- codec for constraint decode
- codec for intent decode
- POST method for intents
- unit tests for codecs and POST method

Change-Id: Ibc0ef8f99a0c0664710a733985424c77010c49b5
2015-07-06 20:19:42 +00:00
Brian O'Connor
148ba2f86c Improving null safety of GossipIntentStore peer update function
Change-Id: I4f517d899c98f7c6cd0964465dfbcebae17363a3
2015-07-06 20:05:34 +00:00
Sho SHIMIZU
c615485959 Fix suspicious behavior
Union of allocated resources and available reousrces doesn't seem
to be the result as available resources

Change-Id: I3c8f0b3293f81b329aa06de16635adc006730598
2015-07-06 08:48:04 -07:00
Kenji HIKICHI
5448d464e5 ONOS-1680: Close InputStream explictly to delete the opened file reliably.
Change-Id: Iae1a57da007eb50bdf024f4acb73aebb96de7888
2015-07-03 18:24:49 +09:00
alshabib
5f5d281432 Reverting change to IdBlockGenerator that caused NPE when installing flows.
Change-Id: I86ff72d0cd4560dec2c2a1ce4bf97473d36447bf
2015-07-02 18:43:19 -07:00
Aaron Kruglikov
e1200590e1 Completed testing of EdgeManager
Change-Id: I2d2f5ba62951951f29780904acfa5eec07657129
2015-07-02 13:33:38 -07:00
Madan Jampani
43f37959da Added a utility method to MapValue for creating tombstone instances
Change-Id: I2ddc30ebb9dac3b865a13c0a32b46b39cafb1aa8
2015-07-02 12:59:11 -07:00
Madan Jampani
a0ac487b96 ECMap: notify peers only for remove operations initiated locally
Change-Id: I67d66ec366759b8c96fbb686d1af01aa4eaaa83c
2015-07-02 19:32:52 +00:00
Sho SHIMIZU
716c8e9c65 Avoid down cast
Change-Id: I8e85ca3ac5df8b14f52f4c4e0606bd570853d92a
2015-07-02 11:36:42 -07:00
Sho SHIMIZU
ac63c30fd4 Use diamond operator to remove compiler warning
Change-Id: I04c4d49ccf43b10a0443bdd9b3e4a1014c492d5d
2015-07-02 18:01:49 +00:00
Sho SHIMIZU
1c221ade61 ONOS-2294: Redefine LinkResource as interface
LinkResource was defined as an abstract class, but it doesn't define any
methods. Maker interface fits this case.

Note: This change may break backward compatibility for those defining a
sub-class of LinkResource.

Change-Id: I53cb7e8eae7057d07c63960c488979a99cd54d52
2015-07-02 10:43:18 -07:00
Madan Jampani
5300bb8c37 ONOS-2292: Use the passed in value to generate timestamp in ECMap's remove(key, value) method
Change-Id: Ic2fe04a72d8f9c63431ee48a4d0b78005b694142
2015-07-02 17:23:35 +00:00
Dusan Pajin
6b887c900c Added matching vlan and push, pop and rewrite VLAN ID treatement in Intent add command. Added MPLS intent support for vlan operations
Change-Id: Ia70f13209adecaebde93a6fe7bd07b8e5a21074d
2015-07-02 16:21:28 +00:00
Madan Jampani
d13f3b8854 ONOS-2280: Fix NPE in hosts EC map
Change-Id: I4cb74d7c9526dc0e836e1e2790748324f60183f5
2015-07-02 06:28:19 +00:00
Ayaka Koshibe
41ee2f0e5d added missing descriptions to pom files
Change-Id: I6a8f15ce7cc706ef970dd5c98f6c0320bf8ad821
2015-07-02 06:13:23 +00:00
Sho SHIMIZU
f45d85d88d Make ObjectiveInstaller thread safe
Objective installer may have been dispatched to a different thread and
numAttempts was possibly accessed from multiple threads

This solution is to create a new instance for the next trial

Change-Id: I5d85f87567241f3e072c38f094eb5c7ba511a6a5
2015-07-02 06:04:35 +00:00
Sho SHIMIZU
f3ae3fb93d Follow the convention for Javadoc
Change-Id: I32742fdeafaa08171915883c6d6fdc0373db9efa
2015-07-01 19:02:02 +00:00
Jon Hall
d46280cd53 Register Versioned with Kryo to fix ONOS-2169
Change-Id: I964f83161a26749953a7c7ae4bf765c01a5a67a6
2015-07-01 17:59:23 +00:00
Sho SHIMIZU
fee286d1c4 Fix typo
Change-Id: I2e1d9f24065bfb7c49a968cd04ab028b50f90231
2015-07-01 10:19:19 -07:00
Sho SHIMIZU
23aa2e7c4b Follow the convention for Javadoc
Change-Id: If8d563807a2af99d049601078ddd715aea3132f3
2015-07-01 16:57:08 +00:00