902 Commits

Author SHA1 Message Date
Jian Li
525fded431 Move build method to each control msg, realize createBuilder method
Change-Id: Iff9e60cc5f929e031b0d927e0bdc08fed826e0db
2016-08-08 21:31:31 +00:00
Jian Li
79b1bb2f4d Remove solicit map request message class and interface
This control message is a special type of map request message,
therefore, it can be merged with LispMapRequest class.

Change-Id: I9549a18277411947cf4d485f62f92d8259575c94
2016-08-08 21:23:12 +00:00
Jian Li
631e62a646 [ONOS-4718] Implement DefaultLispMapRecord class with interface mod
Change-Id: I1544fd52adc4081614b5471f8ab263efbd6c840b
2016-08-08 21:15:14 +00:00
Jian Li
f59c0adb2c [ONOS-4718] Implement LISP control message classes
Change-Id: I26ab3b8da383d8967c08e14b4f11f03e0663de73
2016-08-08 21:14:53 +00:00
Jian Li
10a09066cd [ONOS-4718] Add LispMapRecord, rename EidRecord to LispEidRecord
Change-Id: Ib43ad5201787a7d9a3b18c0cd8949822d2e31e29
2016-08-08 17:57:22 +00:00
Thiago Santos
617254077c [ONOS-5069] OpenFlowControllerImpl: always cleanup on deactivate
Even if we don't have devices, the sockets/channels must be closed.

This is particularly harmful when onos is restarted to form a cluster
and the openflow channels are left open. On the next
activation it will try to open ports that were already open and it
fails

Change-Id: I768b9db0b71ffba2805fabf631adcb2039af89e4
2016-08-08 17:21:33 +00:00
Pier Ventre
bee9de83e5 [ONOS-5036] Revise Mirror table in OVSDB protocol
Change-Id: I99f5151a7a7abe7c79aec88020b1b9c63337c052
2016-08-04 17:37:40 +00:00
Ray Milkey
bb23e0b5fb Fix Javadoc warnings
Change-Id: Icf8b6b6f77ea80d3975aa975226a178145067adf
2016-08-03 14:29:51 -07:00
Yuta HIGUCHI
4b0221198b Fix LISP related javadoc
Change-Id: Ia83fdeaf0cbdd8914c6a105f30c4cfa1b174af3a
2016-08-03 11:04:34 -07:00
Jian Li
719b3bf9bf [ONOS-4718] Initial implementation of LISP control message objects
Change-Id: I22cdb1a4b5d7bb7f0681c9fa9a45223b60bdb282
2016-08-03 16:57:18 +00:00
Jian Li
451175eb3f [ONOS-4718] Initially add five LISP message interfaces and classes
Change-Id: I9d21595823680644ec107c85b0b38acdd1534568
2016-08-03 16:56:17 +00:00
sangyun-han
07a572fc94 [ONOS-4668] Refactoring port statistic collector using SharedExecutor
- Add OpenFlowSwitchAdapter

Change-Id: I7bd9c61d8961bee18eca2c1ac0e5fca610e166e5
2016-08-03 04:02:12 +00:00
Jonathan Hart
a33134e049 Make error messages more accurate when OpenFlow provider can't find a driver for a device
Change-Id: If40f2446fab215950689b6846aadc8024e8eb8e1
2016-07-29 17:23:11 +00:00
Zayne Khouja
4755715a34 adds working buck file to BGPCEP provider
Change-Id: Ia4a9ee37ed57ec0862501ae9b6f622f225d764fc
2016-07-27 16:56:30 -07:00
sangyun-han
69ed4468ea Add exception handling for unfound switch in processPacket
Change-Id: I9a9e539c02bf925ba3ab24b201d09a90e9163d96
2016-07-27 12:10:12 +09:00
sunishvk
f7c5655c12 OSPF protocol manual merge from 1.6, due to cherry pick merge conflict
Change-Id: I93653e745468722ce95533537a79e897b4292f5d
2016-07-26 17:26:10 +00:00
Priyanka B
4c3b451b5c [ONOS] cherry pick from onos1.6 to master all defects merges
Change-Id: I0ff6595a55b1104cf59a270ac2b10a7f831f6555
2016-07-26 04:48:48 +00: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
Yuta HIGUCHI
a809a17746 Assign thread name to HashedWheelTimer
Change-Id: I4805a0c8d93f3a91d9a6dbca5b5c993c574d37a7
2016-07-21 23:32:13 +00:00
Jian Li
ac32718820 BuildFix: add missing netty-buffer lib in BUCK build file
Change-Id: Ibc47a296f7ecf9c68b78a6484acadb82d0d20b2f
2016-07-21 09:31:02 +09:00
Jian Li
cb1fca2a86 [ONOS-4718] Initial commit for LISP protocol message package
Change-Id: Ic4237723692327ee2d644f563413bdd7148d694a
2016-07-20 22:51:28 +00:00
Jian Li
d56f97ea73 [ONOS-4718] Add LispDistinguishedNameAddress, modify hashCode logic
Change-Id: Ic9b840f6dc0102bed35d3c88b76b6e8b36a051f5
2016-07-20 22:48:31 +00:00
Jian Li
c7e20a5f32 [ONOS-4718] Add more LCAF type address with augmented LCAF class
In this commit, we added List Type, Instance ID Type, Source/Dest
Key Type and Application Data Type LCAF address classes.

Change-Id: I39881714069a32c52474ee82f8a9acdfcdc862b7
2016-07-20 20:30:41 +00:00
Jian Li
0959600951 [ONOS-4718] Add LISP Canonical Address Format Enum and Address class
Change-Id: Ife7f0b98207424b1ce1df390d73b72eb7b5890fe
2016-07-20 19:33:30 +00:00
Jian Li
6b77dc0825 [ONOS-4718] Add several data types used for addressing LISP locator
Change-Id: If6263957b2ce1d9a6a07bbc12f4fb9c9e2fa7616
2016-07-20 19:25:47 +00:00
Jian Li
35734392cc Initial commit for LISP SBI Encoder and Decoder package
This commit is for check-in initial skeleton code of LISP message
encoder and decoder.

Change-Id: I007240036852a78ac273e9ec4a84a07ab22ba675
2016-07-20 19:23:22 +00: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
MaoJianwei
dac220dadf Fix DefaultOvsdbClient Class's getBridges's improper return value
When tableStore or rowStore is null, getBridges() should not return (null),
that will cause NullPointerException in its two usages:

(getBRidges only has these two usages now, but it is very foundational.)

1. OvsdbBridgeConfig.java, line 113-115:

        Set<OvsdbBridge> bridges = client.getBridges();
        return bridges.stream()......

2. OvsdbControllerConfig.java, line 92:

	.filter(cs ->
	 cs.getBridges().stream()
	.anyMatch(b -> dpidMatches(b, ofDeviceId)))
	......

Change-Id: Ice14a8991f5022a5041cf48f5c8431712f946228
2016-07-12 15:53:56 +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
Prince Pereira
e779803f75 cherry picking the fix for ONOS-4754 to onos-1.6 and master
Change-Id: I2c7da62479566f16034b598029df5f98a37cc99e
2016-07-08 17:38:00 +00:00
Yuta HIGUCHI
da27f52941 Attempt to fix onos-master job issue.
- Temporary workaraound for onos-master job failing with:
   javadoc: error - No public or protected classes found to document.

Change-Id: Iea3f419584130176a85abb173eba91f842c32068
2016-07-07 22:06:45 -07:00
Zayne Khouja
31027edd52 Bug fix for BGP building
Change-Id: I1d5c52855066edccc7101d86fd10ba63d9ea5da3
2016-07-07 03:45:12 +00:00
yjimmyy
646aa02614 Implement PowerConfig for Oplink Devices
Change-Id: I939126580f8d3cdcdbcd9a46f6ee5cacbd25051d
2016-07-07 03:30:46 +00:00
Jian Li
b6957627a1 [ONOS-4718] Initial commit for LISP SBI protocols
Change-Id: I5ae2f19f9ed6e4df579cf2246cd0ab0d31fd3396
2016-07-06 13:41:12 +00:00
Priyanka B
c1e4e4c67a [ONOS] cherry picked from 1.6, bandwidth, CR and resilency fix
Change-Id: Ifd7bf886d2725db1f5e2f7a1eac739d9a446f868
2016-07-05 13:00:55 +05:30
Priyanka B
7e48cb25ed cherry pick of [ONOS-4794] [ONOS-4793] [ONOS-4669]TE_COST and bandwidth information on update flow was not correct
Change-Id: I66090e6da1307c8530e89c92f2dcbcdf12e18220
2016-07-04 02:52:38 +00:00
helenyrwu
0407c641ef NetconfAlarmProvider alerts core about notifications given subscription.
Change-Id: I7561ba680eb8bac33a8543d6aa1bccf6732e95db
2016-06-29 22:00:16 +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
eeeabecdf1 More readable toString for BMv2 extension selectors and treatments
Also, added a test for serialization

Change-Id: I77e80fa7597b552c71e80c9d39d03549e0325778
2016-06-29 20:52:21 +00:00
Carmelo Cascone
62f1e1e089 BMv2 performance improvements
- Implemented a non-blocking Thrift server for the controller (before it
	was limiting the number of active connections)
- Improved configuration swap times by forcing it
- Minor bugfixes and polishing
- Update onos-bmv2 repo URL in thrift-api pom.xml

Change-Id: I13b61f5aa22558c395768e3b445f302b20c5bd33
2016-06-29 16:25:47 +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
Carmelo Cascone
9e39e31c56 Polished BMv2 protocol module
- Improved and fixed typos in javadocs
- Added missing beta API annotations
- Refactored the default interpreter implementation

Change-Id: Ibfb21d31415d8f25cc67307f8bea2871951c9a8f
2016-06-28 22:40:42 +00:00
Carmelo Cascone
c18e82cf10 Simplified Bmv2 device context service and context handling in demo apps
Change-Id: I2a13ed673902d0616732d43c841f50b1ad38cd4c
2016-06-28 19:56:35 +00:00
Carmelo Cascone
3f85684f42 Added caching for bmv2 thrift sources
No need for internet connectivity after the first maven build.
Also switched to rawgit.com hosting (no throttling of requests). Minor
polishing of the patch script and module structure.

Change-Id: I065a62bddc779c698f4b76865525bf4d973ad2ab
2016-06-28 19:54:50 +00:00
sunish vk
7bdf4d4daa ISIS protocol manual merge from 1.6 due to cherry pick merge conflict
Change-Id: I6c3abf6a83ddaeba76293dc7864fcec88e9b4e7e
2016-06-24 14:28:17 +05:30