239 Commits

Author SHA1 Message Date
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
Madan Jampani
b7a5420285 Tagging 1.5.0-rc3 2016-03-09 13:47:32 -08:00
Thomas Vachuska
5d8994ffce Starting snapshot 1.5.0-SNAPSHOT 2016-03-03 17:13:26 -08:00
Thomas Vachuska
40d5255ca9 Tagging 1.5.0-rc2 2016-03-03 17:08:36 -08:00
Madan Jampani
72282af713 Fixes some issues that were preventing intent tests from running
- LeadershipStore to support serving getAllLeaderships from cache.
 - Removed a changed to KryoNamespaces that was causing serialization issues. Instead moved that type registration to McastStore.

Change-Id: I06acf1a397b6a982c0dfd0ebc0830b2161cf23a4
2016-02-23 23:26:19 +00:00
HIGUCHI Yuta
b49b007c3f Add some serializer related sanity check
Change-Id: I5ebdde41f5528b5bad0c704b11c191afed45691e
2016-02-23 07:54:48 +00:00
Ray Milkey
2be39edc6d Remove methods deprecated in Drake from Instructions API
Change-Id: I87a20cb9e8abbf4b27bbb4760a62947169866ea6
2016-02-23 00:33:35 +00:00
alshabib
1aa5814ec1 support addition and removal of mcast sinks
vlan mcast rules are now optional

Change-Id: Icb7022089a6e139970040d8cdea97df0cdc8dc7c
2016-02-18 14:53:04 +00:00
Madan Jampani
39fff107c4 Method name refactor in DistributedPrimitive + Builder for AsyncLeaderElector
Change-Id: I59be6e66665c0b12d02106bd5c722e9fa38dd7a1
2016-02-15 03:49:12 +00:00
Madan Jampani
10666e5a31 Fix registration order in kryo
Change-Id: I051124ecb7bb55276c253af18f0c47df4a68c875
2016-02-12 01:06:45 +00:00
Jonathan Hart
1d00639523 Move multicast CLI commands into the core with the core mcast system.
Change-Id: If442803cf530cfeb949e7fbce34f74db082f30c1
2016-02-11 22:54:20 +00:00
Rimon Ashkenazy
8ebfff047b Add OTN device and ports
Change-Id: I18f3376d1466077e95d7324a27a660302f0123b3
2016-02-09 20:36:40 +00:00
Jonathan Hart
07eb041136 Implemented REST API for multicast RIB.
Change-Id: I5de6fe0aae412083597113e355ba0e8c984be5f1
2016-02-09 18:02:35 +00:00
Madan Jampani
cadd70bd6e Refactor transaction support in preparation for migration to latest APIs
- Added a explicit transaction id type
 - cli command now just returns the identifiers of in-progress transactions
 - Removed redriveTransactions until a better alternative is provided
 - Removed DatabaseUpdate and replaced its usage with MapUpdate

Change-Id: Ic4a14967072068834510cd8459fd2a6790e456ef
2016-02-08 23:29:02 +00:00
Sho SHIMIZU
460b97251b Move static factory methods to the utility class
Change-Id: Icf458adf78f51823e4ffa31346595fa9716485bf
2016-01-28 13:43:21 -08:00
Sho SHIMIZU
f95b96eaa3 Change the APIs to instantiate Resource and ResourceId
Now, DiscreteResource/DiscreteResourceId is provided by DiscreteFactory.
Similarly, ContinuousResource/ContinuousResourceId is provided by
ContinuousFactory. These factory instances can be obtained by static
factory method such as Resource.discrete(...) or Resource.continuous(...).

Change-Id: Ic94f7336c0e1f74cf2dddcac899de300362aff3e
2016-01-28 17:31:58 +00:00
Sho SHIMIZU
2a70451048 Use concrete types instead of abstract types
- ResourceId -> DiscreteResourceId/ContinuousResourceId
- Resource -> DiscreteResource/ContinuousResource

In addition, stop sharing the implementations in the super classes

Change-Id: I44662f6b7c23a23c30844a5b693e1cabab2cc091
2016-01-27 11:05:17 -08:00
Charles Chan
14967c2731 CORD-389 Fix for Accton 6712 deployment
Related to this topic:
- Disable the meter collector since right now it is not supported
- Implement extension VLAN ID selector/treatment for OFDPA
    Since it requires two special flow entries to match untagged packets
        0x1ffe/no mask (filtering rule, need to go first)
        0x0000/0x1fff setvid 0x0ffe (assignment rule, need to go second)
- Not able to point /32 IP address to ECMP group. Use /31 instead.

In addition:
- Implement serializer for ExtensionCriterion

Change-Id: I621b3ad14014d7e6945c014cdae4f7cd2939288e
2016-01-27 06:39:45 +00:00
Ray Milkey
2693bdab3e Add a builder for DefaultLink to hide multiplying constructors
Change-Id: Iaf073d07989c398a8f44541ffdb8dd93e5715162
2016-01-26 21:33:28 +00:00
Madan Jampani
063949f6d4 Added Match type to KryoNamespaces.MISC
Change-Id: I0ed11bd33f21aa4a955f32c22c68041589c1b912
2016-01-26 12:10:05 -08:00
Sho SHIMIZU
f33b893003 Move inner classes to upper level
Rename as follows.
- ResourceId.Discrete -> DiscreteResourceId
- ResourceId.Continuous -> ContinuousResourceId
- Resource.Discrete -> DiscreteResource
- Resource.Continuous -> ContinuousResource

Change-Id: I80e59d1eec07128743bacc582a8725bd4d5489b4
2016-01-26 18:59:11 +00:00
Sho SHIMIZU
2d31022034 Introduce two specific types of ResourceId for Discrete and Continuous
Change-Id: I4a29beaabe32ba78fb03336192095edadc63e3c9
2016-01-26 18:58:13 +00:00
Sho SHIMIZU
8d5ff165bd Sync the test method name with the subject class name
Change-Id: Ifb08ca64f62549fea3e183721e3bff016deb4c3c
2016-01-22 23:13:12 +00:00
Sho SHIMIZU
8fa670a8f9 Refactor: Rename ResourcePath to Resource for a better name
Also the followings
- Rename variables from path to resource
- Update Javadoc

Change-Id: I07da7e7d13882f2134a3687c66ed91a9de5b0849
2016-01-14 20:54:42 +00:00
Sho SHIMIZU
6c9e33a3fa ONOS-3296: Support continuous type resources
Change-Id: I155e41e7a7c1750ff45986a55bedab353485d3fa
2016-01-14 07:36:56 +00:00
Sho SHIMIZU
31f37edd99 Define sub-types of Bandwidth to reduce round-off error
Two sub-types are defined
- LongBandwidth
- DoubleBandwidth
LongBandwidth can reduce round-off error cause by floating point arithmetics.
These classes are not exposed outside the package and only instantiated
through static factory methods.

Change-Id: Ice5d8ff1397c9dd9c8c1fff46af256fff08fa616
2016-01-14 07:35:50 +00:00
Toru Furusawa
72ee30ca50 [ONOS-3730] Populate portSpeed for ODUCLT and OCH ports.
Also move the enum definition of ODU client port signal type outside of OduCltPort class.

Change-Id: Ibdff21d9707ad3d79587f579ad675f673cf9afeb
2016-01-13 19:27:54 +00:00
Sho SHIMIZU
76b30f7881 Rename ResourcePath.Key to ResourceId for naming consistency
Change-Id: Idb34624f897b0fd5745f26758a007c171f4cd774
2016-01-11 22:38:16 +00:00
Sho SHIMIZU
7e6d18ec9d Introduce ResourcePath.Key
Change-Id: I4efd5c13a12f2bad5482f5b432e2f1ef2c337805
2016-01-11 22:08:15 +00:00
Hyunsun Moon
c8fe98b869 Added ARP criterions to KryoNamespaces
Change-Id: I2ed9ac8d664f2e532118752f4f63e0fbdff73a00
2016-01-11 00:02:53 -08:00
Changhoon Yoon
e71dfa4847 ONOS-3521: SM-ONOS performance improvement
Change-Id: I8643187f2ceb35f8e0701d9e7ddb10098f05b244
2016-01-05 14:14:18 -08:00
Brian O'Connor
880dc20ddb Starting snapshot 1.5.0-SNAPSHOT
Change-Id: If9ce4ca5f5f6d089e9f088e710367f4e2ca1c9b6
2015-12-16 22:53:14 -08:00