122 Commits

Author SHA1 Message Date
Sho SHIMIZU
4303532c8c Remove redundant assignments
Change-Id: I1dbc882ae871fd4bb75f3395ff33789cbc1edbba
2016-10-19 17:40:32 +00:00
Charles Chan
cad338a4cb CORD-413 Implement MPLS Termination in OFDPA3 pipeliner
Additionally, this patch includes
- Minor refactoring
- Skip method length checkstyle for FlowEntryBuilder::hasSetField

Change-Id: I7887f454f552a9e346c323524f359929deadf427
2016-10-19 16:55:56 +00:00
Charles Chan
f9e9865b83 Initial commit of new Ofdpa3Pipeline
This submission also addresses the following issues
* CORD-84 Restore is_present bit to 1 in set_vlan_vid
* CORD-338 Remove default route workaround

MPLS Termination fix is coming in another patch.

Change-Id: I20c8fdd5604bd6e9254a957012ac619c193ccbc6
2016-10-17 20:31:11 +00:00
ke han
a1cb251d05 add pipeline for nokia olt device
Change-Id: I60f2988910eea5f9ffdfd14e7d47863af63b2691
2016-10-11 08:30:16 +00:00
Charles Chan
5bf536108b Bumping OpenFlowJ version to 0.9.6.onos
OFDPA_MPLS_TYPE experimenter OXM is introduced in 0.9.6.onos

Change-Id: I4acbc98d80cc418b12006059618dcad9311cd277
2016-09-22 20:30:47 +00:00
Brian O'Connor
bfc02ecd22 Bumping snapshot version to 1.8.0-SNAPSHOT
Change-Id: I4ca57b277d8ac814b8a10b107d995cb1cc4d499d
2016-09-16 17:41:55 +00:00
Brian O'Connor
b19fc86f82 Bumping version back to 1.7.0-SNAPSHOT
Change-Id: I1df9d0f12cd7ec7597499d41cacebdbe75899556
2016-09-16 00:12:21 -07:00
Brian O'Connor
338bc0cf19 Bumping pom versions to 1.7.0-rc2 and fixing some maven issues
Change-Id: I6169420328333d0916452aa92efbfa961d72e9c4
2016-09-16 00:11:45 -07:00
Brian O'Connor
0a4e6742b8 Copyright update
Change-Id: I534d938da3820f6fb814aed3bb4a0855fa41ddd5
2016-09-16 06:48:34 +00:00
yjimmyy
cfcb0535ae Add Oplink attenuation extension and channel power drivers.
Change-Id: I2558595b03cbb6cc58237dc48b8a03e83357fe1f
2016-08-24 22:12:22 +00:00
Yuta HIGUCHI
250d028179 Initial support for Lagopus switch
- Driver definition for Lagopus switch.
   http://www.lagopus.org/
-- Just exposing VLAN/MPLS resources for now.

Change-Id: I97f233140a84d133e087db6ace64d49eb6e6ba25
2016-08-22 20:35:19 +00:00
ke han
f508667727 here is a bug : there would be at most 10 second between group_add to group_added, but if in the 10 second, the group was modified, no group_added notify would be receive, but a group_updated instead. with out the change, the consequnce flow would not be add
Change-Id: I5703aafc6169dc595adc36a79fe8fabd68eb8fbc
2016-08-17 15:39:58 +00:00
Jonathan Hart
e3bcfc3f0c Fix bugs in extension treatment REST API
Change-Id: If47f5ffce634617200e765be72c7898d984b0786
2016-08-16 18:42:37 -07:00
yjimmyy
b94f93b7a3 Implement Oplink drivers for port adjacency
Change-Id: I3cdc402c4dac544a7cb48544352df758c416345d
2016-08-15 18:28:57 +00:00
ke han
3c2b226218 update manufactory hw/sw version
Change-Id: I5fc1c31cef9db2c55d81a7d0eeb53d4e257b5597
2016-08-12 11:03:25 +08:00
Jimmy Yan
a010ebc099 Bump up openflowj version to 0.9.5 in features.xml files
Change-Id: Iefeee8771fcbc0a35c6cdc2e128802f324f572d6
2016-08-10 19:46:46 +00:00
Sho SHIMIZU
07b3b0c72a Simplify lambda expressions by using method reference
Change-Id: I434c0020ce8c2c25ac41d256d5ac141793972970
2016-08-09 13:35:53 -07:00
Sho SHIMIZU
a09e1bbdbd Use Collection#forEach() instead of Stream#forEach() for simplicity
Change-Id: I0a1aea4bdb5d305c50273e6ff749fe71bd2a295a
2016-08-09 17:44:13 +00:00
Yuta HIGUCHI
6a1ee2d82b Fix SpringOpenTTP thread leak
- It was creating 2 theads everytime a Device connected.
  Now uses thread pool shared across Devices, where threads will die out on idle.
  Should resolve ONOS-3579

Change-Id: I490b2ef677853677fbd151af27f6ac2be563774c
2016-08-08 23:47:02 +00:00
Jonathan Hart
63eeac3ea8 Add ability for vRouter to reactively send packets to directly connected hosts.
Change-Id: I652ad33acf95b5ef5806699135382d8be1260781
2016-08-08 17:47:15 +00:00
Konstantinos Kanonakis
a477e341b0 Reverting to previous iteration mode, fixing case of modifying existing tags and adding extra checks
- Reverting iteration through meta instructions to earlier mode
	Assuming instructions appear in the order they were added
- Saving explicitly provided VlanId to new variable modifiedVlan:
	modifiedVlan is the value to be used when modifying existing tag
	assignedVlan is the value to be pushed to untagged packets
	pushedVlan is the value to be pushed to tagged packets (i.e. when pushVlan == true)
- Extra checks added for the following cases:
	Do not allow to pop tag after modifying existing tag
	Do not allow to modify a tag after pushing a new tag
	Do not allow including multiple modify VLAN operations

Change-Id: I92801e3845a2ca1e88181698cb0ba3c22224acf4
2016-07-21 01:28:50 +00:00
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
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
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
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
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
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
HIGUCHI Yuta
deae31ec05 [ONOS-4513] Move DefaultOpticalDevice to reduce package exported.
Change-Id: I88db1508290e8d3722d46e85b947b4fdc9f4b66d
2016-05-11 17:56:03 +00:00
HIGUCHI Yuta
5be3e820cf ONOS-4417 Remove OtuPort out of core.
Change-Id: Ibc72ee617b238005585f0bcd873b9123e48ee7fc
2016-05-09 23:39:00 +00:00
HIGUCHI Yuta
95d83e8067 ONOS-4415 Remove OmsPort out of core.
Change-Id: Ic796c4e715789ba18f350f28e29db04dd537822f
2016-05-09 23:38:16 +00:00
HIGUCHI Yuta
34a3f69be1 ONOS-3503 Remove OchPort out of core.
- Implementation of a Behavior OpticalDevice has the knowledge of
  translating annotations into optical specific port.
- OpticalDeviceServiceView checks if the Device is a OpticalDevice
  and translate all the Ports to optical specific port before returning.

- This commit contains feedbacks, issues, and fixes by Michele Santuari.

- Note: 3 more Port types to go (OduClt, Oms, Otu)

Change-Id: I4cbda8bc1922fbdd4dac8de8d02294bad74b8058
2016-05-09 22:24:41 +00:00
Michele Santuari
9a8d16dbb8 initial flows for corsa pipeline v39
- initial flows configuration
- moved to a dedicated folder
- refactoring super classes

Change-Id: Ie7452aed35d7947ca5f7246dd06fcbb87b2971b5
2016-05-04 17:40:47 +00:00