Charles Chan
93fa727942
ONOS-3763 Change flow state to PENDING_ADD when retrying
...
Will emit a RULE_UPDATE event if the state is changed.
Update unit test accordingly.
Change-Id: Ie84778c62f52f15b7636d41db246814145e73f77
2016-01-29 19:29:24 +00:00
Andrea Campanella
28dbe8ff6d
ONOS-3829 Fixed bug with inconsistent parent's behaviours when merging drivers
...
Change-Id: If7b1924b034b0d8ce806410bb9efa4f5258c14f6
2016-01-29 02:21:12 +00:00
Sho SHIMIZU
460b97251b
Move static factory methods to the utility class
...
Change-Id: Icf458adf78f51823e4ffa31346595fa9716485bf
2016-01-28 13:43:21 -08:00
Jonathan Hart
51539b85d3
Enforce naming convention regarding abbreviations
...
Change-Id: Ic81038d3869268a55624ccbbf66048545158b0da
2016-01-28 17:32:37 +00: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
Madan Jampani
f95290af5b
Added newValue and oldValue methods to MapEvent.
...
Change-Id: Ibaffc8079de03b1f4623044ec53c949831ea8cd1
2016-01-27 21:06:11 -08:00
Sho SHIMIZU
7f8a7cb733
Define zero argument contructoris for the serializer
...
Change-Id: I1c5f4a526f886ffb85b1a9d03d661161f66d076b
2016-01-27 16:05:11 -08:00
Sho SHIMIZU
7dac8a4bd6
Change the return type of ResourceId#parent()
...
Change-Id: Ice8c46f4dca02cfc24f85a6758a8536872b4c262
2016-01-27 21:35:06 +00:00
Sho SHIMIZU
42ac51f340
Make fields private to get classes immutable
...
Change-Id: Ib2d6c013b8c027b2ddc6a7d1cb204627a2dd7b19
2016-01-27 21:26:25 +00:00
HIGUCHI Yuta
1d7c9cbe6d
ONOS-3732 Bandwidth resource registration using netcfg.
...
- Uses netcfg defined value as available resource if defined,
else uses port speed as available Bandwidth resource
Change-Id: I2dde9a9194025194ed8785b4608f064debab182b
2016-01-27 13:09:56 -08:00
Sho SHIMIZU
34b55b6aea
Remove unnecessary method calls by direct access to the field
...
Change-Id: If4420b9667ef30ec6a341124a8672b45f315cfb1
2016-01-27 12:49:43 -08:00
Sho SHIMIZU
f0fb361a42
Fix Javadoc warning
...
Change-Id: Idb0fb76006cb48a79598ef88eeffa499cc6d4e9a
2016-01-27 11:45:09 -08: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
Sho SHIMIZU
4a1e59f28e
Rename: use plural according to the returned type
...
Change-Id: I7db9ae2fda2f7240d69ad7dbd028ccc0ea8a8fd8
2016-01-27 03:57:51 +00:00
Madan Jampani
fa24218124
Added destroy() method to DistributedPrimitive interface
...
Implement replace method in ConsistentMap
Using Versioned#valueOrNull in place of Versioned#valueOrElse where appropriate
Change-Id: Ief3f3547d589d35f5c821a1c47035f91078e8316
2016-01-27 01:54:36 +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
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
Thomas Vachuska
bb062ecd45
Fixing a discrepancy in driver manager implementation.
...
Change-Id: I774a3ed26dc6d34d6bdc5834e8e38d4d1741c5ed
2016-01-26 18:55:59 +00:00
Andrea Campanella
65ece15943
ONOS-3786 deletePort from specific bridge method and correct bridge name retrivial call in old add and delete ports of OsvdbBridgeConfig
...
Change-Id: Ib23b90f7793f3afc5d62250b9f1f318b8042ad77
2016-01-26 18:12:16 +00:00
Andreas Papazois
c93117db69
[GEANT] Adding driver/behavior for setting configuration on NETCONF devices.
...
Change-Id: Iced3ba42c5b1d43d64c06fd19234017dc8a21278
2016-01-25 17:37:03 +00:00
Jian Li
7f256f5376
Fix all javadoc warnings
...
Change-Id: I26ba78195fd8245eeb25c29ba27cc4b11b2eb791
2016-01-24 15:28:54 -08:00
Jonathan Hart
c7840bd784
Improvements to flows list command.
...
* Added -s option which gives more succinct output.
* Display each flow on one line for easy grepping.
* Added ability to filter output by table ID.
* Flows are now sorted by descending priority within a table.
* Removed the use of toStringHelper in instructions and criterion to produce
less verbose output.
Change-Id: I1c874c776491386488ea5a4d23627b20f1e5728b
2016-01-23 15:19:19 +00:00
Jian Li
dfba739230
Fix javadoc warnings
...
Change-Id: I3de24a04593f47c786f698f5ee1669b3d2f2fdfc
2016-01-23 02:38:40 +00:00
HIGUCHI Yuta
dff91af6a7
Add resource API to query registered resource
...
Change-Id: Ibf53a0fa383043d17e78578093eb3055631796d0
2016-01-22 18:12:57 +00:00
Ray Milkey
d0dd1357ae
API changes for net config link provider
...
Change-Id: I4c20987b9922906573b69511f634197054f1e8ec
2016-01-22 17:59:39 +00:00
HIGUCHI Yuta
6f828c3864
Bugfix and cosmetic changes to resource subsystem
...
- Continuous resource was always considered not available
- Support querying for child resource against Continuous
(result is no children)
- Resource equality to compare id and exact type
- Add missing information in Continuous resource toString()
- More concise String representation for ResourceId
- additional logging added during above bug investigation.
Change-Id: I58a95b95b91c246c3c5dbb136a1820f988c6fccd
2016-01-22 17:45:00 +00:00
Andrea Campanella
238d96e22c
ONOS-3758 restructuring driver module with sub-modules for different drivers
...
Change-Id: I3c65d19be87066448655610abf9d8b89385a4141
2016-01-22 03:36:04 +00:00
Jonathan Hart
c43fd1cc65
Ensure basic SubjectFactories have been initialized before NetworkConfigLoader
...
Change-Id: I233a5c40f83cc969f187c176af2a9e31e3526c1c
2016-01-22 02:57:53 +00:00
Madan Jampani
837a363bc8
APIs for accessing/administering storage partitions + API for creating distributed primitives
...
Change-Id: I54ec3a76fdbdd09a57d283a8bd041a05d6e362c5
2016-01-22 02:54:07 +00:00
Simon Hunt
c2da488013
Harden DefaultApplication against modification.
...
Change-Id: I3342e4961096a49ad9761952d73b4a08ea0eebeb
2016-01-21 23:28:30 +00:00
Madan Jampani
f4c8850e37
Refactor change: Moved all distributed primitive implementation classes into onos-core-primitives bundle
...
Change-Id: Icd5dbd4133cb2f21bd403bcd598e6012813e6bfd
2016-01-21 12:50:27 -08:00
Madan Jampani
ad3c5269ef
Using provider pattern for cluster metadata.
...
Change-Id: I5a572b3df9149be959dde9868a9c594dec26a3e0
2016-01-20 23:01:29 +00:00
HIGUCHI Yuta
3cb7ff9e35
Add helper to build DefaultAnnotations based on existing Annotations
...
Change-Id: Ibbc598f90888aa60dc32ed84a79bda4d4cc615ff
2016-01-20 22:27:40 +00:00
Jian Li
01b0f595fc
[ONOS-3634] Provide default category name and make url nullable
...
Change-Id: Id6d0404cc1e46cdd4f54f2ff64ca69313bec9281
2016-01-20 21:17:38 +00:00
Jian Li
8bcb4f23ce
[ONOS-3634] Remove readme tag from app.xml
...
Change-Id: I536f54f74586a0bb5c671564f71b44a0a871d5f6
2016-01-20 18:55:28 +00:00
Simon Hunt
051e9faa1b
ONOS-3780: Table model now handles two column sorts.
...
Change-Id: I8899d56fdca2084e4a7ca0392c21d14f1bc6ea62
2016-01-20 01:30:24 +00:00
Jian Li
c35415ddcd
[ONOS-3634] Enhance app to have a category, icon, URL and readme
...
This commmit enhances application to have category, icon, URL and
readme. The web GUI and CLI will be implemented in separate commits
Change-Id: Ib02716d7118cc617b24f196f2213ea1fe99a34be
2016-01-20 00:30:35 +00:00
Hyunsun Moon
52b933632a
Added a new method to create a port
...
Change-Id: I78db8cf5e1ab66d1497a8f9b706eef2202d50071
2016-01-20 00:28:52 +00:00
Sho SHIMIZU
70b88d8670
Tighten precontinoal checks
...
Change-Id: If2bca48023d26655398e35f7e917bb617ce57963
2016-01-19 23:06:20 +00:00
Sho SHIMIZU
96b39e2988
Remove a method checking if non-null by using Optional
...
Change-Id: Iec8d9016e09c6637574bf5b6f1aab5d8bfbec07a
2016-01-19 11:48:57 -08:00
Madan Jampani
a090a118ef
Added DistributedPrimitive interface
...
Added AsyncDistributedSet that provides async set operations
Change-Id: I83494075a7973694ea6b7445ff4799b7a1a50641
2016-01-19 19:37:37 +00:00
Madan Jampani
8474fdd384
Fix how default partitions are created
...
Change-Id: Icb4881fb87b982d88502a0201175dbc2bc209c9c
2016-01-19 18:31:00 +00:00
Madan Jampani
f6c6a3015a
Fix incorrect input verification check in ClusterMetadata
...
Change-Id: I921ae8a8ba8c35bd91f27d2d1d985096f023c211
2016-01-18 14:33:45 -08:00
Jian Li
8baf44783b
[ONOS-3722] Augment TableModel to support annotations
...
Change-Id: Ie90fa6b26887ddd5afb03eb116304c16f10396ff
2016-01-16 00:40:14 +00:00
Andrea Campanella
d8d92db11d
ONOS-3754 Create driver/behavior for Ciena waveserver
...
Change-Id: I2e8741f0ad858eb712f7fe4f4a5fdf5e146aefd6
2016-01-15 23:58:53 +00:00
Andrea Campanella
b75b488fdb
ONOS-3760 Injection of mfg/hw/sw/serial in BasicDeviceConfig
...
Change-Id: I7f2269039e0cdabbee85cdad178c4ca27cdc2dce
2016-01-15 23:58:21 +00:00
Jian Li
69f6663f3a
[WIP][ONOS-3722] Augment TableModel with Annotations Mechanism
...
Change-Id: I815ce0b0fde254dd730153c34905d9454f019d9a
2016-01-15 22:16:08 +00:00
Madan Jampani
ab7e7cd285
First round of ClusterMetadata improvements:
...
Introduced a PartitionId type for identifying partitions
Introduced a admin service for making metadata updates
Update cluster.json format to specify all partitions (including p0) and changed partitionId to be an int.
Change-Id: Ia0617f1ed0ce886680dcee4f5396a4bbdfa225da
2016-01-15 19:32:09 +00:00