Madan Jampani
3d1727c11e
Leadership: Rerun purge step when conflicting updates are detected
...
Change-Id: Iecf34a79688ff6d288f7bf17e0d99be35b6539e2
2015-05-22 19:48:36 +00:00
Madan Jampani
654b58a6ab
FlowRuleStore: Consider errors when updating state of all current backups
...
Change-Id: I3bf4d20d79dc37c7040648ec6379794b8c93aad2
2015-05-22 19:48:18 +00:00
Charles M.C. Chan
1229ecaf8d
ONOS-1926: Handle unsupported match field
...
Following is the main idea of this approach.
An UnsupportedOperationException indicates that:
1. The OF version is not supported (other than OF10 and OF13)
2. The flow contains unsupported match field
(e.g. install ICMPv6 match to an OF10 switch)
I believe retrying are not going to help in both cases.
Therefore, I directly change the flow state into FAILED.
In case 2, if the switch is reconnected/reconfigured with correct
OF version, the flow will be reinstalled to the switch correctly.
Change-Id: I954f3597a77934e46695b82a6d17363d41636ebe
2015-05-22 16:41:26 +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
Madan Jampani
7267c5559b
Fix the case of dropped flowEntries that can occur when the current backup is down and no alternate backup exists
...
Change-Id: If584cb4bb99aa3930ac30ff6b85a5e2ed56071f0
2015-05-21 15:33:21 +00:00
Thomas Vachuska
bf916ea1a4
Moved Tunnel subsystem to ONOS core incubator area.
...
Change-Id: I03f90b068013fbf0490af5277b33459ccc0514ec
2015-05-20 18:24:34 -07:00
Thomas Vachuska
c4483c7792
Cleaning-up javadocs.
...
Change-Id: Idd37e3053451d6d47c22c007866da040014734df
2015-05-21 00:06:52 +00: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
Thomas Vachuska
ba082b80b8
Removing hazelcat dependency throughout.
...
Change-Id: I738050fda142418d2956f613035892dac82ef098
2015-05-20 23:21:47 +00:00
jcc
d8697235da
[ONOS-1284][ONOS-1869]the implementation of tunnel subsystem.It includes
...
test
commands, store, service. the store use eventually consistent.
Change-Id: Id54224ff65f3f2fa0a1d7adb072a2fe664987d18
2015-05-20 15:54:32 -07: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
Madan Jampani
bbed40428e
When relinquishing mastership, wait for LeadershipService::withdraw to complete before returning a MastershipEvent
...
Change-Id: Ieb0816bf3d17fee28815ea59959ed6d4a4efb478
2015-05-20 21:33:45 +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
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