235 Commits

Author SHA1 Message Date
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
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
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
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
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
Antonio Marsico
1c5ae1f1f6 Fixed loading of context property at startup
Change-Id: I4a1b3b3f07232378a6bb840efcabbaa0f74ef215
2015-12-17 20:03:32 +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
Brian O'Connor
b22ba656bb Switching back to snapshot 1.4.0-SNAPSHOT
Change-Id: Ic0ff8fe27d46b0662f596db9185591736efa6cf9
2015-12-11 17:02:48 -08:00
Brian O'Connor
4aded4c8b7 Tagging 1.4.0-rc2
Change-Id: I7e2916f7b02d297818ad65153aee5e5946f882ac
2015-12-11 16:55:13 -08:00
Brian O'Connor
a3e5cd5cde ONOS-3023 Changing flowTable sets to map so that we can compare
stored vs. new rule when adding and removing

Change-Id: Ibd885023d550af3b2220056fbdf44ad8ec7fefda
2015-12-10 01:16:46 +00:00
Brian O'Connor
2156461ee9 ONOS-3529 Updating FlowEntryBuilder to avoid calling getTable on OF_1.0 messages
Change-Id: Id67a07855e0aed0cbd0612a28914c54d802af2cc
2015-12-09 00:50:04 +00:00
Brian O'Connor
8c68536972 Changing line endings to \n in NewAdaptiveFlowStatsCollector
Change-Id: I233c6f4161d0e3af308f744908c52a091824eca8
2015-12-05 15:27:27 -08:00
Brian O'Connor
905ea22db6 Starting snapshot 1.4.0-SNAPSHOT
Change-Id: I0398bb2093e70d39788888038abb9df6193ccb42
2015-12-05 00:57:06 -08:00
Brian O'Connor
b209dc68e2 Tagging 1.4.0-rc1
Change-Id: Idec5c65021283fa03a8f2530aebba968a5451d8b
2015-12-05 00:56:21 -08:00
Jian Li
f1ecf99981 [ONOS-3513] Implement PBB I-SID Criterion and test case to Southbound
Change-Id: Ic6836cb7df1eb2d8b871b85029a1a8e31add1289
2015-12-04 19:22:46 +00:00
Yafit Hadar
7351461585 [Emu] ODU SIGID and SIGTYPE FlowEntryBuilder and FlowModBuilder implementations
Change-Id: I6b332f98dd74250d1cdb289a00780d0d16ae7fb2
2015-12-03 21:12:16 +00:00
lishuai
3cce60bfce [ONOS-3499] Add the set treatments of ARP_SPA, ARP_SHA and ARP_OP.
Change-Id: I7e1927bcf26e7c25fede43aa864a1b71ae2e8b49
2015-12-03 19:13:09 +00:00
Jonathan Hart
26a8d95a18 Implemented the extension framework for selectors.
Change-Id: I577900141889fc70ca54e96cd5d54cfd5194b05d
2015-12-02 23:58:59 +00:00
Marc De Leenheer
c2999f30c6 LINC driver updated to always use LINC's non-standard OF optical extensions.
ONOS-3399

Change-Id: I7bbd39947facfbbd53a164ea34c7da50782bfd6a
2015-12-01 03:35:56 +00:00
BitOhenry
b40129ae7c [ONOS-3485] Create arp_op selector and add operation to provifer of
openflow to onos

Change-Id: I4dd0a9d7eb66092d7633e288a1fc94ad66eb4810
2015-11-30 21:44:21 +00:00
alshabib
880b6445f2 decoupling extension types from of protocol
numbers renaming extension instruction to
extension treatment

Change-Id: Ie949d6235c2a5a984f7c7867262f8336721f1ee7
2015-11-24 19:42:43 +00:00
BitOhenry
296b454e76 [ONOS-3464] Add arp_spa operation to provider of openflow
Change-Id: Iffb0d12bd53b292ef370fd12c0e9d693a215f5cb
2015-11-24 08:43:15 +08:00
BitOhenry
c1e5fcca38 [ONOS-3441] Add arp_tpa operation to provider of openflow
Change-Id: I94949f4b536bbaa3f5999f8584674bbe44cb2c6b
2015-11-23 18:14:23 +00:00
BitOhenry
a331b1840f [ONOS-3414] Add arp_sha operation to provider of openflow
Change-Id: I3c318ca1e52b6b6291026fc8fd54782cb521ee2b
2015-11-23 08:41:33 +08:00
BitOhenry
76430855e7 [ONOS-3373] Add arp_tha operation to provider of openflow
Change-Id: I04449a15d8e34fea4faba3729b9b6998ec9b0a5c
2015-11-20 22:37:46 +00:00
Charles Chan
30ba400e57 Fix javadoc warnings
Change-Id: Ic1f2552f1a91779ee8b2a976ebe316981e6897df
2015-11-05 14:45:16 -08:00
Steffen Gebert
ba2d3b7871 Implement OFActionEnqueue (OpenFlow 1.0 only)
Realize the QUEUE Treatment using OpenFlow 1.0 Enqueue action.

The ConnectivityIntentCommand's --setQueue parameter is extended by a notion of
<port>/<queue> to support the difference from OpenFlow 1.3 Set-Queue, which is
not bound to a port.

Change-Id: I28cf70a7c004a1a3a14361e5186cfe42f09f1356
2015-11-03 22:55:40 +00:00
Jonathan Hart
3c25916dff Generic extensions to the treatment API to support protocol extensions like
OF experimenter actions.

Change-Id: I88cc5896d17fdbf89807f911f9c23e4f19f6a5ad
2015-11-02 22:02:11 +00:00
Jonathan Hart
8cf212a318 FlowEntryBuilder: Don't do strange things with VLAN ethertype
ONOS-3258

Change-Id: I06e0178211b4e96f1dd70e35ab914ef62bfbb8a2
2015-10-30 15:52:43 +00:00
Steffen Gebert
bbfdaaaef5 Implement OFActionSetQueue (OpenFlow 1.3 only)
Action "Set-Queue" (OFPAT_SET_QUEUE) is not yet implemented.

This patch adds such a QUEUE Treatment and implements it using the Set-Queue
action of OpenFlow 1.3.

The --setQueue parameter can be used when defining intents so that flows with
the respective Set-Queue action are installed.

This includes contributions by Michael Jarschel and Arne Schwabe and is the
result of our ONOS Hackaton project at EWSDN 2015.

Change-Id: Ie7bf01e8fd90fe68977477327ac4f53d7930e186
2015-10-21 10:36:17 +00:00
Brian O'Connor
5251562d15 Fixing Javadoc errors
Change-Id: I72b9d49e052316cbbbef343d367ffffe13cd4e56
2015-10-09 17:08:17 -07:00
Thomas Vachuska
d07c092025 ONOS-1636 Added code to mark devices offline when openflow provider is deactivated; fixed a few NPEs.
Change-Id: I5f0e90b14bf1f00abd58e12590a3339b93695122
2015-10-06 22:11:52 +00:00
Srikanth Vavilapalli
95810f5465 CORD-13:Table Statistics support along with CLI and REST
Change-Id: Ic7facc73754c4b1e7c9c5a9eecd217f89a67e135
2015-10-05 15:56:38 +00:00
ssyoon90
a98825ab5d [Emu] openTAM: FlowStatisticManager, DistributedFlowStatisticStore, get-flow-stats CLI Implementation and NewAdaptiveFlowStatsCollector update and typo
- GetFlowStatistics.java
   .Fixed function name typo: immediateLoad()
 - SummaryFlowEntryWithLoad.java
   .Added javadoc
 - TypedFlowEntryWithLoad.java
   .Added javadoc,
   .and replace checknotnull and throw NullPointerException in typedPollInterval() at line 104

Change-Id: I23d2eaf234d0affeb5f927275148d9165c66c774
2015-10-01 11:29:45 +00:00
Charles Chan
7efabebd01 [CORD-197] Properly handles a flow with empty instruction
Change-Id: Ia465fdc8df1dca7a46249cd4cd8d41faf8461c3a
2015-09-30 13:37:04 +00:00
chengfan
e264bef448 ONOS-3010 implement flow with meter
Change-Id: Ib629b74441480c6902a492ed3ddd21adb452af87
2015-09-28 20:47:23 +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
f967ad61dc Starting snapshot 1.4.0-SNAPSHOT
Change-Id: I6b64a70eb8c416b58689afd2af7d726153176f6b
2015-09-18 15:19:54 -07:00