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
Brian O'Connor
a6c9b5cff2
Updating IntentCleanup to check for stalled *_REQ and *ING intents.
...
Change-Id: Ibe06ee99463bb8230acf9751da4fb1012859b0ea
2015-05-01 12:48:15 -07:00
Madan Jampani
9bd1f15b03
ONOS-1798: More appropriate method name + better pre-condition checks
...
Change-Id: I5d277967c22b9db48097288ea072cbc4d1c5a2a8
2015-05-01 14:23:57 +00:00
Sho SHIMIZU
91210a7135
Define Lambda interface representing wavelength and implementations
...
Two Lambda implementations are defined.
- IndexedLambda
- OchSignal
Change-Id: I36763390f61abd9f861e76edab63f558ae97e8a2
2015-05-01 02:01:56 +00:00
Madan Jampani
1af8e137e3
Fix balance-masters functionality in the new LeadershipService based device mastership store
...
Change-Id: I9f64d514cee7d5a5383fd4c2fa30a8616c97785c
2015-05-01 00:34:45 +00:00
Marc De Leenheer
4b18a23ccf
Make device store aware of optical ports (ONOS-1794).
...
Change-Id: Ia70855e391e22e1ab22bae73deb38fe9dbb90884
2015-04-30 23:09:21 +00:00
Sho SHIMIZU
014c33ac50
Pull out enums from OchPort
...
The following enums are pulled out
- SignalType (renamed to OduSignalType)
- GridType
- ChannelSpacing
Change-Id: Id30e582df9c3c2c5e239df57499ffe9436dd6237
2015-04-30 15:26:05 -07:00
Sho SHIMIZU
dee7871c43
Registier Frequency to Kryo
...
Change-Id: I4e91c4f48197ed2aa46d6458e1f397eea3468b8f
2015-04-30 18:11:13 +00:00
Brian O'Connor
3c58e96920
Adding IntentCleanup as a component.
...
Listens for CORRUPT intent events and periodically polls for CORRUPT intents.
Change-Id: I29d8dbe14b46522815dc13e969f259f68b690855
2015-04-30 03:44:11 +00:00
Marc De Leenheer
bb382356c2
Generic ROADM port models and descriptions
...
Change-Id: I053d61c7a057d6298b7990373448df28b3aaa5a5
2015-04-30 03:35:16 +00:00
Madan Jampani
5756c35469
Trivial logging change
...
Change-Id: I8166b5cb886c16b30ad28886a000525ab2059943
Enabling Raft based device mastership store
Change-Id: Ide4dc559aa241ec2f3fa587701f6f32ba6856218
2015-04-29 14:45:05 -07:00
Ayaka Koshibe
3a3215674d
Added a builder for TransactionContexts
...
Change-Id: I22b467ed0b1e691f3df4ccc5e414b8f4c3bf18f4
2015-04-29 13:59:42 -07:00
Ayaka Koshibe
2c6b7efa87
Fix for NPE in entry removal updates.
...
Reference: ONOS-1785
Change-Id: I146e6cbb39b2fdc36cec3e2df1b883f578f0200a
2015-04-29 19:09:34 +00:00