930 Commits

Author SHA1 Message Date
Changhoon Yoon
541ef71e6c ONOS-1993 Implement API-level permission checking + security util code location replacement
Change-Id: I7bf20eda9c12ed2a44334504333b093057764cd2
2015-05-28 07:06:12 +00:00
Thomas Vachuska
6c8eff3e64 ONOS-1746 Fixed hashCode implementation to be immune from non-deterministic enum hashCode.
Change-Id: I96d0a7850ee28d62b1152c4fee4f4ce7648c4931
2015-05-27 23:18:54 +00:00
Sho SHIMIZU
8f86bb2db3 Remove unnecessary white space from Javadoc
Change-Id: I99b1b85ea704296cb4ec2ce1c84d65b26d0606ad
2015-05-27 11:29:17 -07:00
Saurav Das
86af8f19ae Adding support for writing metadata instruction.
Needed by Centec driver.

Change-Id: I705015c4d7ac881c273a01b36b05d39d9cd9ba87
2015-05-27 16:00:11 +00:00
Ray Milkey
02ce27426e Unit tests for DefaultGroupDescription class
Change-Id: Ic1378e9be3067bd45def74769023d51178765260
2015-05-27 15:50:14 +00:00
Madan Jampani
346d4f5fc6 Add new methods to ConsistentMap API to improve usability.
Change-Id: I1e82f0ab191edc6b0f52c7d7b0307aa3d2ef9d1f

Change-Id: I4c5982fe6596f716729b7885eb584a60735cd41b
2015-05-27 15:49:53 +00:00
Brian O'Connor
30a412deb3 Starting snapshot 1.2.0-SNAPSHOT
Also, fixed onos-upload-bits script to upload rc's to nightly/

Change-Id: I9bb8fe685492e23c740796879f0b66c307e26e56
2015-05-21 18:08:06 -07:00
Brian O'Connor
608e03a1bb Tagging 1.2.0-rc1
Change-Id: I2791aacb0ab4eb0d3db92fef5e58e9c62747bf8c
2015-05-21 17:56:07 -07:00
Thomas Vachuska
b0ca8c51be Fixing javadocs.
Change-Id: Ifc894fce6366baf6cfed655b4bfc5885710be77c
2015-05-22 00:01:01 +00:00
Kaouther Abrougui
d8b565a904 Fixed bug ONOS-1676.
- Added comments and updated counters command display.
- Modified Json output for counters command.
- Fixed indentation and wrapped long code lines

Change-Id: I4ccc7f67071ea587ee0b12e2f59582f5e5ca760f

Change-Id: Id6cdeda344dd429e3a9f9ab7f027b45e7d6f293a

Change-Id: I6b90a868cedfa405f8deabb1cee6988ba6c1f96e

Change-Id: I93710bd69e266779220c5d1a240e6a06090da55c
2015-05-21 22:36:39 +00:00
Madan Jampani
175e8fde54 Removed deprecated ClusterCommunicationService APIs
MessagingService::sendAsync now returns a CompletableFuture<Void> in place of boolean

Change-Id: I98134c4c0ea65b9c7e9ba705eebd1669067324ef
2015-05-21 22:36:34 +00:00
Brian O'Connor
6de2e202f1 Moving LabelResourceManager to incubator
Breaking apart resource package into {device, link, label}
Refactored cluster serializers so they are visible

Change-Id: I71051bcd5e790ae6abeb154bf58286e584c32858
2015-05-21 22:26:49 +00:00
Thomas Vachuska
bf916ea1a4 Moved Tunnel subsystem to ONOS core incubator area.
Change-Id: I03f90b068013fbf0490af5277b33459ccc0514ec
2015-05-20 18:24:34 -07:00
Ray Milkey
e8c632f05b Unit tests for GroupBucket and GroupOperation
Also added the group type to the equals()
method for GroupOperation.

Change-Id: I733f32ee740fd17dd6c3d488abbb8b1656514073
2015-05-21 00:05:34 +00:00
jcc
4a20a5f281 [ONOS-700][ONOS-1801]refactor tunnel subsystem api.
1.use more abstract and more flexible entity[TunnelPoint] to represent
for source or destination point of tunnel,instead of Label
2.suport for muti-producer
3.use Order entity to record tunnel-order relationship
4.modify Tunnel entity to add more properties.
5.rename Label and LabelId to OpticalTunnelPoint and OpticalLogicId in
order to keep code style consistently,at the same time
OpticalTunnelPoint implements TunnelPoint
6.add junit test

Change-Id: I371afcef5501e468a43758c5982e7a93b443b114
2015-05-20 22:34:23 +00:00
Thomas Vachuska
a9d491eed6 Added @Beta annotation to the flow objective API.
Change-Id: I4dd91921db1ff533b0ea1e3244dcdbf08b64a499
2015-05-20 18:51:31 +00:00
Madan Jampani
27b69c6c25 ONOS-1983: Migrating all copycat Raft protocol specific communication to use ONOS cluster communication primitives
Change-Id: I3f07266e50106b1adc13f722c647686c2b42ef7f
2015-05-19 23:02:39 -07:00
Thomas Vachuska
36002e6f81 Made time limit for event processing configurable; cleaned-up duplicate code.
Change-Id: I08e7f1c9f4cdbd6404f1eb5e3544989e7a728d92
2015-05-19 23:58:12 +00:00
Ray Milkey
f410a0c2cf Unit test for Objectives classes
Change-Id: Ie5a48229f948d3b1e6895185e0d20b827577538e
2015-05-19 23:36:22 +00:00
Madan Jampani
afeebbd578 ONOS-1982: MessagingService is now a OSGi service. Has implementations based on Netty and IOLoop
Change-Id: Ia4c99de18e91be1b49bd1fddd86fe89fb83e859c
2015-05-19 23:34:44 +00:00
Thomas Vachuska
1deab53644 Simplifying removeListener to merely log when remove indicates no such listener.
Change-Id: I6d47fd70938b5e049e523f94d3e7242661fb154d
2015-05-19 21:29:41 +00:00
Thomas Vachuska
b17c41f588 Added a detection mechanism for long-running or dead-locked event sinks and listeners.
Change-Id: I21308b058902a94c31c34c2ec2878cd13213874e
2015-05-19 18:25:34 +00:00
Srikanth Vavilapalli
5428b6cf3e ONOS-1438: Segment Routing rule population optimization fixes
Change-Id: I2cad2cd485282b904e035b209530005b93c90ffd
2015-05-19 18:22:44 +00:00
Marc De Leenheer
1afa2a0350 Rewrote optical connectivity intent compiler
Change-Id: I5acece3c14bed8a23f7bbe0c5a9bc0932a2a0881
2015-05-19 18:18:28 +00:00
Ray Milkey
7f58211229 Unit tests for PortAddresses class
Change-Id: I04334b4cce65e169258de608ccc2461421abaacf
2015-05-19 02:15:45 +00:00
Thomas Vachuska
cb5016f137 Fixed GUI pulsing due to PORT_STATS_UPDATE event.
Change-Id: I18b7e8b300f0af6f6cbf453f346808bb1c6d0d3c
2015-05-18 14:11:43 -07:00
sangho
1e57565687 ONOS-688 (ONOS-1835,1836,1837) :
- Implements features to create and remove tunnels and tunnel flow policies.
 - Implements REST API to create/show/delete tunnels and policies.
 - Supports only single instance for now.
 - Fix "apply" actions to "write" actions of all flow rules
Change-Id: I3740ed82fed8eab4ab8b03839192da72d3e223f1
2015-05-15 23:00:16 +00:00
Thomas Vachuska
6cdbdd838f Fixed javadocs.
Change-Id: Ie72449f277aa458d51e66a77c8e2c8c6f6edc2fb
2015-05-15 16:55:26 +00:00
Srikanth Vavilapalli
23181915e1 ONOS-1823 and ONOS-1838:Segment Routing Multi-instance Support-1
Change-Id: I3cc848415a609a9c4001d135e51104c62fb2830d
2015-05-14 20:26:09 -07:00
Madan Jampani
de003d9763 LeadershipService and MastershipService/Store APIs return CompletableFutures so that callers can (optionally) chain together dependent operations
Change-Id: Ia00fcb7d98fbfce897527f67ea9690abf6fe846a
2015-05-14 23:31:27 +00:00
jcc
de3e92eb78 【ONOS-1223】【ONOS-1870】the implements of label resource APIs.it include
commands
used to test
if there is any bug,LabelResourceManager,LabelResourceStore using
copycat,and junit test code.
the distribution strategy is that the master of devices handle all the
requests if applied label belongs to it.except for query request.
label store uses copycat instead of hazelcast to keep strong consistency

Change-Id: I77bde6a96f33098063573d37ed1ba787ae21973f
2015-05-14 22:11:30 +00:00
Simon Hunt
ff66374c6a Renamed AbstractListenerRegistry to ListenerRegistry (since it is not abstract).
- added checkForNonRegistrant() predicate and augmented unit tests.

Change-Id: I7ecc618f01fdc4cead6f143a1e5e0ddd03268efc
2015-05-14 13:33:05 -07:00
Simon Hunt
732bb2e013 GUI -- Further work on refactoring Topology View server side code. Still WIP...
- added topology client heartbeat.
- modified AbstractListenerRegistry to allow for extension.

Change-Id: Ib8ea6ad4ba34f5732d062f1c9ef545f105eb167b
2015-05-14 18:59:43 +00:00
Changhoon Yoon
a7841edace ONOS-1896 : enum Permission added, DefaultPermission removed
Change-Id: Ie75313acc9adeaee9c5a55978b5ec8e8fb5bf9b6
2015-05-14 18:07:00 +00:00
Sho SHIMIZU
c72c8ea4b9 Make methods of TrafficSelector.Builder deprecated
Because direct use of primitive value like short is fragile against
future change and the methods can be easily replaced by
TrafficSelector.Builder.add(Criterion)

- matchLambda(short)
- matchOpticalSignalType(short)

Change-Id: I0f65605a9bccd77a5d752d3a262ca818234f6ea8
2015-05-14 17:46:59 +00:00
Changhoon Yoon
bdeb88a77a ONOS-1896 Modify Application Subsystem to support Security-Mode ONOS
Change-Id: Ie3686e0d5071f9f6e946bc48ed7562bb2f5ec413
2015-05-14 16:54:55 +00:00
Sho SHIMIZU
3310a34163 Remove "public" to follow our convention
Change-Id: Ic5fa8744cbcb4c704780c8467ae0f31fce3327ce
2015-05-13 23:44:57 +00:00
Ray Milkey
1534f8df8f Add intent state to JSON output
Change-Id: I3a5995e0dfdc83e1253b8e414e825b796a57264c
2015-05-13 15:43:11 -07:00
Sho SHIMIZU
585bed92c5 Place OchSginalType in the right place
Move from org.onosproject.net.tunnel to org.onosproject.net.tunnel

Change-Id: I48c9de056edcb21ed97514a8fb5e72068d9672f4
2015-05-13 19:37:32 +00:00
Ray Milkey
3078fc0620 ONOS-743 - Use REST API Codecs to generate JSON for CLI commands
Change-Id: I25e0840d1af03341c638f837498c95275e6cf31b
2015-05-13 17:03:39 +00:00
Simon Hunt
da580889e2 GUI -- Further work on refactoring Topology View server side code.
- includes some cleanup of UiMessageHandler and subclasses thereof.

Change-Id: Ie48d830447a4abe1b3accda41a934530a4d55d0e
2015-05-12 20:58:25 -07:00
Simon Hunt
c54cd1baed GUI -- Beginnings of structure for topology Overlay API.
- Re-implemented RequestSummary / ShowSummary in Alt implementation.

Change-Id: Idb86c7bf3ede8f8815abcb488bbf9b0a7041ef79
2015-05-11 13:52:26 -07:00
Sho SHIMIZU
98ffca81bf Save memory consumption by avoding unnecessary instantiation
Change-Id: I7ce66c11136653fabc490aa7f33fdadf4454d2cc
2015-05-11 16:14:19 +00:00
Thomas Vachuska
635c2d7ed1 Adding device driver inheritance mechanism.
Change-Id: I9c883d32ce0c39f961eddd5c4624dc23f794fe4d
2015-05-11 15:49:23 +00:00
Sho SHIMIZU
6d01d3df91 Inline static factory methods in BandwidthResource
Change-Id: I8ac7fbaea5c81c9558f88f6ac88bcf581466d073
2015-05-08 16:10:55 -07:00
Sho SHIMIZU
f81725bb43 Populate Bandwidth with BandwidthResource
Change-Id: I7412c0c8141a8e22c2b157ee81989a79939c2299
2015-05-08 16:10:55 -07:00
Sho SHIMIZU
87114516f4 Replace manual hash code calculation for long with Long.hashCode(long)
Change-Id: Ie588a2904e0fcc790282af22912e8ff6d7a31648
2015-05-08 23:08:58 +00:00
Sho SHIMIZU
9a6ae38f25 Rename arguments to make its meaning clear
Change-Id: I1d9d5f53318b4d252b0ed0cddfcb9bee0367bdd8
2015-05-08 23:08:36 +00:00
Sho SHIMIZU
63feca7d26 Rename Bandwidth to BandwidthResource
To distinguish unit of bandwidth and resource of bandwidth

Change-Id: Ice52538f0c00f6d7743ca247d0f9bab3febdc94b
2015-05-08 23:08:36 +00:00
Jonathan Hart
63939a369f Moved generic Timestamp/ClockManager classes to onos-api
so they are usable by applications.

Change-Id: Icf0e92d12434dec782332e91b632da8066a85b60
2015-05-08 23:06:15 +00:00