913 Commits

Author SHA1 Message Date
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
Simon Hunt
d7f7bcc9d4 GUI -- Major re-write of server-side Topology View code. WIP.
Change-Id: I332e8e59dc2271d3897c3a5c2fafa775324ef72d
2015-05-08 22:33:19 +00:00
Madan Jampani
f7536ab2ee ONOS-1883: Fix for lost flow rules on CLI directed mastership changes.
- Made all mastership role change operations asynchronous, which they are.
- In flowrule store we now check to see if any new backups need to be made when a device backup location (standby) changes
- In device mastership store we now wait briefly before we step down from mastership after promoting a new candidate as highest standy

Change-Id: Icb76cf4d0d23403053a3fd5a458a940b847da49f
2015-05-08 20:46:19 +00:00
Thomas Vachuska
e1e8d663c8 Fixing javadocs.
Change-Id: I3c9b2abdb9dcc6fac6c68d6db19585ef4521b6ac
2015-05-07 17:11:23 -07:00
Sho SHIMIZU
4fea4fdaed Populate IndexedLambda with LambdaResource
Change-Id: Id809f3a55b7c89bab2e4e99c0447ae97f27f5557
2015-05-07 23:55:48 +00:00
Sho SHIMIZU
a5b5c3e69b Use Long.hashCode(long) to avoid manual hash code calculation
Change-Id: I5f4aa8b80339a0c671ff2d12f8ba25dba023f220
2015-05-07 23:55:27 +00:00
Jonathan Hart
9bb32ab74a Moved AbstractWebResource to api bundle so it is accessible by applications.
Change-Id: Iddfe8a7d42d432e09424cede04b6c847198a9c85
2015-05-07 23:54:37 +00:00
alshabib
0ad4398ff5 fix remaining signing issues in treatments.
Change-Id: Id5ae44e529a516a4b2593778491ea16ca8dc7937
2015-05-07 22:35:46 +00:00
Simon Hunt
27bf0795e4 GUI -- Enhanced DefaultCellComparator to utilize Comparable implementation if available on the objects being compared, defaulting to string comparison otherwise.
- Deleted obsolete comparators.

Change-Id: Ifeb74c05f73bd974d1afb3dc27527a5c7ad1bc12
2015-05-07 10:50:46 -07:00
Sho SHIMIZU
94b7ff4f7f Rename Lambda in org.onosproject.net.resource to LambdaResource
To avoid naming conflict with Lambda in org.onosproject.net

Change-Id: Ic8a670e7e2fb022f44f5a83cf4805f3ce0f29694
2015-05-07 17:11:42 +00:00
Saurav Das
100e3b809d First shot at Broadcom OFDPA 1.0 pipeline
Requires changes to the group description to accept groupId from callers.

Change-Id: Ic21dfe8ae7c246b7d3a6b00e8e5c986e1dc21fa0
2015-05-07 17:00:02 +00:00
Simon Hunt
ab13052426 GUI -- Added routerId to AnnotationKeys; added test scenario for multi-homed hosts (routers).
Change-Id: Ief5f23fa1678152d5375a2b54fe5735c9632d588
2015-05-06 18:07:24 -07:00
Bri Prebilic Cole
9467a2393a GUI -- General GUI backend cleanup and bug fixes. Added custom formatters for existing tables, unit test for Enum Formatter, and more glyphs.
Change-Id: I956f1faf6a59e535094d45b811980f822b084be0
2015-05-06 17:27:21 -07:00
Simon Hunt
5939e659a4 GUI -- Added Locale and Time Zone decorators to TimeFormatter.
- Fixed unit test to be insensitive to the zone and locale in which it is run.

Change-Id: Ib79c1840c5543ec1a6016d4345b7d60f0e9f65a4
2015-05-06 16:20:34 -07:00
Sho SHIMIZU
2a9c3af3d0 Add description about deprecation of matchLambda(int)
Change-Id: I6423b03b53835ffbff1f0ad00f6bd937bad0feb7
2015-05-06 22:06:26 +00:00
Sho SHIMIZU
60f1214588 Fix typo
Change-Id: Ib029cd708cf77a63a36eb37c4c5ab79dff92ae71
2015-05-06 22:06:03 +00:00
Simon Hunt
66f7543c6b GUI -- Made OOTB formatters and comparators final classes.
Change-Id: I0ea59bf92d97b6d104b7d3770fb5f2e93308bbdc
2015-05-06 21:20:17 +00:00
Thomas Vachuska
0de9facd21 Fixing and organizing javadocs.
Change-Id: Ie348cb5c5b9c8a835cdcc13f6480ac8dba8ca81b
2015-05-06 20:59:32 +00:00