250 Commits

Author SHA1 Message Date
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
Srikanth Vavilapalli
78baf58cff Segment Routing ONS demo fixes: Includes traffic visualization fix
Change-Id: I5119271464b696fd145c6b63bee09d7f3ef109bd
2015-06-05 21:00:20 +00:00
Thomas Vachuska
4e6025e48e Fixed potential NPE in port-stats.
Change-Id: Id3cc83b0ca914223f2cf267605c29cc2093c313f
2015-06-03 11:25:21 -07:00
Thomas Vachuska
711db55d75 Fixed ONOS-2051 by eliminating treatment and priority from flow id/cookie.
FIxed NPE in port stats collection.

Change-Id: I30954d31c39be959e84fa74f1c4e781d5767f303
2015-06-02 16:35:26 -07:00
Thomas Vachuska
74bcd92c75 Added STC shutdown scenario.
Change-Id: I48b882c872f69fdd84fe2fd057163e68ffb58012
2015-06-02 20:17:57 +00: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
c3328768e7 Removed dead code + Dropped log level down to debug to reduce verbosity
Change-Id: I565775261a63b391011e1b341903390a9f26b6a6
2015-06-01 01:23:37 +00:00
Thomas Vachuska
893bf4b142 Fixing OF device provider to accrue all port stat multi-part messages before pushing update to the core.
Change-Id: Ib5792ffbf4be2e50e30ab6ed14149337b7e545d6
2015-05-29 18:13:18 -07:00
Thomas Vachuska
f0397b5b81 GUI -- Added port-statistics traffic visualization to the topo view.
Change-Id: I52b3c1739cc50a026c0796819d61ec1898937ced
2015-05-29 20:56:08 +00:00
Sho SHIMIZU
c17042d9e5 Refactor: Rename the class and method to make them more descriptive
- Rename from FlowModBuilderHelper to OpenFlowValueMapper
- Rename from UnsupportedConversionException to NoMappingFoundException
- For methods, use "lookup" instead of "convert"

Change-Id: I8e86e3221385a48524247aa78a497b524e16071a
2015-05-28 23:15:08 +00:00
Sho SHIMIZU
43f65ed9ab Refactor: Use bidirectional map to make methods easily consistent
Change-Id: I016bb98366351f60e4a6cc36de224a3d3163ac2d
2015-05-28 23:14:47 +00:00
Sho SHIMIZU
4f828eef74 Fix cast error when building flow entries containging optical properties
Change-Id: I6e963143a22fcd57e2f1388941f7cb4fc51e52f6
2015-05-28 23:04:22 +00:00
Ayaka Koshibe
74b5527081 Miscellaneous fixes for reading Linc-OE port types.
- Keep track of created PortDescriptions so that they can be replayed when
   configurations don't stick
 - Push topology configs to all cluster members (Temporary hack until
   Configs are made Mastership-aware)
 - Port type consistency for Optical ports - default to FIBER port type

Change-Id: Ib2c9e2839c212d2998206bd0106490b2b38446a9
2015-05-28 22:57:37 +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
Saurav Das
88329900ec Bug fixes for ofdpa pipeline
Change-Id: Ia532c51d0f348b31bf38aa10c567ba9bf8aa23e3
2015-05-28 16:30:22 +00:00
Saurav Das
86af8f19ae Adding support for writing metadata instruction.
Needed by Centec driver.

Change-Id: I705015c4d7ac881c273a01b36b05d39d9cd9ba87
2015-05-27 16:00:11 +00:00
Sho SHIMIZU
c15ce5113e Fix a cast error when creating OpticalConnectivityIntent
A cast error occurred in FlowModBuilder when the type of
Criterion was OCH_SIGID.

Move two convertion methods from FlowModBuilderVer13 to
FlowModBuilderHelper for refactoring.

Change-Id: I4634d57fc70cfb144de64d72140cbca81e060248
2015-05-27 15:56:16 +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
Brian O'Connor
f5ece321f7 Dropping dependency on onos-of-drivers in onos-openflow
Change-Id: I29a56b35fb360078f65ff42fe7143b6b0af3e95f
2015-05-21 17:38:43 -07:00
alshabib
da4abde453 fixing vlan_push in 1.0 environments, ie. it does nothing
Change-Id: Ia29c9ef3d93d40216c90a6c7e89c7fb2125ce55b
2015-05-20 22:26:16 +00:00
Thomas Vachuska
3358af2e7f Demoting boy-cried-wolf log messages.
Change-Id: Idfb9b3178b79ab6b30af285c10a52b9f20dfbfe1
2015-05-20 17:57:49 +00:00
Ayaka Koshibe
ae541737d4 Linc-OE ports now identifiable as Och and OMS ports.
Reference: ONOS-1803

Conflicts:
	utils/misc/src/main/java/org/onlab/util/Frequency.java

Change-Id: Ie2bdf74f8198afbd58a4762ff97bff6f4e9010df
2015-05-19 23:36:04 +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
sangho
1e57565687 ONOS-688 (ONOS-1835,1836,1837) :
- Implements features to create and remove tunnels and tunnel flow policies.
 - Implements REST API to create/show/delete tunnels and policies.
 - Supports only single instance for now.
 - Fix "apply" actions to "write" actions of all flow rules
Change-Id: I3740ed82fed8eab4ab8b03839192da72d3e223f1
2015-05-15 23:00:16 +00: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
e397ffe6a8 Handle ModOchSignalInstruction in FlowModBuidlerVer13
To support OCh (Optical Channel) according to ONF
"Optical Transport Protocol Extension Version 1.0"

Change-Id: I00d0d61a9c2a2808cf5a02df608a6f3a35afaf28
2015-05-13 17:04:50 +00:00
Sho SHIMIZU
5cd7ce95ae Make indent of case label consistent with other switch statements
Change-Id: I54254840efb0511290e2313cfa10878fb83feda5
2015-05-12 19:12:47 +00:00
Sho SHIMIZU
6601dd7c2d Return Collections.emptyList() instead of null to avoid NullPointerException
Change-Id: I763a6d8993e32e2203c9e3be317d3db3e893d886
2015-05-12 19:11:27 +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
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
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
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
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
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