3094 Commits

Author SHA1 Message Date
Madan Jampani
ce8392b1e7 Lower log level to debug for errors that are expected during normal shutdown phase
Change-Id: I049f8ad33812ee3fcc50382b648876c6f1ba2bbd
2015-05-20 18:26:19 +00:00
Changhoon Yoon
23dee8f298 ONOS-1858, ONOS-1857, ONOS-1860, ONOS-1862, ONOS-1898 : SM-ONOS
Change-Id: I206e72521cf663466bfcc612e1896bb22d87da06
2015-05-20 18:19:38 +00:00
Thomas Vachuska
3358af2e7f Demoting boy-cried-wolf log messages.
Change-Id: Idfb9b3178b79ab6b30af285c10a52b9f20dfbfe1
2015-05-20 17:57:49 +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
Madan Jampani
03062683c2 Move flow store backup activity off of the event loop thread
Change-Id: I6e63b49dbb2917d4c8b8b31b96d4674febd6a12c
2015-05-20 01:18:59 +00:00
Madan Jampani
4732c1b784 ONOS-1981: Move partition manager rebalance activity off of the event loop thread
Change-Id: I32241a53be683dbf2611069072f80269655baba8
2015-05-19 17:14:07 -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
Ayaka Koshibe
ae541737d4 Linc-OE ports now identifiable as Och and OMS ports.
Reference: ONOS-1803

Conflicts:
	utils/misc/src/main/java/org/onlab/util/Frequency.java

Change-Id: Ie2bdf74f8198afbd58a4762ff97bff6f4e9010df
2015-05-19 23:36:04 +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
Madan Jampani
cc58675360 ONOS-1965: Evict inactive nodes from candidates map + Rely on cluster events to trigger stale lock purge
Change-Id: Ib7cfea397f98d6271beb78e3b88041bb84550506
2015-05-19 13:38:33 -07:00
Madan Jampani
1b02f8245d Mastership role is determined by whether the node is leader or merely a candidate for device mastership topic.
Change-Id: Ic2142aaa1ec0b215d2247596b934dbbfb0cedc25
2015-05-19 18:45:53 +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
Thomas Vachuska
fc52fecc3b Fixed a slew of shutdown exceptions that arose due to improper or out-of-order resource clean-up, e.g. listeners, timers, executors.
Change-Id: I37c351c4202b32e92c076d9d566b96d7ff8d313a
2015-05-19 17:56:49 +00:00
Ray Milkey
7f58211229 Unit tests for PortAddresses class
Change-Id: I04334b4cce65e169258de608ccc2461421abaacf
2015-05-19 02:15:45 +00:00
Thomas Vachuska
4b839c7010 Fixed an issue where only the new device master node would receive mastership change events.
Change-Id: I08a6530c57c91f006994412b4dfbfb3c16571593
2015-05-18 22:51: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
Ray Milkey
ccab22dbc6 ONOS-1950 - NPE if intent state is null
Change-Id: I5e93cf57f3c881e5528e3ac522f95451fab70fba
2015-05-18 13:24:50 -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
Ray Milkey
39616f3a81 Add JSON to CLI commands
- Drivers
- Groups

Change-Id: Ib47dc75d9db839329e6cf8fc4439150848f604f5
2015-05-15 02:03:31 +00: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
Brian O'Connor
ba1c7fb168 Refactoring LabelResourceManager to use ListenerRegistry
Change-Id: I65b6225b3b6f06c76ccb65d29da93ec11c179d1b
2015-05-14 15:47:59 -07: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
Madan Jampani
6bd2d9fa3b Always use mastershipService for querying device mastership in FlowRuleStore
Change-Id: I68051153e9555bd0e5b632fa30e7c4d844cf2163
2015-05-14 21:51:14 +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
Changhoon Yoon
32b937014b ONOS-1922 KryoExceptions at org.onosproject.core.ApplicationRole
Change-Id: I2465784b33a25af98fbf8a9acf098c469a7115f0
2015-05-15 04:41:15 +09: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
Madan Jampani
0f6ad14abc Eliminate the peformance penalty introduced in ReplicaInfoService.getReplicaInfoFor
Change-Id: Ie37d7e80c4dbf37a2ae6f452f6f66f4505d69a29
2015-05-14 17:52:01 +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
Thomas Vachuska
9ff88a9bc8 Added protection against redundant feature repo & feature operations.
Change-Id: Idca031e811a659a68ac55080acdef074fcfa80e1
2015-05-13 23:44:06 +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
Marc De Leenheer
01cb1a90d6 Fix exception for optical port descriptions (ONOS-1908)
Change-Id: I8868bf3c9c36bb731171cd64623d0f86a56f1299
2015-05-13 17:18:27 +00:00
Madan Jampani
7cdf3f1ba9 ONOS-1802: Added a null check for the returned term
Change-Id: Iacdd8d8f6ef15560bc81162dfefde431271b1204
2015-05-13 17:18:08 +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
Madan Jampani
a2a229c94c ONOS-1893: Fix incorrect event type in device mastership change notification
Change-Id: I5c317433ca8ac9e3f4305fb3519da48fb9da67e8
2015-05-12 01:03:29 +00: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