783 Commits

Author SHA1 Message Date
Yuta HIGUCHI
0de4ba9401 Remove duplicate version specifications
Change-Id: I0fe6027e66815ab2e7db5e090dd5aea39b3c36e1
2016-08-18 15:59:50 +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
Hyunsun Moon
0b59e19a36 Fixed OVSDB dependencies
Change-Id: I252f44e7defd58d2714c9f6c00e6cfcd54c1a06e
2016-08-11 21:55:28 +00: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
Akihiro Yamanouchi
237ca366a5 [ONOS-4990] NETCONF function for FUJITSU OLT #8
- Add a command to get all configuration from FJ OLT.
  e.g. volt-all <netconf: target>

Change-Id: I70b4cf8851ce1911569ca62e59ec40df48913d88
2016-08-08 15:39:26 +00:00
Akihiro Yamanouchi
38a3867629 [ONOS-4939] NETCONF function for FUJITSU OLT #7
- Add "ONU firmware upgrade" command for FUJITSU OLT
   volt-ondemandfwdl <netconf:target> <Firmware Image name:ONU-ID list[:reboot-mode]>
- Update fujitsu-drivers.xml and shell-config.xml in FUJITSU directory

Change-Id: Id90c4a59046e0a0f695ddcd40ea3ab905d1fa253
2016-08-04 00:30:03 +00:00
Jonathan Hart
2f316af7e6 Fix Corsa driver app buck build
Change-Id: I01c7a2e440526f3c21178b405e5b779c269e7a4d
2016-08-04 00:04:36 +00:00
Ray Milkey
bb23e0b5fb Fix Javadoc warnings
Change-Id: Icf8b6b6f77ea80d3975aa975226a178145067adf
2016-08-03 14:29:51 -07:00
HIGUCHI Yuta
f3ead25267 [ONOS-4513] Slice optical-model into separate bundle (1/3)
- net and cli bundle has dependency to optical-model bundle,
  which should be removed in the longer run. (ONOS-4626)

Change-Id: Ieff43ef2002ee21f4578a6e2a729cd35ce3eae3d
2016-08-03 18:54:13 +00:00
Akihiro Yamanouchi
54f28e23ac [ONOS-4747] NETCONF function for FUJITSU OLT #2
- Enhanced device-setcontrollers command to apply additional key-value pair.
    e.g. onos> device-setcontrollers netconf:10.10.1.11:830 tcp:10.10.1.11:6630,ofconfig-id=1

Change-Id: I2cb5941dbd9829ade6fa89d5546bbc6aab44f83f
2016-08-02 21:08:15 +00:00
Jonathan Hart
bbac354990 Fixing drivers & providers Buck app builds
Change-Id: I6a02a68568037eca0a0b82ad4f83ff18bfeada5f
2016-08-02 17:38:19 +00:00
Pier Ventre
db67355aaf Add support for vlan based intents in the Corsa driver
Changes:
- Improves processSpecific in AbstractCorsaPipeline in order to support
Intents without an explicit match on the Ethertype;
- Implements vlan based circuits in CorsaPipelineV3 through the management
of the FwdObjective without Treatment;
- Distinguish Groups from simple actions;
- Corsa group are identified using the actions of the treatment;
- handling of the pending next similar to DefaultSingleTablePipeline

Change-Id: Iff0f70d56c64193524c6640f31ffb3f5629499dc
2016-07-29 13:25:39 +02:00
Akihiro Yamanouchi
45122226d0 [ONOS-4849] NETCONF function for FUJITSU OLT #6
- Add alart command for FUJITSU OLT
   volt-notification-alertfilter <netconf:target>
   volt-notification-setalertfilter <netconf:target> <alert-severity>
   volt-notification-subscribe <netconf:target> {disable}
- Update fujitsu-drivers.xml and shell-config.xml in FUJITSU directory
- Apply Yuta's and Andrea's suggestion to startSubscription method and other methods which related to startSubscription method.
  -> Remove startSubscriptionConnection() and createSubscriptionString() method in 4th patch-set.
  -> Modify cosmetic issue related to Static-string.
  -> Update "No replay" to "No reply" in VoltGetPonLinksCommand.java

Change-Id: I2c8d5484ea0ff9f0b1b970fe8b183bec12193c46
2016-07-25 23:29:31 +00:00
Yuta HIGUCHI
1624df1f30 Assigning names to various threads
- specify nearby logger when possible

Change-Id: Ia8925ab1459c4d1da922becd0e201388d44d4294
2016-07-22 22:56:26 +00:00
Thomas Vachuska
c7258f9675 Removing superfluous behaviour implementation for Corsa.
Change-Id: Icdebd20fdc8b134283093d5abe5d58f59dd527fc
2016-07-22 22:40:39 +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
Daniel Park
531fb4844a [ONOS-4797] Implement the Driver for handling Arista switch
Arista switch with its recent network OS, EOS, supports remote configuration & control. The protocol for this is Arista's proprietary but REST style.
Since ONOS has already REST southbound protocol, the control of Arista switch can be easily done by using this.

- Implemnted driver Loader for Arista switch
- Implemented DeviceDescriptionDiscovery for Arista switch
- [Deleted] Implemented the method sending post to Arista switch and return the result as a String

Change-Id: I9d4b8f0d707361949ff530ff414adb0437ae87d9
2016-07-20 19:18:00 +00:00
Pier Ventre
a0ceb9a6cd Support for SDX-L2 intents in Corsa Pipeline.
Changes:
- Add VlanQuery behavior to Corsa driver;

Workaround for ONOS-4924

Change-Id: Ib754ead0b752b96968f723d668703ede84820f6e
2016-07-20 12:58:53 +02:00
Akihiro Yamanouchi
8d3a9d3a72 [ONOS-4837] NETCONF function for FUJITSU OLT #4 and #5
- Add the following commands for FJ OLT
  volt-onus <netconf:target> <ONU ID>
  volt-setonu <netconf:target> <ONU-ID:parameter type:parameter value>
  volt-onustats <netconf:target> {ONU-ID}
  volt-rebootonu <netconf:target> <ONU-ID>
  volt-ethloopback <netconf:target> <ONU-ETH-ID[:loopback mode]>
- Add the method of doUserRpc() in Netconfsession/NetconfSessionImpl
   *If you dont allow to implement the method, i can move it to our XmlUtility method.
- Add new behaviours in /core/.../net/behaviour, and @Beta in the interface.
- Move those behaviour interface to fujitsu driver directory.
   * VoltPonLinkConfig.java as well.
- Update fujitsu-drivers.xml
- Change the method name from doUserRpc to doWrappedRpc

Change-Id: Ic39d3a11ba35d2377e552af097eda65c5554c63f
2016-07-14 22:37:52 +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
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