716 Commits

Author SHA1 Message Date
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
andrea
eb70a94b55 [ONOS-3253/3144] Insert support for Netconf device configuration, set and get controllers commands
Change-Id: I99188aa18207b9d0b0d935b9f9e61e547f4ddab1
2015-11-20 00:03:05 +00:00
AdrianAlan
0be8724983 fixing INVALID_GROUP error for FAILOVER type
Change-Id: Ieec82404d347dc812f49cf40c617e667381249d8
2015-11-19 22:32:50 +00:00
HIGUCHI Yuta
b853b3fbec LldpLinkProvider: ignore logical port earlier
- No functional change.
  When port link state went down,
  old code attempted to remove logical port,
  which has never been added to LinkDiscovery helper.

Change-Id: Ic6921d99944eecd72bcae02ad3d974836595e1a9
2015-11-19 21:38:57 +00:00
HIGUCHI Yuta
703a5af90f equals for {Device,Port,Link,Host}Description
Change-Id: Ia69a469ed7b3ef183e45b3fb4d110edcbb4f3aad
2015-11-19 17:52:22 +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
5f4d2e6402 ONOS-3362 Fix triggerProbe method of ovsdbDeviceProvider.
Change-Id: Idc1d5f8482c16f8145154e03009d7cf50fdd7e53
2015-11-18 02:34:25 +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
jiangrui
8356361dcd CORD-221 Resolve ovsdb device re-connect issue.
Change-Id: I51fae488ab5f6b3b638bc05a17f1f5438d3a4f71
2015-11-18 02:28:24 +00:00
Jonathan Hart
b35540a041 Addressed some more naming issues throughout the code.
Change-Id: Id679540d55075d902283ad0e2e836b6517752784
2015-11-17 19:21:24 +00:00
Phaneendra Manda
bcdb7c9c6a Tabs converted to spaces in pom files
Change-Id: Id20ba34388b1f41d0d542e773d49b221c0bfb3f7
2015-11-13 14:03:30 +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
jiangrui
65609ff39d ONOS-3236 Ovsdb host's vlanid is null,it should be the default value -1.
Change-Id: Ibf1739df674d7a8ecea27496fac870dcc384b3e2
2015-10-28 16:54:38 +00:00
HIGUCHI Yuta
9a9edf87c0 ONOS-3206 refactoring LLDP link provider.
- refactoring to unify LinkDiscovery helper instantiation
- Support suppression rule update at runtime

Change-Id: I2a6db6e82fcb90ee5635f0ac09564efd55276ebf
2015-10-27 21:58:46 +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
1e60f97ae5 Adding skeletal structure for netconf libraries.
Change-Id: I1e0590d4d60ed83e123fb2da455ffde3fd7d495a
2015-10-19 09:59:49 -07: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
Charles Chan
5d5e062963 [ONOS-641] Update unit tests to include IPv6 as well
- HostMonitorTest
    Add more IPv6 related test cases
- HostLocationProviderTest
    Add more test cases, including:
        NS/NA
	RS/RA
	DAD
	IPv6 unicast
	IPv6 multicast
	IPv4
- HostLocationProvider
    Minor indent fix

Change-Id: Id4c3af430862c61872ccaa98beac3a47313206ac
2015-10-05 18:03:01 +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
Hyunsun Moon
5fb20a5318 CORD-160 Add connect and disconnect methods to ovsdb
Change-Id: I66e777f8ec9c5834e27b1dc685fdeb197e30ce0d
2015-09-28 17:40:57 +00:00
samanwita pal
c40e5ed5ba ONOS-2926 Remove IP instead of host when the IP mapping is released
Change-Id: Ifea3366ce8a18ea068e615636b3069e769221c0e
2015-09-25 01:51:31 +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
Thomas Vachuska
347cc8757e Fixed a few blemishes in the packet processor GUI view code.
Change-Id: I9e109b9d8432de52862809719284d627320d5d6f
2015-09-23 10:48:21 -07:00
Yafit Hadar
a9a73def6a [Emu] Open Flow Optical Port Description
Change-Id: I8da4d7a1e1dea18d56cba9673f70b1ec69a5adcf
2015-09-23 16:43:35 +00:00
Brian O'Connor
f107bd7193 ONOS-2947 Improvements to HostService
- Added ability to replace IPs for existing hosts to HostProviderService
- Moved createOrUpdateHost to use compute() (rather than get/set) in HostStore

Change-Id: I8ac035d010ae65f23158d2237f9fc97c8f811dd4
2015-09-22 00:41:03 +00:00
Brian O'Connor
f967ad61dc Starting snapshot 1.4.0-SNAPSHOT
Change-Id: I6b64a70eb8c416b58689afd2af7d726153176f6b
2015-09-18 15:19:54 -07:00
Madan Jampani
38a8821a87 change to LF line-endings; not CRLF.
Change-Id: I0991704fcfe9abdd64989509c2cf53ae8aa67ae4
2015-09-15 11:21:27 -07:00
Jon Hall
3edc08abd8 [ONOS-2880] Initialize SuppressionRules before use
Change-Id: Icefce8109faa1732a5d2c7989695874775926977
2015-09-14 16:59:07 -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
Thomas Vachuska
e4ebac9cfa ONOS-2846, ONOS-2812 Refactored link discovery pruning to be centralized rather than being with each link discovery helper.
This will make it behave properly in a distributed context.

Change-Id: I9b9788336468c41d1cf506e388306ad9136d5853
2015-09-10 20:13:19 +00:00
Thomas Vachuska
05453c9877 ONOS-2846, ONOS-2812 Reworking link discovery provider to be fully configurable and to prune links based on links rather than based on ports.
Change-Id: I0a042403baf163bebd471bffd112b28571dae75b
2015-09-10 15:33:56 +00:00
Thomas Vachuska
e796610b1f Modified host discovery to suppress discovery of self-assigned IP addresses.
Change-Id: I40e7c20a6f5b76abe9d9481a135581431e8fcd9f
2015-09-10 01:53:02 +00:00
Ray Milkey
9b36d81ce3 Javadoc fixes
Change-Id: Id23ed2d576b2222194153be9d043ca5acafe67ae
2015-09-09 23:54:01 +00:00