1670 Commits

Author SHA1 Message Date
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
Marc De Leenheer
118f671b73 Power config API (ONOS-2866).
Change-Id: I50a405d63f95fa8024585c71885ac79dca7e7c78
2016-01-14 22:47:37 +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
5fb1ea31f3 Use the word "id" not "key" to get the names matched
Change-Id: Ie55b62d559bccc4a4cf3a8aad1876b5ae2c22f7d
2016-01-14 20:35:53 +00:00
Sho SHIMIZU
38f561c1df Fix bug that a list is mistakenly added as an element of another list
Change-Id: I1e4847b572e55bbf85f99ed8ef8df96da1f7bd7f
2016-01-14 09:07:47 -08:00
Madan Jampani
dfde6ba92f Added an async version for AtomicValue and misc javadoc improvements
Change-Id: Idc401964a726d221c01ecda0cc42c4a92551113f
2016-01-14 00:58:16 -08:00
Jihwan Kim
9887ad9dfe [Falcon][ONOS-2696] support method "replace" in ConsistentMap and method "notNull" in Match
Change-Id: I7c7d4644f963e52297785c2f9a5f21eff8723e61
2016-01-14 08:15:05 +00:00
Sho SHIMIZU
6c9e33a3fa ONOS-3296: Support continuous type resources
Change-Id: I155e41e7a7c1750ff45986a55bedab353485d3fa
2016-01-14 07:36:56 +00:00
alshabib
fa0dc66f7f adding a criterion for inner vlans
used by olt to match on the inner vlan

Change-Id: I7671b68d9860d598395cba134a589ca23f264c7e
2016-01-14 06:55:18 +00:00
Madan Jampani
1c965106f4 Renaming Partition{Service, Manager, Event} to IntentPartition{Service, Manager, Event} to better disambiguate between another PartitionService that is responsible for managing datastore partitions
Change-Id: I74d311ae991fb241563a1475ea74a625d8069142
2016-01-14 06:41:36 +00:00
Madan Jampani
f2f086cfd8 Added Change utility class for representing change events + Moved Match class to org.onlab.util
Change-Id: I08e8cd8dd92983bd2764e83016b1abc0bf29388f
2016-01-14 03:15:08 +00:00
Madan Jampani
d36def0944 MessagingService API enchancements
Change-Id: Iabfe15d4f08d7c53bd6575c5d94d0ac9f4e1a38e
2016-01-14 00:19:34 +00:00