407 Commits

Author SHA1 Message Date
Thomas Vachuska
2dec354e02 Extending the versioning to cover BUCK artifacts.
Adding ability to version extraneous stuff.

Change-Id: I2e18dafd6d8705504ab01000d6707037415dfd0c
(cherry picked from commit 251016df5db8f11a14c4856f9b381e85ae1e2631)
2016-07-14 18:20:10 +00:00
Akihiro Yamanouchi
d4912841d7 [ONOS-4795] NETCONF function for FUJITSU OLT #3
[Done]
- Add vOLT ponlink commands for FUJITSU OLT
- Add new implementation with respect to the commands
- Move those commands to Fujitsu drivers directory
- Modify BUCK to avoid an error

Change-Id: I7a61234e18367aa74445800dd09f98c10edc35c4
2016-07-11 16:15:10 +00:00
Hyunsun Moon
89478668d2 Added patch interface add and remove behavior, and implemented OVSDB driver
Change-Id: Ic7632906fcfe50ec224fabdc15cb902a70150fae
2016-07-11 15:24:18 +00:00
Hyunsun Moon
dd14e8e6e4 Refactored tunnel and interface config behavior
- Added tunnel interface configuratoin to interfaceConfig and
  deprecated tunnelConfig
- OVSDB client service provides interface create/remove APIs instead
  of tunnel interface create/remove, and this APIs can be used to
  create/remove various types of interfaces like tunnel, patch, tap and so on
- Use tunnel description when create tunnel interface so that we can extend
  more config options later
- Some cleaup OVSDB client

Change-Id: I4653595504a27b18384a92ebe4b31ce9d99237cd
2016-07-11 15:20:52 +00:00
Hyunsun Moon
df6372b604 Chagned drivers/ovsdb app name to avoid conflict with providers/ovsdb
And added drivers/ovsdb to application list

Change-Id: I073d73823d045b003cc79bbc41b6c67272bb5f19
2016-07-08 17:38:36 +00:00
Charles Chan
797692374e Only pop internally assigned VLANs before sending ARP to controller
This is a fix for gerrit 10292 (commit ec8e06) which was not implemented correctly

Change-Id: If227860120c1e10a3ffbd0f8fb630490734ab751
2016-07-07 17:24:19 +00:00
Phaneendra Manda
8db7d092ba [ONOS-4612]Update SFC flows inline with the Official OVS NSH patch
Change-Id: If58517841096a939860d88aa78eca7cae46b9935
2016-07-07 17:19:48 +00:00
ivoutsas
e78f988145 Cisco Ios DeviceDescription
Change-Id: I51561c51fe18a6ee9676a894ec698e2a2fc222b4
2016-07-07 16:31:07 +00:00
yjimmyy
646aa02614 Implement PowerConfig for Oplink Devices
Change-Id: I939126580f8d3cdcdbcd9a46f6ee5cacbd25051d
2016-07-07 03:30:46 +00:00
Andreas Papazois
34a82cfae2 [GEANT] Rate limit on port via NetConf and refactoring.
Change-Id: Id5b5a196bed3b28159160b94bc5ae838d00cb765
2016-07-01 18:30:30 +00:00
Charles Chan
f57a8250fd Only pop internally assigned VLANs before sending ARP to controller
Change-Id: I066e03ad9a491ad99816a976bc5561667878031a
(cherry picked from commit ec8e062dba5ef681951ea0a879ee475aa490ac8d)
2016-07-01 18:21:00 +00:00
Jonathan Hart
f8035d3817 Minor cleanups and renaming in vRouter
Change-Id: I9f5334a0d428f77789880bb9caef5a5d12084f1c
2016-07-01 18:14:13 +00:00
Yuta HIGUCHI
ea6a8254ed Lower LINC-OE log level
- lower log to appropriate level
- cosmetic changes

Change-Id: I41eac5ba9cdc370e8dc007156f0c7220e765e92c
2016-06-30 17:36:18 +00:00
Carmelo Cascone
728b1cd9cd Fixed stack overflow bug when using BMv2 table entry service
Similarly to ONOS-4206, due to a bug in kryo, a non-registered class
(Date in this case) was causing such a problem.

Change-Id: I993f4b41d4deaa617065b29086a49d834832eca8
2016-06-29 21:03:38 +00:00
Carmelo Cascone
fbc577b3e9 Various BMv2 bugfixes
Change-Id: Ia5a2a1c86b8a90ad68ddb92980377f6308e200d2
2016-06-28 23:43:07 +00:00
Carmelo Cascone
0ec92f1977 Implemented convenient builders of BMv2 extension selectors and
treatments. 

Match and action parameters can now be built from primitive data types
(short, int, long or byte[]) which are then casted automatically
according to a given BMv2 configuration. Also, simplified demo
applications code / structure.

Change-Id: Ia5bebf62301c73c0b20cf6a4ddfb74165889106f
2016-06-28 23:22:29 +00:00
Carmelo Cascone
6256d01c1c Fixed deadlock in BMv2 device context service
Also minor refactoring of synchronized blocks.

Change-Id: Ifea25208ca4f1839bb3f21ba5b5ecfb2441baa35
2016-06-28 23:04:51 +00:00
Carmelo Cascone
ee4cd7e406 Improved consistency for BMv2 flow rules handling
Change-Id: I3a4798af3f35f135e8162385a1bf7fc059028307
2016-06-28 22:41:23 +00:00
Yuta HIGUCHI
62f8018c8b [ONOS-4772] Avoid throwing NPE on optical resource queries.
Change-Id: I71ac76b7b456b19a8dabf78a0ef52366867cd230
2016-06-28 21:07:57 +00:00
Jimmy Yan
4deb03b729 Use LambdaQuery in OpenFlowDeviceProvider to get details for optical ports and fix OmsPort totalChannels()
Change-Id: I09bee1ad1cbf4b8d7185c2b022ffed4d8b2ef2e7
2016-06-28 20:44:47 +00:00
Yuta HIGUCHI
6495e32fab Fix NPE in LincOELambdaQuery.
- Fix for NPE issue reported by Jimmy Yan

Change-Id: Ie2dfea3fea7dec1bcff73549056f707b9e502b1a
2016-06-28 19:06:22 +00:00
Akihiro Yamanouchi
5e5d4df902 [ONOS-4654] NETCONF function for FUJITSU OLT #1
Change-Id: I3565d127252de732d249ed5dd919874d6438c2fa
2016-06-22 00:52:25 +00:00
Hyunsun Moon
10f2adeb18 Removed deprecated methods in Falcon
Change-Id: I535d19de70da0352ffb9c2a897099af57e01287c
2016-06-17 02:25:31 +00:00
Hyunsun Moon
1251e19d7a Refactored bridge config to take bridge description
OVSDB provides lots of bridge configuration options but the exisisting
bridge config implementation only allows some of them by overloading
addBridge method. Also some of the bridge properties were set static
and unable to configure. This patch fixes these limitations.

- Added some bridge config options to the bridge description
- Deprecated multiple overloaded addBridge methods
- Some code clean up

Change-Id: Ibc828177b210bd4b215aea0b63cc359776c13e03
2016-06-16 07:52:07 +00:00
Brian O'Connor
1b2aea88c0 Removing gratuitous relativePath from pom.xmls
The default value for relativePath is: ../pom.xml

Change-Id: I1f5e5e6bfa1e91fcddae4f8cb8ab0c00c276e6b0
2016-06-16 07:05:31 +00:00
Carmelo Cascone
25f1888414 Various bmv2 changes to reflect onos-bmv2 v1.0.0 (onos1.6 cherry-pick)
Most notably:
- Updated repo URL and commit ID to official onos-bmv2 fork
- Removed ugly string-based table dump parser, now there's
	a proper API to retrieve table entries (added support in
	Bmv2DeviceAgent)
- Removed unused arguments in packet-in API

Change-Id: I5ff0948eb8fec5283a085913496c187e7b278d8d
2016-06-16 01:30:12 +00:00
Carmelo Cascone
0831efb0b5 Various changes in BMv2 driver and provider modules (onos1.6 cherry-pick)
Driver notable changes:
- Implemented new behaviors, removed deprecated ones
- Removed flow rule translator classes (now under protocol module)
- Improved FlowRuleProgrammable: now it uses BMv2TableEntryService
	to lookup/bind flow rules with BMv2 table entries, retrieves flow
	statistics, better exception handling when adding/replacing/removing
	table entries.
- Improved PacketProgrammable: better exception handling and logging

Provider notable changes:
- Bmv2DeviceProvider: detects and notifies device configuration
	changes and reboots to Bmv2DeviceContextService, added support for
	periodic polling of port statistics
- Bmv2PacketProvider: implemented workaround for OutboundPackets with
	flood treatment

Change-Id: I79b756b533d4afb6b70025a137b2e811fd42a4e8
2016-06-16 00:48:51 +00:00
Carmelo Cascone
17fc9e41df Major refactoring of the BMv2 protocol module (onos1.6 cherry-pick)
- Created 3 separate sub-modules: API (doesn't depend on
    Thrift), CTL (depends on Thrift), THRIFT-API (to generate Thrift
    sources)
- Implemented 2 new services (for device configuration swapping and
    table entry management) needed to distribute BMv2-specific state
    among ONOS instances.
- Implemented a BMv2 controller (previously other modules where
    using separately a Thrift client and a server)
- Added a default BMv2 JSON configuration (default.json) and interpreter
    to be used for devices that connect for the first time to ONOS.
    This allows for basic services to work (i.e. LLDP link discovery,
    ARP proxy. etc.).
- Changed behavior of the flow rule translator and extension selector,
    now it allows extension to specify only some of the match parameters
    (before extension selectors were expected to describe the whole
    match key, i.e. all fields)
- Various renaming to better represent the API
- Various java doc fixes / improvements

Change-Id: Ida4b5e546b0def97c3552a6c05f7bce76fd32c28
2016-06-16 00:47:42 +00:00
Charles Chan
fc5c780fa1 CORD-61 Dynamic XConnect support
- Add new XConnectConfig with unit test
- Gather XConnect features into XConnectHandler
- Introduce ObjectiveError.Type.GROUPREMOVALFAILED
- Rename
    - NetworkConfigEventHandler -> AppConfigHandler
    - XConnectNextObjectiveStoreKey -> XConnectStoreKey
    - Test json file
- Refactor

Change-Id: I8ca3176ed976c71ce9e28b7f3722ce80d49c816f
2016-06-14 15:06:11 -07:00
Saurav Das
b5c236e2eb In this commit:
Bug fix when optimized SR re-routing fails, do full re-route
   Bug fix filtering objectives should be called for new device even if there is an existing grouphandler
   Bug fix NPE in ofdpa driver due to null check on the wrong variable
   New cli command for debugging flow-objectives for pending next-objectives
   Flow objective cli commands now start with "obj-"

Change-Id: I819f82d1d67769cb9fbbde60f099d29b8e7f7c9e
2016-06-14 21:08:22 +00:00
Ray Milkey
e022ef6c14 Unit tests to be sure drivers will load
Change-Id: I95cd5c7ffa52727cab409541b7dd0e6d5a8d0bd4
2016-06-08 23:01:34 +00:00
Andrea Campanella
0b4f49279d Fixing loading of unexisting class caused by deprecation
Change-Id: Id29a933a519bbf6e2c7fe33549885fd92fcbcb9e
2016-06-08 17:11:18 +00:00
Saurav Das
251908110a In this commit:
Bug fix where filtering objectives are not installed due to available ports becoming enabled later.
   Bug fix where flow objective store had no listener for notifications from drivers across multiple instances of the controller.
   NPE fix in ofdpa driver for non-existing groups.
   Preventing ofdpa driver from sending spurious pass notification to app.
   Incrementing retry filter timer from 1 to 5 secs in default routing handler.
   Made several debug messages clearer.

Change-Id: I828671ee4c8bcfe03c946d051e1d1aac9d8f68dd
2016-06-08 17:01:12 +00:00
Charles Chan
9cae4ecd56 remove wipeDeferred in ACL table
Change-Id: Ibf95094046eb58f5dc651d57b36356028fd4ac46
2016-06-07 17:39:37 +00:00
ivoutsas
69b9763a70 Cisco Ios PortDiscovery
Change-Id: Ic51466d027f45de8ee91c9904e92b450bf9d0bb7
2016-06-06 16:02:00 +00:00
Andrea Campanella
6c71a0500a Deprecating PortDiscovery in favour of DeviceDescritpionDiscovery
Change-Id: Ie9cff7937412c62c8a5a3b75b87a43952017f146
2016-06-06 16:00:02 +00:00
HIGUCHI Yuta
e81d7e95c5 int/Integer is pre-registered to Kryo.
Change-Id: Ib66d8f3aac62ae837211d0e362207965403b4ead
2016-05-31 23:01:51 +00:00
HIGUCHI Yuta
07a9e563da [ONOS-4588] Separate optical driver from "default" driver bundle
Note: If you're using optical devices currently in "default" driver bundle,
(LINC-OE, Calient fiber switch, ECI devices, OpLink ROADM)

you'll need to load the driver/app "drivers.optical" in adition to default drivers

e.g.,
a) Add to cell definition
 export ONOS_APPS=${ONOS_APPS},drivers.optical

b) Activate after starting ONOS
 onos> app activate org.onosproject.drivers.optical

Change-Id: I126c09bebc816d11b4700a80e7a36a8e6c3e1b49
2016-05-27 16:43:20 +00:00
Ray Milkey
ce7db1b65f Fix for ONOS-4568 - Intents stuck in INSTALLING state
The default pipeline driver was not calling the success callback for
next objectives. This caused the intent installer to think there
were still flows in need of installation, and the intent never
completed.

Change-Id: Ib411c317b28475cfc1e966e31f859cebbeea3792
2016-05-24 21:01:11 +00:00
Phaneendra Manda
7ff0643f9d Nicira extension for setting nsh header fields is modified to set field
Change-Id: I4c9d39a2e83315324c23954e491b20d43a5c63cc
2016-05-24 15:41:23 +00:00
Brian O'Connor
e642f7cf7b Bumping version to 1.7.0-SNAPSHOT
Change-Id: Id105bf08ecbdac6d4e214ae035b4220aea90f29f
2016-05-23 18:35:29 -07:00
Charles Chan
eefdedfb50 Remove redundent byte[].class registration
Also added names to some serializer for debugging purpose

Change-Id: I0997b61a5d08df84c85ca28f6a5ed23417fb8c22
2016-05-24 00:09:42 +00:00
Charles Chan
985b12e08e Revert part of the changes in Ofdpa2Pipeline
It is possible that one of vidCriterion and ethCriterion is missing
We should just skip the corresponding table and proceed

Change-Id: I220e4efb8c8d5c163f541ad41e0a4d80b6286afe
2016-05-20 22:37:15 +00:00
Jonathan Hart
888eeda759 Fix SoftRouter kryo registrations.
Change-Id: I32cae7b7bc917718719f51d684c57d3a586d2d73
2016-05-20 13:42:26 -07:00
Thomas Vachuska
ab0bded4c1 Fixed order of static elaboration in FullVlanAvailable implementation.
Change-Id: I88a7c3ffb9f4017d99465146fae4ce1288de66d0
2016-05-20 19:48:41 +00:00
Sho SHIMIZU
55caa1cfcd ONOS-4561: Exclude non standard VLAN IDs
Change-Id: I3f7542521d0867e71f11263e46d6116cd6120428
2016-05-20 16:12:10 +00:00
Michele Santuari
d2c8b157b4 corsa support intent
Change-Id: I6eaa46d1ef39405defa3b0661e94d1cf285db332
2016-05-18 21:26:54 +00:00
Jian Li
08926a9ddc Support to specify Ofdpa extension through REST API
Code clean up for Nicira extension codec.

Change-Id: Idbbfd1ca12b01d46e3b6c90ebce39e6a6605cb58
2016-05-18 20:45:51 +00:00
gaurav
adc9004725 support mcast based filtering objective CORD-673,review comments addressed for patch-3
Change-Id: Id18e51826fe2355b1a7fcdba46af94b8577dac60
2016-05-18 15:26:57 +00:00
Bob zhou
e9795fdc97 [ONOS-4426] [ONOS-4511] [ONOS-4502] Upgrade Vtn Module when access same network segment.
Change-Id: I3afe6b36a44f0eedd642eeadfc23fc3233e7621e
2016-05-17 16:18:47 +00:00