270 Commits

Author SHA1 Message Date
Simon Hunt
d7395c832b Added UiTopoLayoutId network config to BasicNetworkConfigs.
Change-Id: I3ec54a883e0b79f3cce5e9aff2f7ae7d56cc593e
2016-10-21 21:45:49 +00:00
Brian O'Connor
562d9d3824 Adding serializer for FilteredConnectPoint
Change-Id: Ie21f2fbbdf8b936719c5c2745a83c3bd662c8cc1
2016-10-07 12:39:40 -07:00
Frank Wang
72c5e43240 [ONOS-5097]adding group table entry failed
Change-Id: I17fc9f156e1f10800caba2cbc180dac45e97a675
2016-09-28 17:07:37 +00:00
Brian O'Connor
bfc02ecd22 Bumping snapshot version to 1.8.0-SNAPSHOT
Change-Id: I4ca57b277d8ac814b8a10b107d995cb1cc4d499d
2016-09-16 17:41:55 +00:00
Brian O'Connor
b19fc86f82 Bumping version back to 1.7.0-SNAPSHOT
Change-Id: I1df9d0f12cd7ec7597499d41cacebdbe75899556
2016-09-16 00:12:21 -07:00
Brian O'Connor
338bc0cf19 Bumping pom versions to 1.7.0-rc2 and fixing some maven issues
Change-Id: I6169420328333d0916452aa92efbfa961d72e9c4
2016-09-16 00:11:45 -07:00
Yuta HIGUCHI
625fb64828 Fixing Protected P2PIntent Compiler issues
- Register ProtectionConstraint
- Workaround for NPE in P2PIntent Compiler
  buildFailoverTreatment sometimes throw NPE,
  when the Group was not available by the time building the head-end treatment.
- debug log and cosmetic fixes

This might be related to ONOS-5183

Change-Id: I5ffc78619951fd8c4a35e985b3b849a1702080e8
2016-09-06 21:07:31 +00:00
Murat Parlakisik
c6759e80bd ONOS-4374 Enable installing flows with hard_timeout
Change-Id: I4e60e93aad44c7e8f8913fa4dd3ed5a2565d7034
2016-08-30 17:46:55 +00:00
Yuta HIGUCHI
d08e2e97f1 Binary incompatible serializer changes
- If the field type is fixed and the type is final, Class info can be omitted
- Annotations serializer to use optimization based on the fact Map<String, String> and non-null key/value
- Reduce number of Map copy required for ImmutableMap serializer
- Reduce number of array copy behind Immutable{List, Set} serializer

Change-Id: Ie467a943a33fbfb43b289b8b71ad91ee5890bfb0
2016-08-19 17:26:57 +00:00
Yuta HIGUCHI
4859b3ab6f Fix for Host2Host Intent issue.
- installing HostToHostIntent was failing on multi-instance cluster

Change-Id: Ib473a49459c333bfbe74fbcec8363473739cf424
2016-08-16 12:58:23 -07:00
Jonathan Hart
679d24d193 Unit test for Kryo namespaces to prevent people overflowing the namespaces.
Change-Id: If37283da60d59558c87e2997690b4578952ad3bf
2016-08-05 14:45:45 -07:00
Thomas Vachuska
eb851cdefd Adding commands for managing layouts.
Adding support for wiping out regions and layouts.
Refactored UI layout manager to allow public knowledge of default layout id.
Enhanced test topo for layout hierarchy.

Change-Id: I254fd494175e753f542f12a664618c1a83f72127
2016-07-21 15:50:36 -07:00
Madan Jampani
35708a94b7 Distributed work queue primitive
Change-Id: Ia8e531e6611ec502399edec376ccc00522e47994
2016-07-12 02:00:47 +00:00
Carmelo Cascone
804c0010e3 Added kryo serializer for ImmutableByteSequence
Serialization was failing when the inner ByteBuffer instance was a
HeapByteBuffer. Also, simplified ImmutableByteSequence.toString()

Change-Id: I4f75086a9b6536205fb43b78a0e4d2bfce9e8a5c
2016-06-29 16:26:10 +00:00
Steffen Gebert
7c446e46dd Fix exception "class not registered for kryo" for setQueue instruction
The exception

    Class is not registered: org.onosproject.net.flow.instructions.Instructions$SetQueueInstruction

occurs, because this class was not registered for kryo.

See also
https://groups.google.com/a/onosproject.org/forum/#!topic/onos-discuss/hVJxK7YhWA4

Change-Id: I73d6d0ba59c0fafa0990264cc3e4a3c0b1f5eb56
2016-06-22 18:09:42 +00:00
Brian O'Connor
1b2aea88c0 Removing gratuitous relativePath from pom.xmls
The default value for relativePath is: ../pom.xml

Change-Id: I1f5e5e6bfa1e91fcddae4f8cb8ab0c00c276e6b0
2016-06-16 07:05:31 +00:00
Carmelo Cascone
17fc9e41df Major refactoring of the BMv2 protocol module (onos1.6 cherry-pick)
- Created 3 separate sub-modules: API (doesn't depend on
    Thrift), CTL (depends on Thrift), THRIFT-API (to generate Thrift
    sources)
- Implemented 2 new services (for device configuration swapping and
    table entry management) needed to distribute BMv2-specific state
    among ONOS instances.
- Implemented a BMv2 controller (previously other modules where
    using separately a Thrift client and a server)
- Added a default BMv2 JSON configuration (default.json) and interpreter
    to be used for devices that connect for the first time to ONOS.
    This allows for basic services to work (i.e. LLDP link discovery,
    ARP proxy. etc.).
- Changed behavior of the flow rule translator and extension selector,
    now it allows extension to specify only some of the match parameters
    (before extension selectors were expected to describe the whole
    match key, i.e. all fields)
- Various renaming to better represent the API
- Various java doc fixes / improvements

Change-Id: Ida4b5e546b0def97c3552a6c05f7bce76fd32c28
2016-06-16 00:47:42 +00:00
Jian Li
11260a0192 Try to use ModMplsHeaderInstruction and ModVlanHeaderInstruction
Change-Id: I0b486907ef718a6dfa3e92696397fe5a7e851aed
2016-06-13 15:46:14 +00:00
Sho SHIMIZU
eeef6f4ca5 Refactor: Move DiscreteResourceCodecs to impl package
Change-Id: I2ee85d9207615208ce88d04b5fbfaa153cab323a
(cherry picked from commit 74bd8a4f1bc6f81362e33a8cf389aa1048d81a49)
2016-06-01 21:42:35 +00:00
Sho SHIMIZU
2795d63edd Make serialized resources more compact to omit redundant parent resource ID
Change-Id: Icafe92f35bded405dd39e57ad8380bca82a6d720
(cherry picked from commit d68739b5839e1d2be907d3806e2c742df9da95fd)
2016-06-01 20:29:00 +00:00
Brian O'Connor
e642f7cf7b Bumping version to 1.7.0-SNAPSHOT
Change-Id: Id105bf08ecbdac6d4e214ae035b4220aea90f29f
2016-05-23 18:35:29 -07:00
HIGUCHI Yuta
163efb5060 Some improvements around EventuallyConsistentMapBuilder serializer handling.
- Allow directly passing KryoNamespace
- Add some registration id gap before ECMap's internal registration
- Some improvements for ease of registration issue investigation
-- Add friendly name to ECMap's internal KryoNamespace
-- Add backtrace information

Change-Id: I7c87b3aefbaea4b2ed12b38c3e0813e9d195c7a9
2016-05-19 16:38:52 +00:00
HIGUCHI Yuta
e72906522a Deprecate KryoSerializer.
Change-Id: I2403b95c2d7a8af69dff55a0e40a35b223127c85
2016-05-19 15:19:38 +00:00
HIGUCHI Yuta
b2d0fd8380 KryoNamespace improvements
- Ignore duplicate Namespace registration
- Add friendly name for helping logging

- ONOS-4528

Change-Id: Id78f2a0f6e9715a7880875039825e294a68592a9
2016-05-19 15:18:23 +00:00
Naoki Shiota
bd1974c6d2 Made ResourceManager to accept arbitrary ResourceConsumer implementation. (ONOS-4406)
Change-Id: If41564824770c2a8b78237a206c036df94141117
2016-05-13 14:43:52 -07:00
HIGUCHI Yuta
0a1f29ecca Check if there's conflict in serializer registration Id.
- remove duplicate detected
- Add little head space, just in case Kryo start registering some more built-ins.

Change-Id: I8b1318d0e11ce1c0680aaef29cc88c96af78ae6f
2016-05-10 20:27:55 +00:00
Jonathan Hart
16d6c4c7b2 Reduce scope of long-running memory-intensive unit test.
Change-Id: I0e76ed945757f8d907bb5507096a695986f19afe
2016-05-09 18:26:42 +00:00
Jian Li
83fa041f9d Register a set of primitive array types to KryoNamespaces
Change-Id: I5c1a9f4755d3cbc222ca45ecb9ff705b349df351
2016-05-06 12:37:50 -07:00
Jonathan Hart
8195096cad Increase headroom for standard Kryo namespaces to prevent registrations
overwriting one another

Change-Id: I4ed0254b1131d3301c8cc92af8916346fe8a02b9
2016-05-05 23:49:51 +00:00
Sho SHIMIZU
c0e010ddde Implement compact serialization for a set of discrete resources
This is for ONOS-4281.

Change-Id: I08a9fc4fd334c499c7a09d2960145743a798094e
2016-05-04 17:58:45 +00:00
Brian O'Connor
be27bb3da3 Updating BUCK files
Change-Id: I24f279b42a270e59cf4bf4564e2aa4d81459c8e2
2016-04-29 18:23:19 -07:00
Madan Jampani
dc012974e2 ONOS-4396: Fix for EC Map synchronization failing silently due to serialization failures.
With this change we proactively fail map updates when serialization failures can occur and immediately notify the caller

Change-Id: I62a8a84731b9c2a6eeff7fa6f8336dc74234bf30
2016-04-25 11:16:28 -07:00
Jonathan Hart
26bd81332e Add encapsulation classes to Kryo
Change-Id: I37c9858f611a31a7949de7cf9000d1131203ae71
2016-04-13 10:39:55 -07:00
Jonathan Hart
6552b8d6f9 Fix Kryo issues with FlowObjective-based intents
Addresses ONOS-4206.

Change-Id: Ia66e2d227c7f68053fbf7f404b76bc411ab2eeb5
2016-04-12 21:56:16 +00:00
Sho SHIMIZU
7d4f2f7c8f Tighten visibility
Change-Id: I5ae3c63d4e8361c488a06f71ff83cb1ff8ca5f4e
2016-04-11 17:20:45 +00:00
Brian O'Connor
5ab426f9ff Updating copyrights
New format: 'Copyright .year-present Open Networking Laboratory'

Change-Id: I1a9e58b355b775e75245ad875a2d7a4df3f03098
2016-04-09 01:20:21 -07:00
Brian O'Connor
b86c920526 Updating Buck files to build OSGi jars
- Using osgi_jar for all modules except apps
- Adding target for installation of core modules to .m2 repo

Change-Id: I65d9e3a9567918e275191724842d7d9b1f485128
2016-04-06 18:17:37 +00:00
Charles Chan
c72271ffb2 Add flow objective related classes into KryoNamespaces
Change-Id: Ide9e6ab3108c1ad1d6701f1308ed72c282c20693
2016-04-05 23:42:23 +00:00
Rimon Ashkenazy
27438ffa64 Add Optical ODU cross-connect Intent
Create a new intent: OpticalOduIntent in the OTN Topology.
 - This intent finds a path of OTU links, and
 - Allocates TributarySlots resources on the OTU ports (in the path)
 - also add a utility for converting various SignalTypes to
   OduSignalType, and to build the OduSignalId.

Note: this patch follows the example given in patch
https://gerrit.onosproject.org/#/c/7321 of
separate resource search from resource allocation.

Change-Id: Id9808f61aebb80a21481f3882aff23b236b68078
2016-04-04 16:53:43 +00:00
Ray Milkey
f80bbb22c2 Initial BUCK build
Change-Id: I64e8a979301989062f4545a4841b06c15a372049
2016-03-29 21:39:14 +00:00
Sho SHIMIZU
e91e572617 Remove ModLambdaInstruction because we don't use indexed lambda
Change-Id: I6b9ec8f4bd4a6620ee87c11d1787a8f0c0c7fa7a
2016-03-28 18:44:15 +00:00
Sho SHIMIZU
a114d89a58 Remove IndexedLambda deprecated in Emu
Change-Id: I3dc3ea90049dd3331090472f8c4a0e83d430ba37
2016-03-25 15:43:31 +00:00
Sho SHIMIZU
cc137a9058 Remove method Lambda.indexedLambda() deprecated in Emu
Change-Id: Ie5a50d9d3df7b4af7af2d42edef3a63d622a721c
2016-03-24 17:10:33 -07:00
Sho SHIMIZU
0681016966 Remove IndexedLambdaCriterion deprecated in Emu
Change-Id: If1976963b49d28139d0002d9cd44414e4a8d9d50
2016-03-24 17:10:33 -07:00
Sho SHIMIZU
e18cb12e94 Move files under newresource package to resource package
Change-Id: Ifedb99be4671ada97fafe3ecfd196939207baa86
2016-03-24 23:16:59 +00:00
Sho SHIMIZU
25e32ec5e3 Remove constructs deprecated in Emu from old resource API
Change-Id: Ia4fd5d4c45d91b82b78ace18e96512c800adfcd6
2016-03-24 19:29:33 +00:00
Sho SHIMIZU
4e2149e120 Remove LambdaConstraint as IndexLambda is soon removed
Change-Id: I1b0a2b3e09d87bb2b8cf39136de15d0f3368f589
2016-03-21 19:52:10 +00:00
Brian O'Connor
955c316b54 Starting snapshot 1.6.0-SNAPSHOT 2016-03-10 15:27:19 -08:00
Brian O'Connor
55b4d80176 Tagging 1.5.0 (Falcon) 2016-03-10 15:24:41 -08:00
Madan Jampani
23696428f8 Starting snapshot 1.5.0-SNAPSHOT 2016-03-09 14:02:04 -08:00