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
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
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
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
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
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
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
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
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
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
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
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
Sho SHIMIZU
98ffca81bf
Save memory consumption by avoding unnecessary instantiation
...
Change-Id: I7ce66c11136653fabc490aa7f33fdadf4454d2cc
2015-05-11 16:14:19 +00:00
Sho SHIMIZU
6d01d3df91
Inline static factory methods in BandwidthResource
...
Change-Id: I8ac7fbaea5c81c9558f88f6ac88bcf581466d073
2015-05-08 16:10:55 -07: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
Sho SHIMIZU
816977987d
Define Bandwidth class to represent bandwidth with explicit its unit
...
Change-Id: I863fea61fa5e70edfa53d11e720e400d100131c8
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
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
Madan Jampani
08bf17bcc3
Improvement: Ensure configurations options are current and valid in NewDistributedFlowRuleStore
...
Bug fix: Only accept backups for devices that the local node does not manage.
Change-Id: If7b1e8c3b0339e5d756e250c38fe53dc191084d1
2015-05-07 21:29:09 +00: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
Madan Jampani
86940d91ae
New flowrule store that utilizes a simple mechanism to periodically backsup its flowentries.
...
For efficiency reasons backups are only run for those devices whose flow entries are updated (since last backup) or if the device master/backup has changed.
This backup mechanism will be a short term solution until we get to a more close to real-time backup approach.
This change also disables the flowrule store based on hazelcast.
Change-Id: Iaae08852edee20b999ff97c60ca8bc6576e645f6
2015-05-07 00:41:03 +00:00
Madan Jampani
d46e18f2ef
Couple of fixes:
...
1. Retry leadership lock after a successful stepdown
2. setStandby should adjust the candidates list to ensure another node steps up to become the master.
Change-Id: I8dc5da82c9b8b9e99d4118ec33a63037543927f0
2015-05-06 18:34:07 +00:00
Sho SHIMIZU
c682709ab7
Register ModOchSignalInstruction to Kryo
...
Change-Id: I7d23e28ad0abc532ca28be630689acd6ff5dd7dd
2015-05-06 06:04:17 +00:00
Sho SHIMIZU
b5e6de62bf
Define a Criterion for OchSginalType
...
Resolve ONOS-1846
Change-Id: I63462a3e2702c93b1d1c84a324bdbaa351bac633
2015-05-06 06:03:54 +00:00
Sho SHIMIZU
efc2e28c84
Define a Criterion for IndexedLambda
...
Resolve ONOS-1845
Change-Id: Ic6f0ea2572e83c10444d7452debfd302149dc994
2015-05-06 06:02:28 +00:00
Sho SHIMIZU
0abceb8dd3
Populate OchSignal with OchPort
...
Change-Id: I2e9031972e286f25f9caa32fac26d37e3efd10b5
2015-05-05 23:41:27 +00:00
sangho
52abe3a170
ONOS-1791 : Populates MPLS rules also at edge routers
...
- Adds check for mastership when updating group description.
Change-Id: I536bcec595b8727689de11eb41e4b2f86cabb936
2015-05-05 21:46:38 +00:00
Sho SHIMIZU
084c4caef8
Define a Criterion for OchSignal
...
Resolve ONOS-1844
Change-Id: I775a64ad6d6d3f1a046a6f7895a412c71c17ff16
2015-05-05 18:11:39 +00:00
Sho SHIMIZU
30d639bf83
Introduce import statements for java.util.Optional
...
Change-Id: I8888a5536b5abe43408130d6dc965487e05b065d
2015-05-05 18:10:52 +00:00
Madan Jampani
55ac1348a7
Fixed AtomicCounter database command names
...
Change-Id: I90a698b7692834042e318ad21a7ba862b076315f
2015-05-04 19:05:04 -07:00
Madan Jampani
04aeb45955
Implementation of IdBlockStore on top of AtomicCounter
...
Change-Id: I019322a812262edeca20a55813183a63b4525b75
2015-05-05 01:47:38 +00:00
Madan Jampani
f4e724f75f
Provide an implementation of ApplicationIdStore atop AtomicCounter and ConsistentMap + Disaable the hazelcast version
...
Change-Id: I26afea0fadae272baafc55edd8f6c8194b41e3a7
2015-05-01 20:28:02 -07:00
Ayaka Koshibe
474ef5fa20
Enable ConsistentLinkResourceStore by default
...
Change-Id: I47b5267b96e48f56c903fa5866aa0c169ca748c0
2015-05-01 23:45:40 +00:00
Madan Jampani
02b7fb8b1a
Support for building a immutable ConsistentMap and DistributedSet
...
Change-Id: Ic34684551f5c7d1f4fdc4cd3fc1a7bfabc5681f5
2015-05-01 23:45:21 +00:00
Ayaka Koshibe
e114f04812
ConsistentLinkResourceStore to replace HazelcastLinkResourceStore. Also
...
includes:
- typo fix (intendId -> intentId)
- refactored ResourceAllocations command so it doesn't use error handling as
part of control flow
- add ability to compare LinkResourceAllocations
Reference: ONOS-1076
Conflicts:
cli/src/main/java/org/onosproject/cli/net/ResourceAllocationsCommand.java
Change-Id: I6a68012d8d7d359ce7c5dcd31e80a3b9f63d5670
2015-05-01 21:00:09 +00:00
Brian O'Connor
eba4e3407f
Adding tests for IntentCleaner
...
Also, two small bug fixes for SimpleIntentStore
and one for IntentCleanup
Change-Id: I19c8246dd669d894ba258e04f4f963a97b9a7626
2015-05-01 12:48:16 -07:00