8779 Commits

Author SHA1 Message Date
Thomas Vachuska
9152b15265 Fixed onos-run-karaf
Change-Id: If5ef4e2bf254cbba3891ab3412dea28f3e8c39e0
2016-08-25 00:35:34 +00:00
yjimmyy
cfcb0535ae Add Oplink attenuation extension and channel power drivers.
Change-Id: I2558595b03cbb6cc58237dc48b8a03e83357fe1f
2016-08-24 22:12:22 +00:00
Simon Hunt
fa875bb10a Cleaned up urlBase() readability.
Updated unit tests, and added a test for the app context in the URL.

Change-Id: I110b62ff8366a503c3309df0f26a7dd213ae0c5f
2016-08-24 12:42:00 -07:00
Victor Silva
94fa13ed46 [ONOS-5166] GroupModBuilder: no longer ignore weights
We provide an interface for assigning weights to buckets
in a group and thus we should not silently ignore it.
Properly set bucket weight to bucket.weight().

Change-Id: I7dce89e793140ee365a016f4bf26f0ccf206b8dd
2016-08-24 15:15:16 -03:00
David K. Bainbridge
8ba356cd7f updated the base url handler to extract any app prefix from the absUrl in case onos is behind an app prefix
Change-Id: I271da533f39091efdd01d8104c1e6740effead52
(cherry picked from commit 3faa011)
2016-08-24 10:11:25 -07:00
Yuta HIGUCHI
179af1eaa6 Bump gRPC version to 1.0.0 GA
Change-Id: If4220ab94394639e356ef7fca46936a28644cd73
2016-08-24 01:50:52 +00:00
Thomas Vachuska
a3029cfdbc Enhancing onos-run-karaf to run clean installation when tar.gz changes.
Change-Id: Ie25bbb58fa48d7711308346cfc41f1b4c94394e7
2016-08-23 16:53:30 -07:00
Ray Milkey
7728b6af45 Was using a non-exitant port for the test. Not sure how this was ever working
Change-Id: Id32b24d711278c3f5277be9864008f4a33dfb44e
2016-08-23 16:07:19 -07:00
Thomas Vachuska
d4955ae9e5 Preventing NPEs in stores via notifyDelegate
Change-Id: I1c4b83c6a03b1f69a3ea1329724a7208d47cefa4
2016-08-23 22:19:12 +00:00
Ray Milkey
2f6f907260 Fix NPE when processing an event when the delegate is undefined
Change-Id: I44d6c50db8804ccfda1c8b8800360ee705fb331d
2016-08-23 21:57:53 +00:00
Yuta HIGUCHI
3680fabba3 ONOS-4801 add default available field to gRPC model
- replace deprecated methods with new Protobuf 3 API
- cosmetic changes

Change-Id: I4655fc0fd76c8de83ea03615fc876c5aa9445367
2016-08-23 21:44:46 +00:00
Thomas Vachuska
8e98f2f2e6 Widening column for device master to prevent text wrap.
Change-Id: Ifd77d5b10519bffbdf12b306fd903d6bab390810
2016-08-23 21:18:53 +00:00
Simon Hunt
b8d3798a6f EE unit test and h-bird.
Change-Id: I3d775cb90a64b142ccbce5665457bda8e8f28e4b
2016-08-23 21:13:55 +00:00
Thomas Vachuska
b1995cb761 Fixed an infinite loop bug in Suurballe graph path search.
Triggered by three edges between two vertices.
More work needed to address the remaining issues in the class implementation.

Change-Id: Ice1fa85f1b9213680e063e362db4d734d212f6f0
2016-08-23 20:58:54 +00:00
Madan Jampani
884d4436ed Using non-static serializers in Flow Rule Store
Change-Id: Ifacd9ca98d8c6d3bbf03b3b9784234f7eab458a5
2016-08-23 20:09:54 +00:00
Yuta HIGUCHI
cedd0dffd0 Disconnect switch when Device was admin removed.
Change-Id: I8d55eda686d29b43540f5467739983564afde5af
2016-08-23 11:44:13 -07:00
Yuta HIGUCHI
ad0c990e6c Evict pipeliner/driver cache only on DEVICE_REMOVE
- step toward runtime driver reconfig

Change-Id: I55a9db9a6c2e54a25ca18bec326f4fb33a013d74
2016-08-23 10:37:32 -07:00
Viswanath KSP
8ffb7759d3 Exposed the newly added port specific portStatistics API via REST
Change-Id: I12a59b950f2d9123afc048e126ad7b457e5d7188
2016-08-23 22:19:06 +05:30
Kavitha Alagesan
98315a2a77 Fix for ONOS-4940
Change-Id: Id4e5913cb69e913190a0b32cd41bac0dbe786729
(cherry picked from commit 924c54ccb05c648afa49c6c2bd509a060b8d174c)
2016-08-23 15:30:05 +00:00
Kavitha Alagesan
6704df3767 Fix for ONOS-4877
Change-Id: Ibdb6dfea672c0900fd3d8dea0441c55c23940f81
(cherry picked from commit 6683c2fcdc6659f2bd481a4536cb6f36fbe3a152)
2016-08-23 05:07:50 +00:00
Jayasree Ghosh
d3ff540f36 Fix for ONOS-5152:Encoder for Disjoint Rest API with NPE:onos-1.7
Change-Id: I172e247353f7d70f6d7761e8a6be27f21b3c2684
2016-08-23 04:49:45 +00:00
sangho
5808d5245e [ONOS-5098] Fix the IP release issue when rebooting VMs
Change-Id: I05d8228ccfdc04de12e2a5998f041bb93779923c
2016-08-23 00:01:41 +00:00
Charles Chan
28267ea1ff Fix buck run when $ONOS_DIR does not exist
Change-Id: I437e1a3f7afb30f0324260cb424fcc669ca03972
2016-08-22 23:38:38 +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
1fb0a8cfa1 Lazily populate Pipeliner cache
Change-Id: Ibbb9312b47c2c61df9ed15370b46fb07a8c7a16c
2016-08-22 20:05:48 +00:00
Viswanath KSP
22774cd863 Addressing review comments of patch-3
Addressing review comments of patch-2
Fixing javadoc warnings
Pushing changes for onos-5146 - Added 2 new APIs in DeviceService.java to get port specific PortStatistics by specifying Device ID & Port Number. Also implemented the APIs in SimpleDeviceStore etc. This will be a very useful API for app developers who are intersted to query port specific port statistics

Change-Id: I8f3e5a443eb5b50237a679999311b48609e54a44
2016-08-22 20:00:07 +00:00
varunsha
34b306051c Fix ONOS-5091
Change-Id: I11762eb799c1f93536f472807167cdba20a7c8e6
(cherry picked from commit 45f806ccedf844dfc8fe1722eca653f274b83f12)
2016-08-22 18:31:40 +00:00
GUNi
ba87170b5e [ONOS-4718] Initial implementation of LISP address serializer
Change-Id: I71e1923f6daf1abdf2bf9798a9e421c81926a45c
2016-08-22 18:26:37 +00:00
Jian Li
a7b394d410 [ONOS-4718] Deserialize addresses from LISP control message class
With this commit, we try to deserilize all LispAfiAddress from
all LISP control message classes.

Change-Id: Iaf911bff90c45a70859285e426dc1649c3e6db32
2016-08-22 18:20:37 +00:00
Jian Li
4eb3e3ace0 Revise comments to align protocol stack
Change-Id: If39b022398b90bcff6c2086da1bab8247f6c03ff
2016-08-22 18:14:46 +00:00
Jian Li
115d8602af [ONOS-4718] Initial implementation of LISP address deserializer
Change-Id: I522e16e7fd197380cf4c99038561fe9aa8f93730
2016-08-22 18:14:15 +00:00
Pier Ventre
d48320e892 Fix [ONOS-4857] and impement [ONOS-5143]
Change-Id: I7159ff9deaacaf10070e1535f4a80f2f846a5784
2016-08-22 18:07:18 +00:00
Yuta HIGUCHI
b47c9535b4 Revisiting netty configurations
- Revisiting netty configuration based on:
-- http://normanmaurer.me/presentations/2014-facebook-eng-netty/slides.html#11.0
-- http://normanmaurer.me/presentations/2014-facebook-eng-netty/slides.html#14.0

Change-Id: I6fe5586908ce2b7c87fd00c8f9da6cca3d907d10
2016-08-22 18:06:41 +00:00
Madan Jampani
c5a1754f88 ApplicationStore to use Topic instead of AtomicValue for app activation notifications
Change-Id: I25cf6d1744969d0b0dfd0557ec1dd163ad3148d0
2016-08-22 10:26:11 -07:00
Madan Jampani
ecf9971d82 Update TestTopic to confirm to the new Topic API
Change-Id: Ieade9340ac32d50f4e8304f3a347687a77ef49e3
2016-08-22 10:05:20 -07:00
Madan Jampani
03fb8b24ef Topic: Support for passing a executor to subscribe method for invoking the callback
Change-Id: I9db485ee381c61fbfc38aba0c2bd90cb5af171e0
2016-08-22 16:55:40 +00:00
Jonathan Hart
f79ab48e2e Protect the RouteManagers threads from exceptions thrown by listeners
Change-Id: Ia260dcdcb83070939b96e4c7fb8d20baa0ae78a5
2016-08-22 16:51:45 +00:00
helenyrwu
a1c41154de Distribute failover event with topic
Change-Id: I8629e7e19ebd4a18f95b32ad3ce1eba7ddf4ecc6
2016-08-22 16:11:39 +00:00
Jonathan Hart
9e51ba5c37 SDN-IP: restrict egress port from ingress port list of MP2SP intent.
The MP2SP intent doesn't support having the egress port in the in ingress
port list.

Change-Id: I84471b9fce9c1dc072f3dce3d907ba86ba65a575
2016-08-19 21:26:15 +00:00
Thomas Vachuska
586bc4f764 Fixed a potential NPE in link discovery.
Change-Id: I3bff307e54a1e3bdac1053dfea6e96ae3cd29f07
2016-08-19 20:31:08 +00:00
Sho SHIMIZU
1375cfe976 Simplify boolean expression
Change-Id: If0f8d497ac927bdd007292e45f0e394c207163d2
2016-08-19 20:03:35 +00:00
Ray Milkey
dbf59f0281 Unit tests to improve API test coverage
Change-Id: I2193b1b29968f2d2b7ba3ddb5947a38343c193c8
2016-08-19 20:01:58 +00:00
Madan Jampani
ae538ff419 ONOS-5101: Ensure app activation order reflects the dependency order
Change-Id: I77e0579436d80643b8262f0ec5ad6efb57936a0b
2016-08-19 12:49:28 -07:00
Thomas Vachuska
67f1305b75 Bumping STC to 2.2 version.
Change-Id: Ib39eef58b41b33a7fcf858f84c64a10a91304005
2016-08-19 19:42:10 +00:00
Sho SHIMIZU
f204ff7561 Remove unnecessary return in void method
Change-Id: I4863119ae13587f4d7fc60e55094c9d8d701c4e7
2016-08-19 18:41:53 +00:00
Thomas Vachuska
a8e125a5c8 Fixing onos-mininet cleanup logic.
Change-Id: I2269cf9c4b492b2f991ce72690544acc72e1804c
2016-08-19 18:04:29 +00:00
Hyunsun Moon
4f47a868f4 Lowered DHCP bundle application packet processor priority
Its ARP packet processor conflicts with the other ARP proxies for the hard-coded
particular IP address 10.0.0.2

Change-Id: Iec4931510f182a28d097b715433781798649b800
2016-08-19 17:31:21 +00:00
Jonathan Hart
7c338a4bc6 Disabling OSPF test with external dependency.
Change-Id: Ia0ac53749ae18dfc011c02e2567a151421808dcc
2016-08-19 17:27:06 +00:00
Yuta HIGUCHI
d08e2e97f1 Binary incompatible serializer changes
- If the field type is fixed and the type is final, Class info can be omitted
- Annotations serializer to use optimization based on the fact Map<String, String> and non-null key/value
- Reduce number of Map copy required for ImmutableMap serializer
- Reduce number of array copy behind Immutable{List, Set} serializer

Change-Id: Ie467a943a33fbfb43b289b8b71ad91ee5890bfb0
2016-08-19 17:26:57 +00:00
Yuta HIGUCHI
86f142f958 Update kryo to 4.0.0
- WARN:Serialized bytes are not binary compatible
- Release summary: https://github.com/EsotericSoftware/kryo/releases/tag/kryo-parent-4.0.0
- KryoNamespace: stop using direct buffer

This might fix ONOS-5130

Change-Id: I6e1e00f147a90ae8bfded78b2fa3a77158602c76
2016-08-19 17:26:54 +00:00