373 Commits

Author SHA1 Message Date
Saurav Das
0fd79d91ea Group handling changes:
Edge case fix in group store where extraneous group buckets are updated so the group can be reused
      Bug fix for broadcast group in OF-DPA as there can only be one l2flood group per vlan
      Group operation failure codes are now reported by the provider to the core
      Group ids are displayed in hex in a couple of places

Change-Id: Ib48d21aa96e0400b77999a1b45839c28f678e524
2016-03-08 02:12:14 +00:00
Simon Hunt
afae2f71fc Apps-- added onos.app.title property to applications.
Change-Id: Id845390ee0bee5b871c0ce9f47b2ce98fbcf26b9
2016-03-07 19:30:59 +00: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
Jonathan Hart
e4e74f09ed Use DeviceId in FlowEntryBuilder to avoid creating deviceId many times per
flow entry build.

Change-Id: I89e90426e1b94b8828b6f83a6dbfc33f4e7cf259
2016-03-03 12:58:47 -08:00
Jian Li
66f1526cf2 Add SharedScheduledExecutors for ease of using ScheduledExecutors
- LogScheduledExecutorService -> SharedScheduledExecutorService
- Add a utility classs for SharedScheduledExecutorService
- Add unit test for SharedScheduledExecutors
- Revise the control message provider to use
  SharedScheduledExecutorService

Change-Id: Ia4dea245543b4751e6edcce1aaab4991d897cc77
2016-03-03 20:29:15 +00:00
Jonathan Hart
84f4f31cce Cleaned up NewAdaptiveFlowStatsCollector logs to prevent excessive
object creation and string concatenation.

Dropped per-flow-stats-request logs to TRACE level.

Change-Id: I2dd55030bd1faa00d6fbfef74c7da1debb7f1d7d
2016-03-03 19:34:43 +00:00
Jian Li
1b4cb33aaf A new ScheduledExecutorService that captures and logs exception
The default ScheduledExecutorService does not provide the
capability to capture and log the exception during executing
scheduleAtFixedRate and scheduleWithFixedDelay methods. This
makes it difficult to debug the program when the scheudled
tasks are failed for some reasons.
A new ScheduledExecutorService allows the developers to capture
and log any exceptions if the tasks are failed during execution.

Change-Id: I549ba0f479b9e302f0e668482873b3032dfea147
2016-03-03 06:16:23 +00:00
Simon Hunt
f0c968df57 Added onos.app.url for openflow provider
- temporary choice, so we have something interesting for ONS demo.
 - it would be better if openflow provider had a wiki page.

Change-Id: I8c9216782f9b8c5de0a07bb7985b988b86320203
2016-03-03 04:07:08 +00:00
Marc De Leenheer
c662d328f2 SNMP based device and flow rule provider for Lumentum SDN ROADMs.
ONOS-3690 and ONOS-3842

Change-Id: If00ba70fa26e01924c225596c52a5ffb24987cc2
2016-03-03 01:01:31 +00:00
Ray Milkey
125572b666 Remove methods deprecated in Drake from L2ModificationInstruction API
Change-Id: I30dbc2e9c590d4bc2bc672e13581dbd1c3b3561b
2016-02-23 08:51:36 -08:00
Ray Milkey
84d5a29b29 Remove methods deprecated in Drake from TrafficTreatment API
Change-Id: I9de9331611c79ae60195c738ee1d3912f4081e3d
2016-02-23 00:33:51 +00:00
Saurav Das
9d6c86bec6 Adding eth masking in match
Change-Id: I95e0ee66b1c6c139de7672f9bc04871fd0ead6d7
2016-02-19 19:25:34 +00:00
Thomas Vachuska
708d3031de Cleaning up javadocs.
Change-Id: I67a0600fc80f9d7b0859f2e0e7634579cab6cfbf
2016-02-18 19:41:42 +00:00
Yafit Hadar
4cc65f7583 LINC-OE - Flows are stay in PENDING ADD STATE[bug 3823]
Change-Id: Ia821ce1259a36ac4afdfa1b1cd34e8f07c81790e
2016-02-15 21:04:26 +00:00
Jian Li
7772615948 Remove incoming and outgoing OF message logging from device provider
The OpenFlow incoming and outgoing message logging feature has
been implemented in a separated message provider under openflow
provider. So this WIP feature should be removed from  device
provider.

Change-Id: I5b974c96688a13ea4ee7af309f9522245f61e413
2016-02-13 00:38:20 +00:00
Jian Li
72b9b129a5 [ONOS-3535] Accumulate control message stats using monitor service
- Augment the control message class to have device id
- Initial implementation of accumulating control message stats
- Add more adpator for unit test
- Change Collection<ControlMessage> to Set<ControlMessage>
- Fix the arithmatic exception
- Fix some javadoc warnings

Change-Id: I2abaf0d91edca5419b26f1c5a69246bcdb9201bf
2016-02-12 21:34:21 +00:00
Sithara Punnassery
81afbf1ceb ONOS-420 Openflow trigger probe test
Change-Id: Ie3c5f89ea76a4d57ba94348a85af2cf57222bd3a
2016-02-12 02:01:57 +00:00
Jian Li
01a616726b Define a new control message to control metric type mapper
Change-Id: Id5b365753a3a5abc3a864c4350e427336ee69448
2016-02-11 23:52:42 +00:00
Jian Li
7d9d4399e8 Bug fix: make sure that divisor is non-zero value
Change-Id: I7214ebf552ba60db149db2b4edbb90f59d3bdd16
2016-02-11 20:16:41 +00:00
Jian Li
1446aef8a5 Add dependency between onos-app-cpman and onos-of-provider-message
Change-Id: I428d9a046086d86f037d481468c67c8875b6ec5f
2016-02-11 20:16:40 +00:00
Jian Li
1d13c261c3 [ONOS-3504] Initial implementation of control message aggregation
This commit implements control message collection feature in
OpenFlow message provider.

Change-Id: I2a3ed2e5edbe1f39b503bb74a10259026b806513
2016-02-11 01:59:04 +00:00
Charles Chan
cb13d12979 Expose cookie information in packet context
Change-Id: I7f2cb331a19aeca1a578aade6488a6480d15496c
2016-02-11 01:14:49 +00:00
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
Jian Li
889cffb979 Fix incorrect class and method description for PortStatsCollector
Change-Id: I6d16597fed207c2ddfd0fb14848b346d216c6965
2016-02-08 18:32:45 +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
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
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
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
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
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
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
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
Antonio Marsico
1c5ae1f1f6 Fixed loading of context property at startup
Change-Id: I4a1b3b3f07232378a6bb840efcabbaa0f74ef215
2015-12-17 20:03:32 +00:00
Hyunsun Moon
a834c18e61 Added TUNNEL_ID and TUNNEL_IPV4_DST case to GroupBucketEntryBuilder
Change-Id: Ia784ceb6cc70ca1a0f9eb4b20eee7c90caafdf92
2015-12-17 19:07:51 +00:00
Hyunsun Moon
9ae22e9448 Added TUNNEL_ID action type to GroupModBuilder
Change-Id: Ic933b0d60af093627413afbe9e81c4afe468d274
2015-12-17 18:26:43 +00:00
Ray Milkey
4fd3ceb3df [Falcon] fixes for Sonar Critical bugs
Change-Id: I0a63578727693a2517f3002bd4f4c391b6f44aea
2015-12-17 17:39:44 +00:00
Brian O'Connor
880dc20ddb Starting snapshot 1.5.0-SNAPSHOT
Change-Id: If9ce4ca5f5f6d089e9f088e710367f4e2ca1c9b6
2015-12-16 22:53:14 -08:00
Brian O'Connor
5a2856fd01 Tagging 1.4.0 (Emu release)
Change-Id: I55e4dbcecbfac86cccae27aa99a813910bd5557a
2015-12-16 22:47:51 -08:00
samueljcc
4f4d25a4b8 [ONOS-2860] ONOSFW L3 uses ARP table as arp proxy. It need modify ARP
request packet to response packet. OpenFlow protocol provides some
extension action to support it. e.g. move and load. But for now OpenFlow
java implementation doesn't support for them.

Change-Id: I8ee6b415d9dce9a471ad5b6d788eebc905219d89
2015-12-16 20:01:29 +00:00
Brian O'Connor
6b7707101b Switching back to snapshot 1.4.0-SNAPSHOT
Change-Id: Ie726afc2df730a1009db421328267f2dcfedfd66
2015-12-15 15:48:42 -08:00
Brian O'Connor
d1cdd19530 Tagging 1.4.0-rc3
Change-Id: Iddb1e8adff820e81794bf83f5861519e9a787880
2015-12-15 15:36:45 -08:00