407 Commits

Author SHA1 Message Date
xueliang
c6e47e23f3 [ONOS-5544] Refactor of JUNIT for FUJITSU NETCONF
Change-Id: I1b43ce194afc094ffb04a4c5cf2d2311030fdc4b
2016-10-21 08:30:15 +00:00
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
Michele Santuari
00cc1f794b retry netconf ports discovery
Change-Id: If00ae3caec2a618002b31ab05e082ef97b3b793a
2016-10-17 13:17:14 +00:00
xueliang
54525f5768 [ONOS-5395] JUNIT Test cases for volt-notification-alertfilter, volt-notification-setalertfilter and volt-notification-subscribe as FUJITSU NETCONF
Change-Id: I4d8ec6b0540611875c3584acb811e0096b832b59
2016-10-17 13:08:58 +00:00
Satoshi Fujii
f108dd5e0f Remove an unnecessary semicoron.
Change-Id: I2f883da7dedc2dccef59f038d75c040b98cdc63f
2016-10-14 10:39:04 -07:00
ke han
a1cb251d05 add pipeline for nokia olt device
Change-Id: I60f2988910eea5f9ffdfd14e7d47863af63b2691
2016-10-11 08:30:16 +00:00
xueliang
9e3ab18bba [ONOS-5422] JUNIT Test cases for volt-all as FUJITSU NETCONF
Change-Id: I802f1f10f4e1ee408aa13652c0ba039425fa8e4d
2016-10-06 16:00:01 +00:00
xueliang
adec4dc341 [ONOS-5418] JUNIT Test cases for volt-ondemandfwdl as FUJITSU NETCONF
Change-Id: I515d48a664ad2edc18be801977e4bff7713f1052
2016-10-03 16:37:56 +00:00
xueliang
ffe73e461f [ONOS-5326] JUNIT Test cases for volt-rebootonu and volt-ethloopback as FUJITSU NETCONF
Change-Id: Ied14896955595ce4f694885991231b75be2e63c5
2016-09-30 18:54:07 +00:00
xueliang
5b3d344470 [ONOS-5295] JUNIT Test cases for volt-onus, volt-setonu and volt-onustats as FUJITSU NETCONF commands
Change-Id: I8f80bc651adf2bfbfa7ce8587e03b1373222f37a
2016-09-23 23:30:17 +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
xueliang
f83fbc6f06 [ONOS-5281] JUNIT Test cases for device-controllers and device-setcontrollers as FUJITSU NETCONF
Change-Id: I2a6b30d357061ca265175a0a6057728bf83fa5a7
2016-09-21 00:46:35 +00:00
xueliang
714dd2bfbe [ONOS-5269] JUNIT Test cases for volt-ponlinks and volt-setponlink for FUJITSU NETCONF
Change-Id: Iaff73d2eb1a617a97ebb1dcd8ccad7c0b809ea41
2016-09-21 00:33:46 +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
Jimmy Yan
32bcecafef Add range checking methods to PowerConfig
Change-Id: I8c113df90a8225db34256856cb2eb80ee7d68a9e
2016-09-14 19:58:12 +00:00
xueliang
37a396ac37 [ONOS-5254] JUNIT Mocks for FUJITSU NETCONF
Change-Id: Iac2b6473a71c1d981b6d2dadc316a31d9b4a02df
2016-09-12 17:50:10 +00:00
Pier Ventre
f5d7236e14 [ONOS-5070] Adds mirroring functionality.
Changes:
- Adds mirroring behaviour;
- Adds mirroring description;
- Adds mirroring name;
- Implements for Ovsdb the mirroring;
- Adds OvsdbMirror entity;
- Adds constants related to Mirror table;
- Fix one issue related to Mirror table
- Extends OvsdbClientService introducing mirroring;
- Implements mirroring functionality in DefaulOvsdbClient;
- Support for different types of device id

Change-Id: Ie291f49b3c61b7998010f555ae11deb8c021063d
2016-08-31 16:56:50 +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
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