163 Commits

Author SHA1 Message Date
alshabib
9b6c19cc4c securing the openflow channel
Change-Id: Ifae379e7e372baeb14a4ad919f014c64752c3a7f
2015-09-29 07:26:24 +00:00
alshabib
45fd88a628 Making OFChannel friendlier to non-compliant switches.
Change-Id: I7917569cdb77f0baf3f485f981fd53b114e80d69
2015-09-25 04:55:49 +00:00
ssyoon90
30fbcd97d1 [Emu] openTAM: NewAdaptiveFlowStatsCollector Implementation
- NewAdaptiveFlowStatsCollector.java
   .Bug fix to initialize callCountCalAndShortFlowsTask value
   .Added flowMissingXid variable to identify individual StatsRequest or match all StatsRequest message or not
  - DefaultTypedFlowEntry.java, TypedStoredFlowEntry.java
   .Added javadoc for class
  - OpenFlowRuleProvider.java
   .Line 2: 2014 -> 2015
   .Added adaptiveFlowSampling boolean property with default
   .Added call providerService.pushFlowMetricsWithoutFlowMissing in case of  individual StatsRequest
  - FlowRuleProviderService.java
   .Added pushFlowMetricsWithoutFlowMissing() function
  - FlowRuleManager.java
   .Added pushFlowMetricsWithoutFlowMissing() implementation
  - OpenFlowControllerImpl.java
   .Bug fix to unchange the StatsRequest Xid value in case of StatsReply Flow message type

Change-Id: Id4dc4a164da654af7b6dfb090af7336e748ef118
2015-09-23 18:13:02 +00:00
Brian O'Connor
e2a399ee9e Updating property name to openflowPorts
Change-Id: I7a589cc1ce2a9bae9fc48751fa81acc3c588d364
2015-09-22 15:46:03 -07:00
Brian O'Connor
ff27850b9b Listen for OpenFlow connections on 6633 and 6653
Also, cleaning up OFController config

Change-Id: I5f1fe159a6c59d3bea99bd89303f2afc4cf269b6
2015-09-22 14:50:27 -07:00
Charles Chan
45624b8ce5 [Emu] Changes default OpenFlow port to 6653.
Change-Id: Ib1cf28579e42d5dc136d0b81eec1d317e372aac8
2015-09-22 14:50:27 -07:00
Brian O'Connor
f967ad61dc Starting snapshot 1.4.0-SNAPSHOT
Change-Id: I6b64a70eb8c416b58689afd2af7d726153176f6b
2015-09-18 15:19:54 -07:00
Brian O'Connor
b3a3b52f46 Rolling back to snapshot 1.3.0-SNAPSHOT
Change-Id: I5394f02bc4cc4614427e5e535889e883944734fd
2015-09-10 17:26:49 -07:00
Brian O'Connor
cbc5878c31 Tagging 1.3.0-rc2
Change-Id: Id062ea54a0f03c26eb763e03cc347dbfe63cd03f
2015-09-10 17:08:00 -07:00
Thomas Vachuska
58de416ef1 Fixing copyrights.
Change-Id: Iacdddaf1b83fa24998730c3f714fcaf35351ae9e
2015-09-10 16:18:10 -07:00
Brian O'Connor
e8bcb70258 Changing version to back to snapshot 1.3.0-SNAPSHOT
Change-Id: I05bc4669bf3ad2a149cee5d303da42bf8ffd14e8
2015-09-04 23:57:08 -07:00
Brian O'Connor
004345f6c8 Tagging 1.3.0-rc1
Change-Id: I640fc75397b90532e8a71f9413b6822f80b3e775
2015-09-04 23:47:08 -07:00
alshabib
0588e57103 fixing dhcp serialization problem
Change-Id: Ie049f9c1e464ca9a2b651df74f7b979628d0d745
2015-09-04 22:03:27 +00:00
Changhoon Yoon
b856b813b5 ONOS-1767 SM-ONOS implementation
22a363e ONOS-17767 SM-ONOS impl

Change-Id: Ifca8129f2266bada68af735cf81a1d39f1ec8506
2015-09-04 18:09:49 +00:00
Michael Bunimovich
1b45e1f620 Do not discard exprimenter port stats message with unknown experimenter type; resubmit it
Change-Id: I2e684acd1c62824d793a96c98f89ae061a00f6c1
2015-08-31 21:32:35 +00:00
Charles Chan
3b00e1b2b5 Make OpenFlow port configurable via cfg command
Example:
cfg set org.onosproject.openflow.controller.impl.OpenFlowControllerImpl openflowPort 6633

Change-Id: I2fa4b0db671003d0b357e63df619f1b0dec38e03
2015-08-26 16:31:00 +00:00
Sho SHIMIZU
bc82ebbb86 Fix indent
Change-Id: Ic4474928ae926ccb66c13fae38ae504a0bbadeec
2015-08-25 19:38:51 +00:00
alshabib
5eb7939e20 Added Meter object accounting
Change-Id: I2a3b88ffd1756b738e197943b3e02771f5729e45
2015-08-20 16:30:39 +00:00
Michael Jarschel
7f521a3422 Fix to avoid unnecessary configuration message when switch does not have buffer
Change-Id: I688964ebd1f1218b51736b9918f3cc9184552fe5
2015-08-17 23:32:54 +00:00
Marc De Leenheer
b931137eb6 Driver and flow stats handling for Calient fiber switch S160.
Bump loxigen to 0.4.1.onos-SNAPSHOT.

Change-Id: Ieb8aa4fe716e12f89b83770eff617561f30cdd08
2015-07-30 16:34:26 +00:00
Jonathan Hart
9f1600aa53 Use isConnected rather than isWriteable to detemine if we can send to switch
Fixes ONOS-2479.

Change-Id: I1ccb6a599098a445b198f95a6223cef5671fd2e1
2015-07-29 09:26:46 -07:00
Jonathan Hart
a0d1249915 Retrieving handshaker drivers should respect driver annotation.
ONOS-2404.

Ported from onos-1.2 branch.

Change-Id: Ib0cd76790612216030a9dd50ed434253d8202868
2015-07-20 10:07:37 -07:00
Thomas Vachuska
80b0a802cc Added deviceId to the DriverData as part of available context.
Change-Id: I5be94f35a2889e0c93cf3c20c4c9d6f907411121
2015-07-17 16:10:52 +00:00
Chip Boling
68bc656331 [ONOS-2155] Fix for OpenFlow hello version negotiation
Change-Id: Idf0f59dc9761cd4a1cfc2c91922ad22b2c1b5c20
2015-07-07 14:55:13 -05:00
Thomas Vachuska
e9af1f44a4 Suppressing some error messages that pollute the log on switch disconnect.
Change-Id: Ia79e0efcdf8552a4be1ce6b6cb562100f077bd90
2015-07-06 20:27:15 +00:00
Jonathan Hart
2a65575cf8 Improve the resiliency of the packet deserialization code.
Packet deserializers now check for malformed input while reading the byte
stream. Deserializers are re-implemented as functions that take a byte array
and return a packet object. The old IPacket.deserialize(...) methods have been
deprecated with the goal of eventually moving to immutable packet objects.
Unit tests have been implemented for all Deserializer functions.

ONOS-1589

Change-Id: I9073d5e6e7991e15d43830cfd810989256b71c56
2015-06-29 16:31:11 +00:00
Brian O'Connor
afc2d7db88 Starting snapshot 1.3.0-SNAPSHOT
Change-Id: Idc4c114bda5268e534b9fc998215564d23d84c58
2015-06-05 23:31:25 -07:00
Brian O'Connor
a78abfcc39 Tagging 1.2.0
Change-Id: If1b4de17402bf8248c888de72891dc17a5bcd7ef
2015-06-05 22:40:03 -07:00
Brian O'Connor
3350390b1d Starting snapshot 1.2.0-SNAPSHOT
Change-Id: I96c63bb70f2cd27453f2da893d77f9e72966f780
2015-06-01 17:08:05 -07:00
Brian O'Connor
75aed4000e Tagging 1.2.0-rc2
Change-Id: I93f2bf38d29ddf788f7a81552695da80fc275c42
2015-06-01 16:58:14 -07:00
Madan Jampani
f2af771131 Dropping log level to debug in few places
Change-Id: I4b42d4f3edfc6e9cdd0822cfcb74d1070b0b7a70
2015-05-30 02:15:50 +00:00
Marc De Leenheer
d24420f41e Add OCh signal type to optical path intent.
Revert changes to LINC-OE specialized flowmod handling.

Change-Id: Ic4f333a44b7cd8a3111bfcba87ea909943eec56d
2015-05-28 22:53:42 +00:00
Changhoon Yoon
541ef71e6c ONOS-1993 Implement API-level permission checking + security util code location replacement
Change-Id: I7bf20eda9c12ed2a44334504333b093057764cd2
2015-05-28 07:06:12 +00:00
Ayaka Koshibe
3c24077e13 Lambdas are reinterpreted before being sent to Linc-OE switches. This includes
adding ability to intercept messages at the switch driver for modification before
being sent down.

Reference: ONOS-1980

Change-Id: I405b89a0fc3844555c9efa0cd9fc887a90d00280
2015-05-22 17:21:38 +00:00
Brian O'Connor
30a412deb3 Starting snapshot 1.2.0-SNAPSHOT
Also, fixed onos-upload-bits script to upload rc's to nightly/

Change-Id: I9bb8fe685492e23c740796879f0b66c307e26e56
2015-05-21 18:08:06 -07:00
Brian O'Connor
608e03a1bb Tagging 1.2.0-rc1
Change-Id: I2791aacb0ab4eb0d3db92fef5e58e9c62747bf8c
2015-05-21 17:56:07 -07:00
Thomas Vachuska
3358af2e7f Demoting boy-cried-wolf log messages.
Change-Id: Idfb9b3178b79ab6b30af285c10a52b9f20dfbfe1
2015-05-20 17:57:49 +00:00
Thomas Vachuska
fc52fecc3b Fixed a slew of shutdown exceptions that arose due to improper or out-of-order resource clean-up, e.g. listeners, timers, executors.
Change-Id: I37c351c4202b32e92c076d9d566b96d7ff8d313a
2015-05-19 17:56:49 +00:00
Thomas Vachuska
1c681d71f7 Aha! Fixed a phantom exception that would appear on shutdown; we must first close the channel group and only then shutdown the executors.
Change-Id: I43cba836321a156023a7ab2dbd3b937867ffd5c5
2015-05-18 22:21:37 +00:00
Srikanth Vavilapalli
23181915e1 ONOS-1823 and ONOS-1838:Segment Routing Multi-instance Support-1
Change-Id: I3cc848415a609a9c4001d135e51104c62fb2830d
2015-05-14 20:26:09 -07:00
Ayaka Koshibe
5460d62464 Interfaces for passing port information from OF switch drivers to DeviceProviders.
Change-Id: I14039f5999c930a211c30138caf81c0513d398e2
Reference: ONOS-1911
2015-05-14 23:31:43 +00:00
Sho SHIMIZU
3310a34163 Remove "public" to follow our convention
Change-Id: Ic5fa8744cbcb4c704780c8467ae0f31fce3327ce
2015-05-13 23:44:57 +00:00
Sho SHIMIZU
358815cde8 Remove "public" to follow our convention
Change-Id: Ic52ca8b1bc5701ec8214ce1110d49511e39b4edb
2015-05-13 11:25:32 -07:00
Jonathan Hart
6d44d1984d Use thread safe sets for listeners in OpenFlowControllerImpl
Change-Id: Ieaae89cad1d65c70afad8cde12b17282d7fe357e
2015-05-12 19:09:25 +00:00
Saurav Das
f9ba4221c1 Currently need to specify handshaker behavior in onos-drivers xml file.
Later this need will be removed as the system will use default behaviors.
Fixed a bug in group checker where it was consulting the wrong map.
Cleaned up some logs

Change-Id: I45d91bc8d4c19474dcf0c37f82763985e5d2c84f
2015-05-08 23:39:20 +00:00
Sho SHIMIZU
87114516f4 Replace manual hash code calculation for long with Long.hashCode(long)
Change-Id: Ie588a2904e0fcc790282af22912e8ff6d7a31648
2015-05-08 23:08:58 +00:00
Saurav Das
100e3b809d First shot at Broadcom OFDPA 1.0 pipeline
Requires changes to the group description to accept groupId from callers.

Change-Id: Ic21dfe8ae7c246b7d3a6b00e8e5c986e1dc21fa0
2015-05-07 17:00:02 +00:00
alshabib
a2df7b2ae7 fixed the LINC-OE behaviour. Handshaker behaviours must use
sendHandshakeMessage during the handshake rather than sendMsg.

Change-Id: I50b3da2c592f77dd786da68d42e5dc289407cd37
2015-05-06 21:11:22 +00:00
alshabib
b452fd7d71 Low level openflow drivers have been promoted to the driver subsystem.
All new device drivers should provide a handshaking behaviour as well
as well as a pipeline behaviour.

Change-Id: I883830b074e5d254a8cc6100e6c4fa0023594a36
2015-05-06 01:00:17 +00:00
Jonathan Hart
0165d195d9 Classify PicOS switches as OVS otherwise no roles requests are sent
Change-Id: I2a36b77d73c1ef0ba9110623b1e8bfd1d2ca240a
2015-05-01 00:36:31 +00:00