716 Commits

Author SHA1 Message Date
Sanjay S
0d4093f081 Added New Test Case to Validate Netconf Device Provider.
Change-Id: Ib92adcfe433580e400dd8c7ecb88a3328e47c31e
2015-05-06 17:56:03 +00:00
Charles M.C. Chan
e148de8087 Request packet in when config being modified during runtime.
We can now enable features such as IPv6 via cfg command dynamically.
NOTE: We should remove unnecessary packet requests when app being deactivated
or modified once PacketService support the request revocation.

Change-Id: I7f239ce9db74456097675d03de99468db70a919f
2015-05-06 17:55:40 +00:00
Sho SHIMIZU
c14b2a2cea Use long literal to shorten codes
Change-Id: I7a6c4e32b98aa37ce862ab94cab246889aea986a
2015-05-06 17:45:56 +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
Sho SHIMIZU
6f1b09e4d0 Add missing break in switch case to resolve an issue found by SonarQube
Change-Id: Ie3e68c0ea317c096a302f576ba9330838a74516e
2015-05-05 13:28:59 -07:00
Thomas Vachuska
5c3fd7083c Fixed IoB exception in null provider.
Change-Id: I1e2e6ef7068d5e251f30ac6c10d17f24f611124a
2015-05-01 19:36:50 +00:00
Jonathan Hart
c3af35a9b7 Add static factory method to create ConnectPoints from strings.
Change-Id: I743b4a4fb433ad07cf6f2cbed3da7b6e19a74ebb
2015-04-30 22:20:29 -07:00
Thomas Vachuska
266b4433a5 Fixed javadocs and descriptions.
Change-Id: I92147b858d8012c957cc03fab2d306740161e2f3
2015-04-30 18:13:25 -07:00
Thomas Vachuska
d6811710c6 Turned netconf providers into an app and made NetconfDeviceProvider register its configs with ComponentConfigService.
More cleanup needs to be done to avoid log messages with "+" and some other stylistic issues.

Change-Id: Ic1be1ce6d3340f5a6284ba5514d0052e01bdaaed
2015-05-01 00:34:59 +00:00
Thomas Vachuska
866b46a5be Reworked the dependency on default drivers. Driver manager must NOT depend on these.
Instead, it is ok for the flow manager to have a dependency on the drivers and go fully active/dormant when the default drivers arrive/depart.
Removed inclusion of the onos-drivers bundle as part of the onos-openflow app as this caused an unwanted dependency.

Change-Id: I614290277d1621c8243c0c19e5d79273f2168016
2015-04-30 17:47:18 +00:00
Sanjay S
eb5eebbb82 Modified to accommodate code review comments.
Change-Id: I391db0afe13d862706b5592e60e83b725d99e672
2015-04-30 04:04:11 +00:00
Sanjay S
fc3b48e0d1 Modified pom to change the indentation, part of code review comment
Change-Id: I41ed3fb0de23231bfd46dca3348f73debfc21b5b
2015-04-30 03:51:30 +00:00
Sanjay S
e8dcfeedc4 Netconf Device Provider Plugin to discover and monitor NETCONF supported Devices.
Change-Id: I6d32c966fd4e9c3581db8285e2d712b6bffdb65c
2015-04-30 03:47:57 +00:00
Thomas Vachuska
75aaa675fb OpenFlowRuleProvider is now configurable with respect to flowPollFrequency.
Change-Id: I3a559a9cd65df1ae56d80017696452788fc08d91
2015-04-30 03:01:17 +00:00
Sho SHIMIZU
fbc80e5348 Pull out inner-classes from Criteria to be independent classes
Make constructors of sub-types of Criterion package private for
limiting instantiation only from static factory methods in Criteria

Change-Id: I1fb1e9d003288a778a49e758549a92b66bf3cfdf
2015-04-29 00:44:59 +00:00
Sho SHIMIZU
b35ed36918 Avoid unnecessary empty list instantiation
Change-Id: I128485be4e0d7d3400741855e4519f441cfb34c5
2015-04-28 20:17:51 +00:00
Jonathan Hart
9de692c2f7 LLDPLinkProvider: don't bother logging for PORT_STATS_UPDATED events
Change-Id: I76de409d03ffed45f2e4de7c9fadb383d1764614
2015-04-28 17:58:10 +00:00
Charles M.C. Chan
2184de1e7f ONOS-1756: Improve CLI auto completers
- Add more ICMP types and codes
- Add completer for --icmp6Type
- Add completer for --icmp6Code
- Add completer for --extHdr
    It is a multiValued option.
    For example, the following command will match an IPv6 packet with both fragment and routing extension header:
    add-point-intent --ethType IPV6 --extHdr FRAG --extHdr ROUTING
    NOTE: OVS 2.3.1 does not support OFPXMC_OFB_IPV6_EXTHDR match field yet.
- Change parameter of TrafficSelector.matchIPv6ExthdrFlags() from int to short since that field is 9 bits only

Change-Id: I55944399f3985f2cc09330a726f21983de273341
2015-04-28 17:47:22 +00:00
Charles M.C. Chan
9148d2d15d Bugfix for gerrit #3377
NDP packets, especially NS/NA packets, are not resolved correctly in my previous commit #3377.
As a result, the IPv6 addresses of normal hosts are not recorded by HostLocationProvider.

Change-Id: Id44485902d9b593c2a8aa376e405f548774203d2
2015-04-26 21:43:54 +00:00
Charles M.C. Chan
956cb69f5e ONOS-1414: Fix phantom hosts
- Refactor HostLocationProvider
- Ignore multicast packets other than NDP

Change-Id: I6b66becbc30a6a7e83f1da53fb46cf9c073fc86c
2015-04-27 03:07:52 +08:00
Thomas Vachuska
a6c0d044ed Fixed a dual-level NPE involving flow-rule payload. We need more unit tests and automated system tests!!!
Change-Id: I821214cc274377dc22cb5ab88c48567eaab778cb
2015-04-23 10:17:37 -07:00
jcc
3d4e14a72b FlowRule private extension refactor.
1.merge private flow into regular flowrule subsystem.no mirror code any
more.no change flowrule api.
2.define a rich-data-type to carry private flow.
3.modify OpenFlowRuleProvider.class to support for 3rd party private
flow.i don't know whether is suitable.because this class name is
relative with open flow protocal.
4.fix some junit test bug caused by modification of FlowRule interface.

Change-Id: I6c54d1e97f231a75bd1b416f0893e0379613d7ce
2015-04-23 04:11:34 +00:00
alshabib
bdcbb108ef fixed FlowEntry parsing to take table ids
Change-Id: I1dc6716ee299f1de7608663135a83346800068bf
2015-04-22 14:32:55 -07:00
Saurav Das
3ea46622c8 Removing dependency on lower level drivers for the BGPRouter application.
Also a couple of bug fixes

Change-Id: I8f2ec58ed3403ae03cf7c068dabb30ae4272ff85
2015-04-22 14:08:43 -07:00
alshabib
d17abc2e93 Refactored driver to use new FlowRule api.
Deprecated transition with table types and added api for transition with table ids.

Change-Id: Ifcf2d87d16810666d992e4d9f5ddca3d0da460be
2015-04-21 18:27:28 -07:00
Thomas Vachuska
b52a014a46 GUI -- Added ability to display port names in the devices view detail.
Change-Id: Iffaf3b46099f868b7245fe0c7819d13e5bff76d3
2015-04-22 00:56:43 +00:00
alshabib
08d9898714 FlowRule api no longer uses TableTypes. Existing usages are converted to
integer representations via Type.ordinal() call

Change-Id: Ie2a26c5ced166e12f0e1ea22e39cd5195455a1ad
2015-04-21 23:52:19 +00:00
Thomas Vachuska
41e8c18f22 Simplified app packaging to use just project.version rather than short.version.
Change-Id: I58c30b663810de42890b75bbcef5c7dc5a4a87ba
2015-04-21 21:23:11 +00:00
Thomas Vachuska
586afd8e2b Removing need for boilerplate app.xml; Instead defining onos.app.name and onos.app.origin (optional) is sufficient to trigger generation of boilerplate app.xml and features.xml files.
Change-Id: Ied8f3f8bf8774fae85e11c79a733b34dd5868949
2015-04-20 14:36:02 +00:00
alshabib
2a441c6807 Flow Objective implementation
Provides an abstraction which isolates the application from any pipeline
knowledge. By using the provided objectives applications can express
their forwarding desires in a pipeline agnostic way. The objectives
are then consumed by a driver for the specific device who converts them
into the appropriate pipeline coherent flows.

Change-Id: I74a68b4971c367c0cd5b7de9d877abdd117afa98
2015-04-17 22:57:56 +00:00
Thomas Vachuska
db7467ace2 Separating onos-drivers to be delivered as a separate app from onos-openflow. Apps activated by default (via onos-setup-karaf or onos-install/onos-config) are now onos-drivers and onos-openflow.
Change-Id: I35c7cca79a4b72e966cbc2cebe72b109f2d92706
2015-04-17 19:41:30 +00:00
Thomas Vachuska
a7a0f560a2 Converting builtin applications to be delivered in a self-contained manner via OAR files.
Change-Id: I5b7c6939aacc263248868fac2e0f69124c5f3609
2015-04-16 14:04:35 -07:00
Thomas Vachuska
f5af0a2ab4 Removed deprecated null provider sub-modules.
Change-Id: I154bdbc5eb27ce79ae5428ec6dc01b1dc09be8b0
2015-04-15 17:55:49 -07:00
Ray Milkey
34c959066d ONOS-533 Fix copyrights
- Any files created in 2014 and modified in 2015 got a copyright of
  2014-2015
- Used canonical form of 2014-2015 to be inclusive of extra years.
  Some files had 2014,2015

Change-Id: If9a133618873e4000b8f10299bde7c870eb1fbd5
2015-04-15 17:41:07 +00:00
Thomas Vachuska
f651cc9798 Fixing a defect in simulated topology to make sure to use unique ports.
Change-Id: I6ae266e9347470722e4df31aed18e3141e3e84a4
2015-04-15 00:00:59 +00:00
Srikanth Vavilapalli
10e75cd1dc ONOS-1443: Group bucket statistics support and group CLI formatting
Change-Id: Iaa6d8ae1f9222eb9c29d14bf1615a7449e50c4d3
2015-04-14 21:06:44 +00:00
Jonathan Hart
43d9f7a7a5 Remove deprecated openflow host and link providers
Change-Id: I9dbaa28a70998b6265a178bb459a56221f458b75
2015-04-14 17:24:04 +00:00
Thomas Vachuska
c40d463c27 Consolidating null providers and making them fully configurable and integrated with the ConfigProvider to allow arbitrary topologies.
Change-Id: I899e27a9771af4013a3ce6da7f683a4927ffb438
2015-04-14 01:23:24 -07:00
sangho
538108bae8 ONOS-1440: Implements port statistics feature, which polls port statistics of all devices every 10 seconds. Also, implemented a simple portstats ONOS CLI command to show the statistics.
Change-Id: I57e046ae2c2463a58b478d3a5b523422cde71ba2
2015-04-09 22:43:41 +00:00
Jonathan Hart
cc36be8bb0 Don't use exceptions for commonly-used logic
+ javadocs

Change-Id: Ib4d886e10996273855ab5784dc4a0d86f5b11103
2015-04-09 11:56:54 -07:00
Thomas Vachuska
0fa583c493 GUI -- Added applications view.
Fixed table.js column width computation.
Fixed app.xml files to leave out ONOS from description.

Change-Id: Icfe323e63c7965dd8c3a268421ea58065c5c8236
2015-03-30 23:46:18 -07:00
Thomas Vachuska
5630c61407 ONOS-1323 Upgrading environment to use Apache Karaf 3.0.3
Requires restart of any dev shell sessions that may have KARAF_VERSION=3.0.2 already set.

Developers that have their own local Karaf will have to run 'onos-setup-karaf <ip-address>' command

Change-Id: Iba234b3cd5af89de6dd249c97cac97525364cc34
2015-03-25 00:56:59 +00:00
Ray Milkey
4250735018 Remove deprecated instructions() method in the traffic treatment class
Change-Id: I739b35bdcbf9867c639c7b6ca4006f3eeafbb055
2015-03-24 18:18:28 +00:00
Thomas Vachuska
f845cf6cfd HostLocationProvider fix to avoid locating hosts on logical ports.
Change-Id: I39c754bbb204ef13799f4630557d29e2c18ad915
2015-03-24 10:13:09 -07:00
Jonathan Hart
67fc097a1e Remove "strip vlan" from our API because it is the same as "pop vlan".
"Strip vlan" is OF1.0 terminology, whereas by OF1.3 it is called "pop vlan".

Change-Id: I483526b39bf8ab6f9f96f251a8469e060b688878
2015-03-20 23:50:28 +00:00
Thomas Vachuska
ee4f9377c2 Adding more app.xml files.
Upgrading app.xml versions.
Cleaned-up features.xml.

Change-Id: I7c5a85480568ffe35281286aefc9aa4e1b3b2afd
2015-03-18 22:14:50 -07:00
Charles M.C. Chan
441d7da3dd ONOS-1153: Ignore Router Solicitation, Router Advertisement and DAD in HostLocationProvider
Change-Id: I533919fc0b04b87ca54ff0933ca87d38b664e2ef
2015-03-19 00:05:34 +00:00
Brian O'Connor
6ea48a22fe Starting snapshot 1.2.0-SNAPSHOT
Change-Id: Iffa1055c22448849353ede6581c277f4d3de78d8
2015-03-17 20:07:20 -07:00
Brian O'Connor
91d9019b24 Tagging ONOS Blackbird release: 1.1.0
Change-Id: Iee1accb8f83e03a1c4b2250d36d48aefd6383c97
2015-03-17 19:45:58 -07:00
Ayaka Koshibe
ef69be3254 Refactoring of NullProviders (device, host, and link)
- Handling reading of integral properties
  - Setting change handling
  - Null Host ID generation fix

Change-Id: Id000bafe08d7d9e7db2f4eceaede11a29e43eca9
2015-03-17 22:51:09 +00:00