1397 Commits

Author SHA1 Message Date
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
Simon Hunt
be60ddebd6 ONOS-3755: use thousand separator for packet and byte counts, etc. Fix alignment (numbers right justified).
Change-Id: Idb407fb16a82d5e3fb6fd10a6599b263a777deb2
2016-01-13 12:49:44 -08: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
Rimon Ashkenazy
e320103340 Add new OFOpticalSwitch13 LambdaQuery, and corrections to OMS port Desc:
- fix OmsPort totalChannels(),
 - fix creating OMS PortDescription with correct parameters of min/max frequencies.

Change-Id: I9adbbb4e1e9ebe20ba4b3c2ae23b7a0651af5d66
2016-01-13 19:03:27 +00:00
Jian Li
3756cc39ac Change applicationId's equality checking and hashing method
Application id in applicationId class is transient.
So it would be better to use application name to check equality.

Change-Id: I5f6807054e9a882316ff0a88242cb752eb78bcb9
2016-01-13 08:11:47 +00:00
Simon Hunt
3e4ccaf052 ONOS-3749: Show Flow ID and group ID in the flow table as hex values.
Change-Id: If98e0d76876ada2fa1c8d01a1b89230d1919f6c5
2016-01-12 20:53:11 -08:00
Jonathan Hart
24e296b869 Prevent null treatments
Change-Id: Icd40ab7f986f9738d0445428cd1f0c9053ed4e88
2016-01-12 14:47:07 -08:00
Thomas Vachuska
138de8bf40 FIxing basic device config and demoting some config-related messages to debug.
Change-Id: I38b8479a9e3f367c26b0400de4c7b92719f19dcc
2016-01-12 18:09:31 +00:00
Jian Li
68c4fc4862 [ONOS-3737] Bump up checkstyle version from 2.16 to 2.17 with some compilation fixes
Change-Id: I3ade52ff15b3114f5748ab3151c02c8c74af38f0
2016-01-12 03:07:57 +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
Sho SHIMIZU
00762ee39f Avoid potential round-off error caused by floating point
Change-Id: If1a6266c7a0951441de3fe444663a109bb819056
2016-01-10 03:15:59 +00:00
HIGUCHI Yuta
82b3c11ecb Add hasBehaviour to DriverHandler
Change-Id: I2bcfb06795b923de4356937a0baee35b37c7d979
2016-01-10 03:05:12 +00:00
Thomas Vachuska
6f350ed200 ONOS-3725 Adding ability to retain pending configs.
This allows up-load of configurations before their backing classes are registered by apps/subsystems.

 Validation and delegation of network config change events is deferred until the class registration.

Change-Id: Ifc9c97fbc86e764cb03cecb1f73f7191de3e7754
2016-01-10 01:26:57 +00:00
Simon Hunt
db450ee093 Reverted constant accessors to be public again.
Change-Id: Iaae04eb4157350d7a16e7998eb3ed64082d158bd
2016-01-10 01:20:10 +00:00
Thomas Vachuska
36008463bd Fixed an issue in basic host and basic link config validations.
Added validation for basic device config.

Made all concrete configurations final (as they should be).

Changed stc to use the new onos-netcfg as a method to re-locate and name devices and hosts.

Change-Id: I372e6c7e6c0fa6fa52301568af73342aaae6347b
2016-01-08 19:30:24 +00:00
Toru Furusawa
0f5da69026 [ONOS-3717] Add checkNotNull for the parameters of the constructors of OchPort, OduCltPort and OmsPort.
Change-Id: I48a5735b3b421d7bbcd91e318ae7bb090d914cbc
2016-01-07 23:49:50 +00:00
Toru Furusawa
c23f583cd0 [Falcon] Register TributarySlot resources in resource manager.
Change-Id: I61d63a7644a9edc2296a8f955af2ac2bfb93a5e4
2016-01-07 22:48:35 +00:00
Ayaka Koshibe
3ddb7b2575 [Falcon] link discovery -
- safety checks against fingerprint being null
- checks for foreign fingerprint and probe message origin

Change-Id: I2f3e491802afc2091335bd25fcf24865293bde10
2016-01-07 19:45:32 +00:00
Jian Li
79f6732b59 [ONOS-3642] Add missing meter icon in topology view
Change-Id: Iba1f10adf981b90fbc47ec649493436c7c50589c
2016-01-07 16:45:37 +00:00
Aaron Kruglikov
7adb89ee1a Adding omitted copyright.
Change-Id: I6efdf3ce8e3a7a08c1988f5e65d3ba779564e5b6
2016-01-07 02:05:57 +00:00
Andrea Campanella
80520b89b1 ONOS-3650 Device driver multiple inheritance
Change-Id: Ib7b72d44533d4e63c4122662b50485243562aa21
2016-01-07 02:02:02 +00:00
Marc De Leenheer
622861dab2 Lambda queries don't rely on driver state, and have separate package.
Lambda query returns unsorted set.

fix for ONOS-3620

Change-Id: Ifffd03271f9c8c02be8897c3891c80148342757e
2016-01-06 18:56:07 +00:00
HIGUCHI Yuta
1979f55af7 Bug fixes for ONOS-3509
- Forwarding behavior added to {Device,Link}Store by ONOS-490
  cauesed false update information sent from ONOS node, which has been detached from the cluster,
  to be accepted by rest of the cluster after the detached node has rejoined cluster.

- Fix for periodic mastership check was left out
  when MastershipService#requestRoleFor(..) return value was changed to Future.

- Fix for triggerProbe() related messages getting dropped,
  right after STANDBY -> MASTER role change.

- Local state (connectedDevices) was preventing
  vertical (Core -> switch) Mastership state synchronization.

- Various debug log, comment added during investigation.

Change-Id: I777beadf04db8a879830a07bfdc7ab0e2279f190
2016-01-06 09:12:33 +00:00