716 Commits

Author SHA1 Message Date
Jian Li
e0e01c252a Add skeletal code for control message provider
Change-Id: I29e28ae268693f62631f2d70a5e6f74e482a4643
2016-02-11 00:28:34 +00:00
Rimon Ashkenazy
8ebfff047b Add OTN device and ports
Change-Id: I18f3376d1466077e95d7324a27a660302f0123b3
2016-02-09 20:36:40 +00:00
Ray Milkey
957390e21a Refactored LLDP link discovery to be shared by multiple providers
Change-Id: Ia2253ff6bb39186e936ddbaff0c416aa5be6e117
2016-02-09 11:39:54 -08:00
Andrea Campanella
2947e6219d ONOS-3810 augmenting Rest southbound protocol and provider for https and password based auth
Change-Id: I3e5f07ba6a751bc8a7637373c037a1910181f9ab
2016-02-09 18:41:59 +00:00
Andrea Campanella
fde9c95dfe Removing ciena driver dependecy in restsb provider app.xml
Change-Id: Ia42b0e1b239832e58fcee414641430d6966fd484
2016-02-09 07:41:57 +00:00
Ray Milkey
cd6ab18c8c Unit tests for NetworkCongifLinksProvider
Also fixed a few bugs in the provider that were turned up by the new tests.

Change-Id: Icafc945251b4d35ac3f285302af150c0a4d646d6
2016-02-08 18:37:31 +00:00
Jian Li
889cffb979 Fix incorrect class and method description for PortStatsCollector
Change-Id: I6d16597fed207c2ddfd0fb14848b346d216c6965
2016-02-08 18:32:45 +00:00
Thejaswi N K
0db36e7abd [ONOS-3855] - Implement BGP flow spec provider framework
Change-Id: I356a1f80790d9fa08aea9bcbf635a8b11c7ccac7
2016-02-06 00:49:56 +00:00
Madan Jampani
c27b6b2deb Fix files with windows line endings + Add checkstyle rule to catch this issue
Change-Id: Ic1905f2121c5c2ab66259f7f531c1e36fe58e9d4
2016-02-05 19:51:54 +00:00
Marc De Leenheer
0bfc2a1c8f Fixes for fiber switch
Change-Id: Ic2dec025cb1cb4cdd6d68120843472ecb38960bc
2016-02-05 19:22:34 +00:00
Jonathan Hart
42feabd852 Use DELETE_STRICT when deleting flows to avoid collateral damage
Change-Id: Ibb35023b14296752073de44f1953013f0ca8a73a
2016-02-04 23:40:14 +00:00
Ray Milkey
b7f0f64dcc ONOS-3460 - Link provider that enforces strict configuration
This provider uses the "links" configuration of the network
config and only allows discovery of links that are in
the config.

Refactoring will be done in a subsequent patch set - the DiscoveryContext and
LinkDiscovery classes are duplicates, they need to be refactored so the
LLDP provider and the Network Config provider can share them.

Change-Id: I4de12fc1c4ffa05e3cac7767b8a31f48ba379f6c
2016-02-03 21:22:12 +00:00
Charles Chan
a449aaea8c Strip newline and extra spaces in application short description
Change-Id: I963902e13c70bf4f383841a9d77ded95caf3b106
2016-02-01 23:56:27 +00:00
Andrea Campanella
8b1cb67def ONOS-3791 NETCONF session factory and exception on device connection
Change-Id: I7c6651a4f76537056a2dc8f94d54818b5b238b9a
2016-01-29 20:50:12 +00:00
Jonathan Hart
51539b85d3 Enforce naming convention regarding abbreviations
Change-Id: Ic81038d3869268a55624ccbbf66048545158b0da
2016-01-28 17:32:37 +00:00
Andrea Campanella
ce279eeafb ONOS-3795 PATCH method in RestSbController and basic unit tests
Change-Id: I35dc31ab03fc72c11523b2c60f4455d7446a5364
2016-01-27 23:15:57 +00: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
Jian Li
dfba739230 Fix javadoc warnings
Change-Id: I3de24a04593f47c786f698f5ee1669b3d2f2fdfc
2016-01-23 02:38:40 +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
Madan Jampani
ad3c5269ef Using provider pattern for cluster metadata.
Change-Id: I5a572b3df9149be959dde9868a9c594dec26a3e0
2016-01-20 23:01:29 +00:00
Jian Li
8bcb4f23ce [ONOS-3634] Remove readme tag from app.xml
Change-Id: I536f54f74586a0bb5c671564f71b44a0a871d5f6
2016-01-20 18:55:28 +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
f2cc1a1275 Extracted ovsdb host provider from ovsdb application
Change-Id: Idfc9016dfc85e229bdfd15a392e644b2930b7f57
2016-01-19 23:23:15 +00:00
Andrea Campanella
101417da64 ONOS-3605 Create thread Session input stream mechanism, adding listener for events from the device
Change-Id: Ib323487f61d9e595f7ccdc1957a92e58b7002d2a
2016-01-19 21:02:20 +00:00
Madan Jampani
8474fdd384 Fix how default partitions are created
Change-Id: Icb4881fb87b982d88502a0201175dbc2bc209c9c
2016-01-19 18:31:00 +00:00
Andrea Campanella
d8d92db11d ONOS-3754 Create driver/behavior for Ciena waveserver
Change-Id: I2e8741f0ad858eb712f7fe4f4a5fdf5e146aefd6
2016-01-15 23:58:53 +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
Andrea Campanella
945ded292c ONOS-3692 Southbound Rest provider and protocol
Change-Id: I74a5752d4fce1df88828fa6c531979ab7c30a26a
t
2016-01-14 23:06:35 +00:00
HIGUCHI Yuta
4de9054e62 Fix javadoc errors.
Change-Id: Id047df5da4a15f8ebf3166156c2d5a692064a789
2016-01-14 20:23:00 +00:00
Sho SHIMIZU
4590604b64 Use Objects.nonNull() to check if non-null
Change-Id: Ib32f56c1d53e4199592f457d04660228b7f437aa
2016-01-14 08:14:31 +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
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
Andrea Campanella
8e290c51ec ONOS-3743 Adding end pattern to doRPC, removing unused rfc module and minor refactoring of provider methods
Change-Id: I95f896b80705ffb176534f2d4ba58acc786713e3
2016-01-13 01:24:20 +00:00
Jonathan Hart
d1ce4b0bad Ignore table ID from flow stats reply when creating OF1.0 flow rule.
Change-Id: Ife15bb7e05d78e9d505e0feb5d7381669bcc3b94
2016-01-12 17:24:37 +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
Jian Li
28247b5e36 [ONOS-3724] Fix the Cbench regression issue
Control message monitoring brings some overhead to controller.
In an extreme stressing environment (e.g., running Cbench),
it leads potential performance degradation.

This commit tries to mitigate the Cbench regression with two steps:
1. improve the monitoring performance by assigning more # of
threads in each thread group.
2. make the control message listening feature optional.

Change-Id: I4f7361b7c598c6de71d390eab78a20ada381d4dd
2016-01-11 18:10:03 +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
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
Sho SHIMIZU
70e76d8bfd Remove redundancy by replacing values with Spectrum.CENTER_FREQUENCY
Change-Id: I42836ca3884bb17304cd05be2b163a906421b5a6
2016-01-07 19:06:06 +00:00
Rimon Ashkenazy
d15ebf5275 Fix RuntimeException of 'Un recognize OduClt speed'
Change-Id: I86a1d399206b8d260a8f9fa53da0ffa16f73ff6d
2016-01-07 17:51:30 +00:00
Jonathan Hart
9af322dc93 Add property to toggle whether HostLocationProvider requests packet intercepts.
The default intercept flows that are pushed are too naiive for some
use cases, but those use cases may still want host location tracking to work.

Change-Id: Ic4ae3916a1dcee8e753362c3ce5bdfe10756100e
2016-01-07 03:01:38 +00:00
Thomas Vachuska
762a2d8d0b Fixing various exception issues.
Change-Id: Ic02d66c2ebceda8c05f93b367aa9ff38a11a7a5b
2016-01-06 18:49:59 +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
Thejaswi N K
5ff45df186 Implementing Bgp update configuration
Change-Id: I02338d5db093c513f1048bdafd737feea81d4efb
2016-01-06 02:38:16 +00:00
Thomas Vachuska
9e51fd0a7e ONOS-3550 Fixed property warnings.
Change-Id: I8deac6a66fa10f600b718e2dc781ca781bc508d9
2016-01-05 22:05:20 +00:00
Brian O'Connor
68498e2b32 Updating onos-package to display error when karaf-assembly fails.
Also, temporarily adding snapshot repo to karaf-assembly and filed bug to remove it.

Change-Id: I63bf472b3a918beec46e1b1002a29dfcb6cb7253
2016-01-04 14:02:20 -08:00
Jian Li
152b88508a [Falcon][ONOS-3537] Implement control message collecting logic w/ unit test
Change-Id: Ic21d476a5ad92d7ef739fa3c13dcc06e5cbf7c56
2016-01-04 18:50:06 +00:00
kmcpeake
899ea8bc18 [ONOS-3203] Fault Management fixes.
1) Fix "org.onlab.osgi.ServiceNotFoundException: Service org.onosproject.incubator.net.faultmanagement.alarm.AlarmService not found" runtime error by making  SnmpAlarmProviderService a (annotated) Service.  Possibly later can register it via the ProviderRegistry without the Service anotation.
2) When SnmpAlarmProviderService is deactivated de-register our InternalDeviceListener to avoid leak.
3) In providers/snmp/alarm/pom.xml : Remove unnecessary dependency versions info. Remove unnecessary shading.

Change-Id: I93c0c15215b6cf230bcb03d8ea9c08a88bd03e3b
2016-01-04 18:03:06 +00:00
kmcpeake
ac41bf7081 [ONOS-3203] Migrate to 1.5.0-SNAPHOT
Fix merge problem with Change-Id: If9ce4ca5f5f6d089e9f088e710367f4e2ca1c9b6

Change-Id: I56a5b7c67085c1cd31a7274ece55f962e908d01b
2015-12-21 12:36:37 +00:00