3083 Commits

Author SHA1 Message Date
Madan Jampani
29f52a3e30 ONOS-2322: Support for periodic purging of ECMap tombstones
Change-Id: I6fe5475a472c383c4a51bd61446fba8f1dba1d37
2016-04-18 23:35:37 +00:00
Charles Chan
d55e84de33 CORD-348 multicast support in SegmentRouting and vRouter
In this submission:
* Setup/teardown multicast route according to SinkAdded/SinkRemoved event
    - ingressVlan and egressVlan is configurable through network config
* Change behavior of OFDPA VLAN assignment
    - Always use the VLAN in metadata if present
* Bugfix of writing immutable object

NOT in this submission (coming soon):
* Error handling (e.g. link/device failure recovery)

Change-Id: I9be11af04eb2d6456b865c7e59e96cc02370f846
2016-04-18 20:06:57 +00:00
Madan Jampani
e9c9a71cd3 Ensure serialization exceptions are appropriately reported
Change-Id: Ib7a11f246a79e84e7d1a9e4bddc85d08e0f0cbf0
2016-04-18 18:48:32 +00:00
Jian Li
dab7256be5 [ONOS-4258] Initial implementation of supporting extension in REST
- Support Nicira extension

Change-Id: I62bf4417e43459727ce7d4b1ac929c6cf0b7826f
2016-04-18 17:24:04 +00:00
Jian Li
1546882885 Revise ChartModel and add ChartRequestHandler, ChartUtils classes
Change-Id: I9c72122368c8270df9a1055845281e999d488243
2016-04-18 17:23:18 +00:00
Hyunsun Moon
7bfbc1ce33 ONOS-4154 generates consistent hash for flow ID across multiple instances
Change-Id: I8de850dcc5d6d40ed563f7d476c6e13a09060093
2016-04-18 17:22:02 +00:00
Jonathan Hart
a2eb9ffdde Adapt FIBs to new route interface
Change-Id: I8ac19ad578aac4607fd8319186b6568a21edc1fd
2016-04-18 17:21:36 +00:00
HIGUCHI Yuta
caad26b86f Fix for ONOS-4315
- Additional log on error
- Allow count=0 using CountDownCompleter
- test case to detect the issue (@Ignored by default right now)
- other bug fixes found along the way

Based on patch by Madan@China

Change-Id: I7d6cb8c214052859900ef7ee0337a7e1c8a9d295
2016-04-16 16:06:11 -07:00
Andreas Papazois
827d8d03c0 [GEANT] VLAN arg not needed when removing interface.
Change-Id: I9015f7df65b924901dab7c32a7dd757f7fa55234
2016-04-15 16:57:02 +00:00
Simon Hunt
338a3b4512 Starting implementation of UI topo modeling. WIP.
If reviewing this, please refer to http://tinyurl.com/onos-ui-topo-model

Change-Id: Iab75f213ca0a7d36619f9c498387b402ac9477af
2016-04-14 09:44:00 -07:00
Andreas Papazois
59e19bbc76 [GEANT] Multiple VLAN-IDs allowed for trunk mode of ports.
Change-Id: Ib6add6f4bcdcc9ed0fb0448fef91f9f0dbebb57d
2016-04-13 20:21:51 +00:00
HIGUCHI Yuta
16e9d28261 Attemp to improve hasPendingUpdates()
- Create update list using Stream, so that
  hasPendingUpdates() can short cut on first update found.
- Might improve performance when there is large number of updates in a Tx.

Change-Id: I20820b7212c642315a620d715b5c750e35d31dd0
2016-04-13 18:46:29 +00:00
Jonathan Hart
26bd81332e Add encapsulation classes to Kryo
Change-Id: I37c9858f611a31a7949de7cf9000d1131203ae71
2016-04-13 10:39:55 -07:00
Konstantinos Kanonakis
c5d93e64fc Added meter and table transition instructions to flows REST API.
Change-Id: If9d3f61020fab3a91009e3f067b04bd19bbc52d1
2016-04-13 17:04:32 +00:00
Jonathan Hart
6552b8d6f9 Fix Kryo issues with FlowObjective-based intents
Addresses ONOS-4206.

Change-Id: Ia66e2d227c7f68053fbf7f404b76bc411ab2eeb5
2016-04-12 21:56:16 +00:00
alshabib
b05be2d9ed Adding support to remove a subscriber.
And fixing an issue where build on a flowrule could not be
called repeatedly.

Change-Id: I85773ac7a3fb4f2970b63599d1eafbfc8b3c5879
2016-04-11 20:52:49 +00:00
Simon Hunt
23fb13539e Started fleshing out the UI topo model classes.
If reviewing this, please refer to http://tinyurl.com/onos-ui-topo-model

Change-Id: I4738392bec1a89c37dff15eff6fe04d66fcabd95
2016-04-11 12:17:50 -07:00
Simon Hunt
cda9c03749 Converted UiSharedTopologyModel to be a @Service.
Change-Id: Idc8df1b9c0a52db01ac545567dacc0e1c770f84a
2016-04-11 10:33:08 -07:00
Sho SHIMIZU
7d4f2f7c8f Tighten visibility
Change-Id: I5ae3c63d4e8361c488a06f71ff83cb1ff8ca5f4e
2016-04-11 17:20:45 +00:00
Claudine Chiu
f6bf8d5076 ONOS-4077: REST API's for virtual links.
Change-Id: Idc838f24735e75ad2729393a03dcac4d256239bb
2016-04-11 17:18:53 +00:00
Andrea Campanella
c8eca242e4 Detect circular app dependency
Change-Id: Ib3e2d802dfe3675ef5c8ef8818c1127ed145adf1
2016-04-11 17:17:57 +00:00
Brian O'Connor
7cbbbb7009 Adding Copyright notice to files that are missing it
Change-Id: Ic08aad8906dbd4dd062e7adcec7465475cf2bdda
2016-04-09 09:51:27 +00:00
Brian O'Connor
5ab426f9ff Updating copyrights
New format: 'Copyright .year-present Open Networking Laboratory'

Change-Id: I1a9e58b355b775e75245ad875a2d7a4df3f03098
2016-04-09 01:20:21 -07:00
Brian O'Connor
e4da59d8aa Simplifying rules and providing sensible defaults
Updated cordvtn, dhcp, fwd, onos-api, of-api, onlab-rest, onos-rest, onos-gui

Also, fixed checkstyle error print

Change-Id: I9d6ab76791e8603678079067a3b4e007ca7c4667
2016-04-08 18:43:36 -07:00
Brian O'Connor
e4a4f99f1d Updating ApplicationArchive.isPlainXml() to exclude files that begin with zip magic bytes
Change-Id: I0a7b2c64dfb9b1118164023442dcf7871fc2b587
2016-04-07 15:29:14 +00:00
Jonathan Hart
f04b7d9249 Small cleanups for vRouter app
Change-Id: Ibee46d3b95ee76dd3547e11d046c4620b3b3306d
2016-04-07 15:10:03 +00:00
Sho SHIMIZU
a6b4dc7b4d Extract interface consisting of read-only operations
Change-Id: I0e43b25ea5feba6af882addb0e734d0662f3808f
2016-04-07 15:07:13 +00:00
Ray Milkey
7c25182db9 Fix buck tests
Change-Id: I3d681e6e5c1d3e98c87ccb3d20a619b216ae6133
2016-04-06 19:04:52 -07:00
Brian O'Connor
b86c920526 Updating Buck files to build OSGi jars
- Using osgi_jar for all modules except apps
- Adding target for installation of core modules to .m2 repo

Change-Id: I65d9e3a9567918e275191724842d7d9b1f485128
2016-04-06 18:17:37 +00:00
Jonathan Hart
bfc5c48c73 Implementation of the route service
Change-Id: I4e905cf868ad69c426e4f4155dfd83e1f8b00335
2016-04-06 17:42:10 +00:00
Brian O'Connor
96f689b317 Renaming onlab-thirdparty to atomix
Change-Id: I258b80c9bd6481664585812bca738651fd348363
2016-04-06 17:39:54 +00:00
Brian O'Connor
85f28d0a0a Updating test sources in several BUCK files
Change-Id: I17b83cb978f7b8fc1d31a1e96bec59a077dbdfbb
2016-04-06 16:57:45 +00:00
Madan Jampani
68b1f5a117 Fixes NPE in AtomixLeaderElector
Change-Id: I0db39b4e09af10f92fe06ba8c7372994e776a6e2
2016-04-06 16:46:55 +00:00
Charles Chan
c72271ffb2 Add flow objective related classes into KryoNamespaces
Change-Id: Ide9e6ab3108c1ad1d6701f1308ed72c282c20693
2016-04-05 23:42:23 +00:00
Madan Jampani
542d9e2285 Performance improvements
- Fast path of transactions updating a single key.
 - Bug fix in StoragePartitionClient where we were always creating a CachingMap

Change-Id: Ide117fba34fd12a9ff4aabd5fb7a21952bae672b
2016-04-05 15:41:11 -07:00
Andrea Campanella
58454b9ad7 [ONOS-4621] Unit Tests for Snmp provider and protocol
Change-Id: If70c701478762201b3739d9bd017c9f7eec75db1
2016-04-05 20:39:19 +00:00
Madan Jampani
832686da5f Post DatabaseManager deprecation code cleanup
- Dropping MutexExecutionService as there are now better alternatives
- Dropping New from class names that were added during transition phase

Change-Id: If0cdd3321081c3f8fda81441ef2c84549b616edd
2016-04-05 20:36:11 +00:00
Madan Jampani
38f01690db Dropping DatabaseManager and related code. Goodbye!
Change-Id: I5d90d62678402234462dad8be455903de481da21
2016-04-05 17:10:59 +00:00
Madan Jampani
3780d4b021 ONOS-4218: Fixes for resource store transaction failures
Change-Id: Ie48bb04d7daf6ed7b63c33a3c3c2703496179aa6
2016-04-05 03:05:25 +00:00
Brian O'Connor
344ea7a714 Removing commons-io and concurrent-trees from onlab-thirdparty
Change-Id: Id65a4e05292d9ca2e7a743c48b96c09767602e1d
2016-04-05 00:28:17 +00:00
Aaron Kruglikov
47047b2f65 Adding interfaces and single implementation required for build.
Change-Id: I65d2ce71f29e3d0c031ca3a7713835468c7c062c
2016-04-05 00:02:06 +00:00
Ray Milkey
0ae473d4fc STC fixes
- NPE when a switch has already been removed and an attempt is made
  to access stats on the switch.

- NPE in group provider if the system is in the process of shutting down.

- Lower ERROR to WARN when switch resources are not available.

Change-Id: I5b90ff328b19c2d661fde3a24e90614999c4c900
2016-04-04 21:37:33 +00:00
Rimon Ashkenazy
27438ffa64 Add Optical ODU cross-connect Intent
Create a new intent: OpticalOduIntent in the OTN Topology.
 - This intent finds a path of OTU links, and
 - Allocates TributarySlots resources on the OTU ports (in the path)
 - also add a utility for converting various SignalTypes to
   OduSignalType, and to build the OduSignalId.

Note: this patch follows the example given in patch
https://gerrit.onosproject.org/#/c/7321 of
separate resource search from resource allocation.

Change-Id: Id9808f61aebb80a21481f3882aff23b236b68078
2016-04-04 16:53:43 +00:00
Claudine Chiu
fb8b816235 REST API's for tenants, virtual networks, virtual devices ad virtual ports.
Change-Id: I80abe14a083fce3dc6246118af8874028109388f

REST API's for tenants, virtual networks, virtual devices ad virtual ports.

Change-Id: Ib6c3d69d396e57822bae23f5bf3101c8b9c0b95c
2016-04-04 16:48:46 +00:00
Madan Jampani
5ddaf19fbe Ensure exceptions in map event handling do not prevent event acknowledgement
Set default consistency for ConsistentMap operations to SEQUENTIAL

Change-Id: I8896ae953932bf323c4512842000e78bf395f9b1
2016-04-04 16:38:26 +00:00
Andrea Campanella
3f1c61e79f Removing listeners from deviceService at deactivation of Group and Flow managers to avoid NPE
Change-Id: Ia7526913e4f50b4c49ce9f2ae9ddf85c2db77a3a
2016-04-04 14:37:08 +00:00
Madan Jampani
1ffa46b5b3 Using AsyncLeaderElector primitive for Leadership
Change-Id: I0ff91ddaa3b5dec79e073496044c2f860ae94616
2016-04-04 14:36:55 +00:00
Simon Hunt
f679c4e048 You've been checkstyled!
Change-Id: I0425764b2f3b07bc224a387ab7d544c6b360c691
2016-04-01 17:10:43 -07:00
Naoki Shiota
3bac1c378a bugfix: Partial allocation of ContinuousResource always allocates full amount of the resource.
Change-Id: Ie147f8d55ae3be6e94382bbd773940a11cfd3b5f
2016-04-01 23:55:58 +00:00
Konstantinos Kanonakis
2a3a9659a8 Added meter in DefaultTrafficTreatment toString() method.
Change-Id: I7dabe40897fa1aba3e38cd430a0c89d6e2e6bd32
2016-04-01 23:13:53 +00:00