11722 Commits

Author SHA1 Message Date
Michele Santuari
02918e5dcb command to check errors on log locally
Change-Id: Ib29ab0013179db7e4be915a54ef1bf7f5a0e6d31
2017-06-15 17:14:50 +00:00
Aaron Kruglikov
0c9b9ae54a Bumping netty version.
Change-Id: Iec0f4fa83d7f2e9bbe12b21c620d479155055dd7
2017-06-15 17:09:35 +00:00
junhyeok
c51f9f6258 [ONOS-6638] Fix Java version on onos.cshrc
Change-Id: I4fbb3e7c1277e65e2111065516fbfd235dce5539
2017-06-15 17:08:06 +00:00
Simon Hunt
e408af74ee ONOS-6327: WIP - added code for details panel in Hosts view.
- still need to write back-end code for providing data.

Change-Id: Id79a1c9b52d19f2899ce7c7fdc6d217870b1f8b3
2017-06-15 16:57:31 +00:00
mskala
4b2081a631 [ONOS-6635] Device is not updated when chassisId change
Change-Id: I68c49666c5a980364599408c39047e11c963e8bc
2017-06-15 16:53:32 +00:00
Yi Tseng
46f3edd013 Fix wipe out command for wiping out Intents
Improve speed of intent wipe out function

Change-Id: Ie3b3264886d4b4a70b782a9ad899e12921ac3a01
2017-06-15 16:45:10 +00:00
Yuta HIGUCHI
9312a80bdd Fix checkstyle buck daemon issue
- checkstyle buck daemon was not processing a file listed at end of the list.
- fix issues, which hasn't been detected due to above bug
- cosmetic fixes

Change-Id: I15f24311835726757f0974b7e5c12ff1c79a3d4e
2017-06-15 16:41:40 +00:00
Jian Li
67d47e8e19 Add Korean test file for Lion localization
Change-Id: I08a680d42e94be9c9032fb53af0d723cb22008c9
2017-06-15 16:17:55 +00:00
Harold Huang
bee92f62f7 [ONOS-6616] Revise VirtualPacketContext and DefaultVirtualPacketProvider
The constructor of VirtualPacketContext needs a parameter of DefaultVirtualPacketProvider type.
It is not flexible for us to use another packet provider to replace the default virtual packet provider.

To improve the code flexibility, I think it is better for us to use an interface type parameter in a method.

It alse seems redundant to use emit() method of DefaultVirtualPacketProvider in devirtualizeContext().
Thus, I think it will be more efficient to use core PacketService in VirtualPacketContext
when triger send() method.

Some other bugs are fixed.

Change-Id: I161a8929dc4e5a1d2ad716bc5da8b0b6f84340a9
2017-06-15 15:17:40 +00:00
Yi Tseng
10b69e8d67 Avoid multi-thread issue of encoding the installable Intents to json
ArrayNode uses ArrayList to store data, which is not thread-safe

Change-Id: Id3e54afdf036cbab0909b08b094a2c52124b6bb9
2017-06-15 08:35:47 +00:00
Yi Tseng
2162993bee [ONOS-6596] Port example P4 programs from P4_14 to P4_16
Change-Id: I74485ea66894b425fa9f6508a67cb38dbef85a4f
2017-06-15 08:35:02 +00:00
Yi Tseng
f33c077c0e [ONOS-6554] Implement BMv2-JSON-to-PiPipelineModel parser
1. Create new module incubator/bmv2/model
2. Move all bmv2 model files to incubator/bmv2/model
3. Using PI core interfaces for all bmv2 models
4. Refactor original bmv2 config parser (Bmv2PipelineModelParser)
5. Refactor original bmv2 config parser test

Change-Id: I0db07762d76ab6e2f846e9c3c9d5896f0cbea7f2
2017-06-15 08:34:35 +00:00
Jian Li
2dbd8a2ba1 [ONOS-6537] Refactor LispMappingDatabase to split out implementation
Change-Id: I876b25b5911395900f5805a87b489efbe0acd0b4
2017-06-15 02:26:56 +00:00
Simon Hunt
a5c54538fd ONOS-6331: fix highlighting / clickable-region of expanded flow table rows.
Change-Id: Ida973b83f12476b004238e8c6a90da1af42d2897
2017-06-14 17:29:44 -07:00
Sbhat35
99d6696d2a Improved comparator unit tests
Change-Id: Id8c5bccdd7360b4631e340837f4f8cda101a446d
2017-06-14 23:59:55 +00:00
Simon Hunt
b804203e38 Lion Utilities:
- set local from user.* properties
- but allow override with ONOS_LOCALE env var

Change-Id: I5e455f3dc00abb0f4229e9afc50871f543ffaad4
2017-06-14 15:36:33 -07:00
Yi Tseng
ee2c854c0b Add zh_TW test file for Lion localization
Change-Id: I30ce77ded84fa525c7386fabe66605946c5b6c46
2017-06-14 14:12:11 -07:00
Jian Li
6c7800c853 [ONOS-6537] Implement ConcurrentRadixTree that stores IP as a key
Change-Id: I0688faf3bb6c0335505339296582f91dd8c8c9c6
2017-06-14 15:24:52 +00:00
Ray Milkey
5c0d8f92cb Make test tools available in installed ONOS
Part of ONOS-6597
onos-app, onos-netcfg

Change-Id: Ic58156700e357c9564e9bd9fe1173310ec6f0502
2017-06-14 15:18:42 +00:00
Rafal Szalecki
f97e0edd8e [ONOS-6547] Add method to obtain intent's installables in REST API.
Change-Id: I80bbb25ecda292bb4f658d0d76fd49d7fabe8732
2017-06-14 09:17:27 +00:00
Marc De Leenheer
c44b1a7487 Introduce standard C-band lambda queries for transponders (ONOS-6496)
Change-Id: Id18cf450880de8bd91499019c287589c6bf26233
2017-06-14 09:17:03 +00:00
Claudine Chiu
e2d5acc54a ONOS-6626 OFAgent - handle StatsRequest, GetConfigRequest and SetConfigMessage
Change-Id: Ie6744c7846c41024173049d2094260ea571844b3
2017-06-14 00:03:07 +00:00
Charles Chan
40abef42bb Allow indirect hosts to ping gateway IP
Change-Id: If555eebb88d2bc6ea016ca083c479dadd13d801d
2017-06-13 21:50:38 +00:00
Jordan Halterman
c10a501791 [ONOS-6636] Implement backwards/forwards compatible versioned Kryo serialization
Change-Id: If859ea61473401abd8b8f606aec0f1586a042a2a
2017-06-13 21:25:11 +00:00
Simon Hunt
7a8fe6eab8 Lion Utilities:
- Incorporate Italian message bundle in unit tests.

Change-Id: I858a427212ee1ac25c72b7bf4c6bbff8b16942df
2017-06-13 13:46:44 -07:00
Simon Hunt
94104e70d7 Lion Utilities:
- top down approach, client side code..
- beginnings of LionService.

Change-Id: Ide0b4a334cb67368ce8b89b82e37502604946190
2017-06-13 12:47:08 -07:00
Charles Chan
888e20a25d Remove host location when port down or device down
Also refactor Host Location Provider

Change-Id: I57d682ee51e80ddd7e141883521a12da705a336d
2017-06-13 18:58:10 +00:00
Charles Chan
61fc0d8cc9 Extend Network Config Host Provider to support multihoming
Change-Id: I6e9dd18a5189a7bf35a617a00bd46e4a32acf524
2017-06-13 18:52:06 +00:00
Andrea Campanella
22ed0a1af3 Adding italian test file for Lion localization
Change-Id: Ifd4a12c3dc21bc19a39b31d0acb1ac6edb72e06e
2017-06-13 17:11:18 +00:00
Simon Hunt
0c85f11fe2 Made a start on localization ("lion") utilities.
Change-Id: I838767cb49cb785e98d71475116c264f749d4aac
2017-06-13 17:10:20 +00:00
Ray Milkey
b83797cf29 Fix REST server side exception if array of devices is given
Fixes ONOS-6637

Change-Id: I7ec201e58f9e90a026fcdc1912b04e7398d8c2de
2017-06-13 16:15:13 +00:00
Jimmy Ou
0fe2138541 Fix script to install what onos-user-key need in Docker debian:jessie image
- Install ssh package
- Create ~/.ssh directory

Change-Id: Id6e486fd63f178a6311d41b9216872ca48c61ad2
2017-06-13 07:02:54 +00:00
Jonathan Hart
9bdf5da497 Fixing dockerhub build.
The latest debian:jessie image doesn't seem to like the command
"apt-get remove --purge -y `apt-mark showauto`".
It tries to remove a number of important base packages.
It doesn't seem to save a lot of space anyway.

Change-Id: If55b319f7d74698398d76650fa1c4a8d8475bb63
2017-06-13 07:02:40 +00:00
Saurav Das
c88d46642c CORD-1304 Set of changes for fabric routing to optimize use of ECMP groups
Also removing some old demo code in the SR app
Adding a couple of CLI commands for debugging
Bug fix in the DistributedGroupStore for group_exists error message
Bug fixes for ofdpa driver:
    - synchronized update of flowObjectiveStore when buckets are added to or removed from groups
      to avoid one thread from overwriting an update from another thread doing an update at the same time
    - addBucketToL2FloodGroup now updates flowObjectiveStore after accounting for changes
    - addBucketToHashGroup accounts for all added buckets, not just the first one

Change-Id: I6207c1c3c1b4379986805d73a73bc460fea8fe3f
2017-06-13 04:22:10 +00:00
Yuta HIGUCHI
116928b364 Fix to support artifact classifier
Note: still require onos-fork of buck to pick up upstream version
which contains following fix:
 https://github.com/facebook/buck/issues/1014

Change-Id: I52c204bad26f2ee0c612bdc024da80aa177aa168
2017-06-13 03:18:28 +00:00
Jordan Halterman
4d32a58692 Add test script for disripting ONOS clusters with crashes, partitions, and delayed/dropped/reordered/duplicated/corrupted packets.
Change-Id: Ib4f46dc1166df2c1777a6f2f2d148e5a922d2769
2017-06-12 22:28:15 +00:00
Yuta HIGUCHI
19afc03a4a Migrate HashedWheelTimer to netty 4
- moved potentially time consuming task to
  shared ScheduledThreadPoolExecutor

Change-Id: I8e77041e0f84bd2bdfd6ae6704f4e39b81c721dd
2017-06-12 21:49:14 +00:00
Yuta HIGUCHI
d66fe0c1e2 Cosmetic checkstyle fixes
Change-Id: Ie1536f4340103ce8600e7e01104135cb847e8eab
2017-06-12 21:40:42 +00:00
Yuta HIGUCHI
9eed0b1a34 Revisit Annotations merging
- avoid extra instantiation/copying when possible

Change-Id: Ia2f74a1fe2ff1176346316565c9bc6786cd7f6e4
2017-06-12 21:19:29 +00:00
Yuta HIGUCHI
6ee6b8ccd2 netty4 OpenFlow southbound
- separate I/O thread and message dispatch threads

Change-Id: I11a10a47de451a9e3063b62f9450be19c3a9dae7
2017-06-12 20:28:12 +00:00
Yuta HIGUCHI
ebf88d6749 Cleaning up MeteringAgent.
Change-Id: Ia646a92fbf9b9957a88d4c95bd235fa5c0530eab
2017-06-12 20:27:45 +00:00
Andrea Campanella
241896c7af [ONOS-6463] general device Provider
Change-Id: Ibc045bffe14c24068adc7f0adc96366d0f1807a0
2017-06-12 17:15:41 +00:00
Yuta HIGUCHI
45ff2d97a3 Shutdown shared scheduled executor on Core deactivate
Change-Id: I9a7cb1b8db346e2ca5818eeb1986d42a63dec806
2017-06-12 16:37:14 +00:00
Palash Kala
f95c38b218 [ONOS-6470] Method names are confusing, needs to be changed
Change-Id: I620cf5225b34f22dd176a65f211886d386f62872
2017-06-12 13:40:48 +00:00
mskala
832d047a6f [ONOS-6608] Ports discovery in NetconfDeviceProvider called twice
Change-Id: Ib566ef95f7965de409eaa8601fa9ecc7023f312a
2017-06-12 13:31:55 +00:00
Palash Kala
c3ffad9073 [ONOS-6615] Configuration service doesn't add rest and netconf devices together
Change-Id: I40daa2800109e2ed7e42b4cc6507a200b4d440a8
2017-06-12 11:33:19 +00:00
Palash Kala
a439afe320 [ONOS-6472] Flow, table, group and meter stats collector stopped after starting
Change-Id: I74c638662b6980d1895291e55e8aa5c203f1e40b
2017-06-12 10:46:59 +00:00
Palash Kala
4c71ee7c29 [ONOS-6507] Rest device connection timeout
Change-Id: I007e4ecff15c0eabbea0a02a0829f6778baada45
2017-06-12 10:46:24 +00:00
Harold Huang
6354b35a18 Bumping openflowj-3.0.0 to openflow-3.2.0.onos
Change-Id: I866b815a1423adfe6e973d0a48c85da6b5321bdf
2017-06-12 07:57:27 +00:00
Yuta HIGUCHI
3142f646ac Avoid accidental link type override
Change-Id: I3462838f8208c231f7b7ff24e63a03984fae4475
2017-06-09 17:27:31 +00:00