411 Commits

Author SHA1 Message Date
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
Charles Chan
ecfdfb7461 ONOS-3411 Disconnect switches and stop stat collectors when openflow-base is being deactivated
Change-Id: I9a1b5fbb60a9e7135cd586fe717c18f83e3d864d
2015-12-02 19:25:49 +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
Thomas Vachuska
016bef721f Fixing features.xml so that they don't self-reference.
Change-Id: I1f4b8bc956f24d422af06e02330f5de8bb4873c2
2015-11-25 00:57:59 +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
Satish K
e6d91c544e Null Pointer Dereference Fix in openflow
Change-Id: I9011e9a87f427410afa5ef3d24a418fc1e189360
2015-11-21 19:04:39 +05:30
BitOhenry
76430855e7 [ONOS-3373] Add arp_tha operation to provider of openflow
Change-Id: I04449a15d8e34fea4faba3729b9b6998ec9b0a5c
2015-11-20 22:37:46 +00:00
AdrianAlan
0be8724983 fixing INVALID_GROUP error for FAILOVER type
Change-Id: Ieec82404d347dc812f49cf40c617e667381249d8
2015-11-19 22:32:50 +00:00
Charles Chan
e889e2d0f2 [ONOS-3370] Extract hostprovider and lldpprovider from openflow
There are three independent apps:
    - openflow-base
    - hostprovider
    - lldpprovider
And there is also one meta-application called openflow that
contains all three of them.

Also fix the dependency issue when the apps are loaded from disk

Change-Id: I6da584e03593db9094b3a57976b28291f207c3c6
2015-11-18 18:12:50 +00:00
jiangrui
a6b46098ae ONOS-3345 Add processing about Instruction type Extention in
GroupModBuider.

Change-Id: I1c99db1c3c1105924ee7c6e2da31daa02f5a1af4
2015-11-18 02:31:09 +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
Charles Chan
c42e84e5b2 [CORD-46] Create a broadcast group for each subnet
DONE
- Expose subnet-to-ports information from DeviceProperties and DeviceConfiguration
- Create subnetNextObjectiveStore to store <DeviceId, IpPrefix> to nextId mapping
- Implement broadcast NextObjective in SpringOpenTTP
      Use ALL group type to achieve broadcast

TODO (not in this submission)
- Push ARP table for a host when its location is learned
- Push default ARP table miss rule. Action = to the broadcast group

Change-Id: I2de28095e85289e75af3fc7a02c811b270b342ad
2015-10-29 21:16:45 +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
Lei Xu
dee1aff0e0 [emu][onos-3159] fix concurrency flaws in OpenFlowDeviceProvider.java and OpenFlowGroupProvider.java
Change-Id: I76b21b221d3ef71e1701c13810c4df374afe1776
2015-10-19 18:52:04 +00:00
Thomas Vachuska
fa8aa2f188 Fixed an NPE in device manager/provider.
Change-Id: I0240bc6f591881efefc1043eb620068d6ab2d9a4
2015-10-14 01:47:31 +00:00
Brian O'Connor
5251562d15 Fixing Javadoc errors
Change-Id: I72b9d49e052316cbbbef343d367ffffe13cd4e56
2015-10-09 17:08:17 -07:00
andrea
fe3308fa13 minor formatting changes
Change-Id: I361955b820489793ffb8f6b9b9ff24d429e1dd99
2015-10-06 23:20:00 +00: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
Yafit Hadar
a9a73def6a [Emu] Open Flow Optical Port Description
Change-Id: I8da4d7a1e1dea18d56cba9673f70b1ec69a5adcf
2015-09-23 16:43:35 +00: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
HIGUCHI Yuta
04b49fc898 Deprecate ModMplsLabelInstruction#label()
Change-Id: I1324747adaa8ccb28077aa14b208df1083f39a3f
2015-08-28 18:08:12 +00:00
Hyunsun Moon
cf732fb688 ONOS-2711 Replaced short to TpPort for tcp/udp ports
Change-Id: Ibf0474b5369d11d377fd33cf5ab48083cbca3308
2015-08-25 16:10:35 +00:00
Saurav Das
73a7dd4033 Support for setting the MPLS BOS indicator bit.
Change-Id: Ib42747445113aadb62fd161a1c79ca59783884af
2015-08-20 21:51:13 +00:00
Saurav Das
ffc5bbc55b Support for matching on MPLS BOS indicator bit
Change-Id: I9f8c3f499beff7c70b4c829c2846c71007932d94
2015-08-20 16:33:32 +00:00
alshabib
58fe6dc46f fixes for Meter Service
Change-Id: I83d5b8a2e0a955c050f7afe96761d5709d4f9f18
2015-08-20 16:21:08 +00:00
alshabib
10c810b199 added treatment support and conversion to an instruction
moved to meter api to onos-api

Change-Id: I0504f06fdc503953fa7696224d97edda43596d6e
2015-08-19 18:28:09 +00:00
alshabib
7bb050183d Initial implementation of Meter Service (needs testing)
Change-Id: Ie07bd3e2bd7c67a6499c965d8926eb361ad16462

store impl started

Change-Id: Ib8b474f40dcecff335a421c12ad149fe9830c427

full implementation

Change-Id: Ie59fd61d02972bd04d887bdcca9745793b880681
2015-08-18 10:24:21 -07:00
Marc De Leenheer
0b8b2ef8db ONOS-2041: Flows don't stay in PENDING_ADD forever on LINC-OE
Change-Id: I2f4aa8a9a714f0f2a1d8da5987467d5c3282a503
2015-08-07 17:49:01 +00:00
alshabib
1d2bc40170 moving meter service to incubator and initial implementation of
meter manager.

Change-Id: I6ef0d9476b58d00b37f7ef156ac7bdacca20185b
2015-08-03 21:06:06 +00:00
Thomas Vachuska
c87348df5a Temporarily disabling the OF meter provider until the provider service can be made available.
Change-Id: Iae79181f816e6ac3467bfe5e8d3f843807a0ff57
2015-07-31 12:33:50 -07:00
Marc De Leenheer
fc913dd2f7 LINC driver and OF device provider report correct optical port types
Change-Id: I501ce5f6f53136254024ad7122a4fec0d17504e0
2015-07-31 15:30:04 +00:00
alshabib
c791179ca2 OpenFlow Meter Provider - still need to parse meter stats
Change-Id: I4b313ea003b3801f81ec7d4823bf69de37fd8643
2015-07-31 15:26:22 +00:00