1270 Commits

Author SHA1 Message Date
Ayaka Koshibe
5373e76dc1 Managers refactored to use ConfigOperators:
o Device, Host, and LinkManagers now use respecive ConfigOperator
implementations to combine Descriptions with Network Configs. This
refactors work done in 3a0cdd57e7b2c2bbdc44743b780b072cb0475f2d.

o Touchups on ConfigOperator impls

Change-Id: I735e7e6bfa0c47c8727433aab804cb2782eebfff
2015-08-07 01:53:00 +00:00
Thomas Vachuska
b2c47a771a Adding ability to synchronize topology clusters' broadcast trees.
Proxy ARP now supports deferred ARP replies until instance learns of the subject host location.

Change-Id: Ib3ee97c0812858b5b4972d945e9e6d2bd397d4c5
2015-08-06 17:38:02 +00:00
Ayaka Koshibe
f1cedf48e0 host config operator
Combination operator for host-related configuration information,
including tests.

Change-Id: I3631db111b7a1140badf1b9f323a3a5811ac7297
2015-08-06 16:06:37 +00:00
Ayaka Koshibe
0891129167 Refactoring BasicDeviceOperator:
It's no longer a subclass of BasicDeviceConfig.

Change-Id: Icb7cc7e133428a19ddd739e4135c59854b082488
2015-08-06 01:19:47 +00:00
Ayaka Koshibe
cc260d2256 link config operator
Combination operator for link-related configuration information,
including tests.

Change-Id: I25ce27b3465e87acc718fe50063bc72ce68d095f
2015-08-06 00:45:03 +00:00
Ayaka Koshibe
e39c23aa3a Notion of config operators:
Added operator for combining configuration info for Optical ports
from various sources. Also includes minor tweaks to OpticalPortConfig,
and javadoc fixes.

Change-Id: I754b2e29f560b473d1f791025f8b8b18c8d75a13
2015-08-05 23:10:16 +00:00
Ayaka Koshibe
b1ffb0044d device config operator
Combination operator for device-related configuration information,
including tests.

Change-Id: I0320f7b568979063947a37cf2749daae7a1a05f1
2015-08-05 20:28:40 +00:00
Thomas Vachuska
320c58f38d Refactoring to eliminate duplicate DefaultTopology and DefaultTopologyGraph; eliminating a few fixmes.
Change-Id: Ie0e38dbf812bafdb7c94bba5278f0dd9af5be929
2015-08-05 10:55:11 -07:00
Jonathan Hart
94470fe8b5 Objective tracker doesn't need to react to port events
Ported from onos-1.2 branch.

Change-Id: I73ce4d09a0d8f9ba24d335798187de83f515d5a1
(cherry picked from commit e0ec88bda3e1002a4d27316ea1d01ddf27e68da1)
2015-08-04 17:59:48 +00:00
Thomas Vachuska
88fd690635 Adusted log-levels in flow store and packet manager.
Change-Id: I38748bfddfe1aae66bd8a6a9086575dc2e155078
2015-08-04 17:20:42 +00:00
Thomas Vachuska
409b9cbf72 Increasing tolerance for evicting latent listeners.
Change-Id: I3ab62084479185160ef7cc8ba5035a34cb96ad15
2015-08-03 16:37:44 +00:00
Madan Jampani
565a66afbb Bug fixes/improvements:
1. DeviceManager must not have a dependency on DeviceClockService. Clocks and Timestamps are purely distribution concerns.
2. Eliminated DeviceClockProviderService which merely served as a cache for mastership terms thereby introducing a source of staleness. Now we directly query mastership service which is already optimized for high volume reads.
3. DistributedLeadershipManager fix to ensure election won by local node immediately reflects in the local leaderboard. This is to ensure a subsequent read does not return a stale value.

Change-Id: I774b64923e382b788df5f8bde2a9fafc0294bad0
2015-08-01 16:44:57 +05:30
Thomas Vachuska
d894b5d5f7 Fixing javadoc warnings, provided missing package javadocs and corrected group structure.
Change-Id: I2637afe49b81e8e6d10ef3bb0f2a1cf50b2564cc
2015-07-30 20:27:44 +00:00
Thomas Vachuska
42e8ccead4 Adding some base-classes to eliminate event and listener boiler-plate code throughout a number of subsystems.
Refactored all core components to take advantage of this; apps remain to be done.

Change-Id: Ib0935ba07ff81b0fa032534004ec9ac6187cbf22
2015-07-30 17:30:43 +00:00
Marc De Leenheer
b931137eb6 Driver and flow stats handling for Calient fiber switch S160.
Bump loxigen to 0.4.1.onos-SNAPSHOT.

Change-Id: Ieb8aa4fe716e12f89b83770eff617561f30cdd08
2015-07-30 16:34:26 +00:00
Brian O'Connor
ce2d8b5680 Initial implementation of the intent domain manager
Change-Id: I9721449599a4a67bfad7469173c3b47a681873f6
2015-07-29 16:24:13 -07:00
Sahil Lele
3a0cdd57e7 Devices,hosts, and links can be blocked and kicked off with the network configuration api
Change-Id: I68d427f4886a7b63475df8d35383e2e347946946
2015-07-29 01:00:13 +00:00
Xin Jin
313708b8fc Adding experimental Flow Objective composition
Change-Id: I35e4414845ad5034145157ab83f933e40f75a1d9
2015-07-24 13:48:53 -07:00
Sho SHIMIZU
78ee25ce77 ONOS-2387: Initial implement ResourceService
The current limitation are
- Lack of unit tests for ResourceManager and ConsistentResourceStore
- No means to declare the resource space (range) of a resource type
- Not taking care of resource hierarchy (dependency)
- Lack of automatic resource registration mechanism

Change-Id: Ib2d6734de1e498827d6cc11b9d3e224b157a27aa
2015-07-24 16:45:21 +00:00
Jonathan Hart
aae93b29b6 Periodically retry failed intents.
Fixes ONOS-2433.

Ported from onos-1.2 branch.

Change-Id: I6ebd640398efe5db39fc855c406e52ce7dc539b9
(cherry picked from commit f72a631d33074d78a2ce85fac6eb10dc6c857704)
2015-07-24 16:06:35 +00:00
Thomas Vachuska
b19bffb664 Hunting down elusive source of lag.
Change-Id: I9380bc5238202aeac7cbf89c32121b088451e02d
2015-07-22 10:56:16 -07:00
Thomas Vachuska
8d03367801 Fixing log messages
Fixing onos-config glitch

Change-Id: I15a1d7bc0a4fc50773f041328958bf02e8e4cb0f
2015-07-21 16:15:04 -07:00
Thomas Vachuska
0121a61550 Increased tolerance for pingall test
Moved-up a time-stamp in FlowObjectiveManager profiling.

Change-Id: Iedd38a721ace5eb6f25f5a050b9f49dea3e271a2
2015-07-21 18:26:37 +00:00
Thomas Vachuska
94c3cf4f5b Adding some instrumentation to figure out where transient delays in creating pipeliner come from.
Change-Id: I7ad08a660f2915f6df4ceeaa63f798eaca0720a8
2015-07-20 13:01:12 -07:00
Thomas Vachuska
9c9ff7c170 Initial skeleton for the flow space analyzer application.
Change-Id: I1fe9e57a6c66e80a504b98f46fc160aa34003172
2015-07-20 10:38:59 -07:00
Thomas Vachuska
174bb91e6e Simplified onos-wipe-out shell tool
Added instrumentation to FlowObjectiveManager to confirm/deny time-cost of pipeliner setup.

Change-Id: I93bcd786b0a7cb2b953a23c51f82a20d915d8d1a
2015-07-17 16:11:04 +00:00
Thomas Vachuska
80b0a802cc Added deviceId to the DriverData as part of available context.
Change-Id: I5be94f35a2889e0c93cf3c20c4c9d6f907411121
2015-07-17 16:10:52 +00: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
Aaron Kruglikov
d812383562 Changed ProxyArpManager to make use of EdgeManager.
Change-Id: I05193146490aba6736c1815bf0d9022df8628973
2015-07-10 17:52:25 +00:00
Marc De Leenheer
e48f84eab4 Tiny fix for bidirectional optical intents
Change-Id: Ied5d67205ecf8ce8b08f78b073ad62488caf8b71
2015-07-09 14:29:31 +00:00
alshabib
af734ff4c7 forwarding radius packets to radius
Change-Id: I28678715adc42358d85006e2df0baa25d768746d
2015-07-06 21:20:37 +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
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
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
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
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
0e6fd0642f Remove package-info because IntentInstaller no longer exists
Change-Id: Ic45e6e9c7dd53f37f2f2265a22a23a5eb9a06dbd
2015-06-30 19:04:57 +00:00
Thomas Vachuska
f3ed655a8e Seeding a test for the edge-manager implementation.
Change-Id: I6743aae85eab1444bcafcc2f1d8514cc2c2a5bc0
2015-06-29 21:27:48 +00:00
Thomas Vachuska
8502192ecb Finished implementation of edge port manager using topology event async notifications.
Change-Id: Ide0eb947ba6400dafe11dac73af1466aaf0ce451
2015-06-29 21:27:48 +00:00
Aaron Kruglikov
a2b5915426 Not ready, commiting to transfer between systems for work.
Change-Id: Ifb3d2ce184761574aa0fd35211deacfac1236d63
2015-06-29 19:14:30 +00:00
Jonathan Hart
2a65575cf8 Improve the resiliency of the packet deserialization code.
Packet deserializers now check for malformed input while reading the byte
stream. Deserializers are re-implemented as functions that take a byte array
and return a packet object. The old IPacket.deserialize(...) methods have been
deprecated with the goal of eventually moving to immutable packet objects.
Unit tests have been implemented for all Deserializer functions.

ONOS-1589

Change-Id: I9073d5e6e7991e15d43830cfd810989256b71c56
2015-06-29 16:31:11 +00:00
alshabib
caf1ca2b1d adding EthType to secure handling ether types
this will also pretty print ethertypes in flow output

Change-Id: I9363070ad308f3c756735e29b3992c500e503636
2015-06-26 13:44:55 +00:00
Brian O'Connor
8113466429 Fixing FlowRule priority in intent compilers
Change-Id: I13998e88d2a116017e87c019f4829101db6c6b6b
2015-06-25 22:24:01 +00:00
Brian O'Connor
390c99701b Refactoring BlockAllocatorBasedIdGenerator.java
Allowing first call to getNewId() to throw an NPE, and handling initial setup in catch block

Change-Id: I409aa9c8a309dbbf4fc3738c3870ec4d91831303
2015-06-25 16:07:06 +00:00
Thomas Vachuska
27bee09007 ONOS-2145 Added ability to withdraw packet intercepts via PacketService::cancelPackets.
Change-Id: Ie41271fa02740560bd67b0faf49f633ee749773c
2015-06-23 19:03:10 -07:00
Thomas Vachuska
c97aa6110e ONOS-1793 Moved trivial stores to onos-core-common/src/test; onos-core-trivial is no longer.
Change-Id: Ie4824db36e3a7eb6db3b953ee1f2786d3e22194f
2015-06-23 23:39:49 +00:00