1047 Commits

Author SHA1 Message Date
Madan Jampani
31bfc111d3 stc scenario for unclean cluster restart
Change-Id: I6166dbce8d18b7c67be63880baf86ae50fbed0a8
2016-08-30 15:44:38 -07:00
Ray Milkey
ba82c0de1e Check that the DHCP Manager is active before testing its configuration
Change-Id: Id760d58df005060c0f1d0c2ebdde90fe356d2c9f
2016-08-30 20:00:07 +00:00
Bob Lantz
894eab5711 Add examples/ dir, README, and multicluster.py
multicluster.py creates two ONOS "clusters" (1 node by
default, though larger are possible), each of which
is responsible for a separate segment of the data network.

Change-Id: I233c9884b565bd6a28fa1a05e990e86207c88347
2016-08-30 17:34:32 +00:00
Bob Lantz
503a402e89 Multiple ONOSCluster support for ONOSCLI
Previously we were only passing the first ONOSCluster
into MininetFacade, but lo and behold it supports as
many networks as you like! So we pass them all in the
case where we have multiple ONOSClusters.

Change-Id: If848886b958aa47d3e4834c44adc98fffd90453c
2016-08-29 18:08:37 -07:00
Bob Lantz
8e576256fb Enable --custom files to import ONOSCLI
Since --custom files are execed, subsequently importing them
actually creates duplicate classes. This wouldn't be a problem
except that we depend on isinstance(). As a workaround, we allow
the class name to match if isinstance() fails, assuming it will
be a class that is compatible with ONOSCluster or ONOSNode.

Example: env PYTHONPATH=. mn --custom onos.py,mytest.py

where mytest.py imports onos

Change-Id: Ib4cda82fbdd612420de1e113ab768e2f137d5213
2016-08-29 17:56:11 -07:00
Bob Lantz
5763516eb6 Add portOffset for multiple ONOSCluster port forwarding
With multiple ONOS clusters, we want to make sure that the
forwarded port numbers don't collide. We add a portOffset
which is automatically incremented appropriately as more
ONOSClusters are created. It can also be specified explicitly.

Change-Id: I62977c3d4141668d9f541067db1a20ec0035489b
2016-08-30 00:55:39 +00:00
Thomas Vachuska
9152b15265 Fixed onos-run-karaf
Change-Id: If5ef4e2bf254cbba3891ab3412dea28f3e8c39e0
2016-08-25 00:35:34 +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
Charles Chan
28267ea1ff Fix buck run when $ONOS_DIR does not exist
Change-Id: I437e1a3f7afb30f0324260cb424fcc669ca03972
2016-08-22 23:38:38 +00:00
Thomas Vachuska
67f1305b75 Bumping STC to 2.2 version.
Change-Id: Ib39eef58b41b33a7fcf858f84c64a10a91304005
2016-08-19 19:42:10 +00:00
Thomas Vachuska
a8e125a5c8 Fixing onos-mininet cleanup logic.
Change-Id: I2269cf9c4b492b2f991ce72690544acc72e1804c
2016-08-19 18:04:29 +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
zhangyuanyou
57c7c31e57 Fix the disabled download url of karaf.
Change-Id: I4eec3ad4365ec2a67ee8301ae56b9469dfb7a5fe
2016-08-19 16:23:30 +00:00
Thomas Vachuska
e4abf5b20f Allowing buck-based onos run to run with or without 'clean' option.
Change-Id: If6f9e584b82c60ff0b85d3931352354c375c49cb
2016-08-17 16:30:32 +00:00
Jon Hall
a43d0334aa Add check for node status to onos.py startup
Change-Id: I8e6b103ef46a5bc5877507a7adef3eb6117adf64
2016-08-16 22:32:34 +00:00
Jon Hall
9b238aef36 Pass alertActions cli option to ONOSNode class in onos.py
Change-Id: I534cc0e22ac11018e6c5ec6f73a2f7259392b9e0
2016-08-16 22:30:35 +00:00
Luca Prete
09dfe1e1b5 Updating SDN-IP tutorial config files
Change-Id: I98a2dcd0ed6a4a97ca2ac29a9b592e2f0c714ba8
(cherry picked from commit 97a08bbc6cd3c867aa93e6826861878a3b8b3466)
2016-08-16 21:39:30 +00:00
Simon Hunt
f4fd2a2e47 Clean up handling of lat/long geo-coordinates.
Change-Id: I64fca56c7deb9a8baa6c68558365ec2a8c38168c
2016-08-10 16:31:11 -07:00
Thomas Vachuska
5064bac254 Bumping version of onos-maven-plugin to 1.11-SNAPSHOT.
Moving ONOS dependency to be on release version 1.10.
Cleaned up a few pom.xml files from redundant plugin configuration.

Change-Id: I9cc31731dc26dd97292911f9a64795f2865e386d
2016-08-09 14:23:55 -07:00
Thomas Vachuska
e5428c5979 Releasing 1.10 version of onos-maven-plugin.
Change-Id: I7732d19c3217678992289080e1eb2b71794923cb
2016-08-09 21:23:29 +00:00
Sho SHIMIZU
a09e1bbdbd Use Collection#forEach() instead of Stream#forEach() for simplicity
Change-Id: I0a1aea4bdb5d305c50273e6ff749fe71bd2a295a
2016-08-09 17:44:13 +00:00
Yi Tseng
99e3030920 Add onos-acl tool
Change-Id: I291c19fa60e73029f7ce9a1286a2dd79c62429af
2016-08-08 23:41:59 +00:00
Thomas Vachuska
3f79e2a100 Adding cdvue tool to allow developers to run it without building the binaries themselves.
Change-Id: I1582b1ca9d55a9a7debe50d49b1588b9c9a63fb6
2016-08-08 23:36:59 +00:00
Thomas Vachuska
830b8a1817 Searching the local archetype repo before the remote one; temporary fix.
Change-Id: I177d8def0c3738f572b147eb1ff704f624ecafa6
2016-08-05 16:50:57 +00:00
Ray Milkey
e685d7d718 Fix up drivers test to not shut down all of ONOS
Change-Id: Id72aa88e9f7bda14324d448232a6677dd8ff3ba1
2016-08-05 00:32:53 +00:00
Thomas Vachuska
20150f3057 Adding onos-app and onos-create-app to the test tarball produced by onos-package-test.
Change-Id: I03bce9f1668dc9dae3dd655dffc4cbd3f23eb9f5
2016-08-04 21:14:47 +00:00
Yuta HIGUCHI
7f2c6f9b25 Use karaf/OSGi bundle data path for persistence
Change-Id: If5a4eb1fb63ca3455200c29e9981c7a0f2dd044e
2016-08-04 00:37:37 +00:00
Brian O'Connor
e8468b5743 ONOS Swagger Plugin
just does swagger now
to build the plugin, you need to download to following:
https://github.com/bocon13/buck/releases/download/v2016.07.29.01-wip/buck.jar

put the buck.jar in tools/build/buck-plugin/lib

Change-Id: Id1b833dd013fbc5581f8e884e755920829c4a17e
2016-08-03 22:27:51 +00:00
Ray Milkey
2a749835b7 Top level build of component Javadocs
Change-Id: Iceb2a7c84b3dd0b354b27f93a0f746913cd9b778
2016-08-03 09:38:07 -07:00
Jonathan Hart
4e22b2cfa1 Add package directories as dependencies of onos-package buck target
Change-Id: Idc19734c60137014fdd0ef0dba26d1ccb912ff1b
2016-07-29 13:39:15 -07:00
Brian O'Connor
8f4a9290e8 Updating buck version to support plugin manager
Change-Id: I30bfc870fce1c396673a7acffe53ad975e17c46b
2016-07-29 11:10:02 -07:00
Thomas Vachuska
956610d287 Moving to new version of STC.
Change-Id: If920830bbb3cdd37d88938a2e0fe45ad148765e5
2016-07-28 01:09:55 +00:00
Ray Milkey
f72cedbdc7 Refactor module lists in BUCK
- removed unused Android defs file
- module lists moved to default.defs
- removed redundant APPS list

Change-Id: I464cfc51c56641b3a3810509ab3e238a5f9e62a6
2016-07-27 23:16:45 +00:00
Madan Jampani
145623d189 Added onos-cluster-execute-expect as a cluster version of onos-execute-expect + updated stc scenarios for dist primitives to use this for verification
Change-Id: Ife3bde21118ebd21e8abf807070a72ac58341120
2016-07-25 20:37:12 +00:00
Simon Hunt
b1ce2609cb ONOS-4326: Working on topology topo2start processing.
- Added getPeers() to UiTopoLayoutService.
- Fixed wipe-out command to leave the default layout alone.
- Fixed handling of null-region (associated with default layout).
- Added refresh() method to model cache.
- Fixed regions-topo-2 device IDs

Change-Id: Iee49b47ff6702bed9751be7b63392577422d4763
2016-07-25 17:20:07 +00:00
Simon Hunt
b35c528547 Added null-provider to cell simon-single.
Change-Id: Ie756f284670a14314efc01140fa0a43418083a1b
2016-07-22 22:25:16 +00:00
Thomas Vachuska
eb851cdefd Adding commands for managing layouts.
Adding support for wiping out regions and layouts.
Refactored UI layout manager to allow public knowledge of default layout id.
Enhanced test topo for layout hierarchy.

Change-Id: I254fd494175e753f542f12a664618c1a83f72127
2016-07-21 15:50:36 -07:00
Thomas Vachuska
3ce80f72f5 Fixing regions command to list devices that are currently in the region.
Change-Id: I52098fb613844b786827f7bc97e7ecec581397ba
2016-07-21 22:17:24 +00:00
YPZhang
66c2d1f9e8 Add a OCN for beast cell file
Change-Id: Ic412e5032341dfd9e41d1065ffd35070265409d3
(cherry picked from commit 916da431aeb57942990470a2bdad316ceecd659b)
2016-07-20 19:16:53 +00:00
Thomas Vachuska
275d2e82dd Refactoring checkstyle daemon into a more general purpose buck daemon.
Change-Id: I999541e8894f07061141b3a62414e491369f8d08
2016-07-18 20:18:16 +00:00
Claudine Chiu
cc5f03e8de ONOS-2184 - virtual network Intents for vnet STC.
Change-Id: Ic6b15ba20b45cae36ec873808641f7a1b9c9aa8c
2016-07-18 19:00:53 +00:00
Thomas Vachuska
4d5310c42a Improving stw and adding ability to clean-up mininet properly between runs.
Change-Id: Idb163bfa0cfd13b0ed7b9e4715ca7a2c0ffe69f6
2016-07-14 20:13:48 +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
Thomas Vachuska
a7217517e1 Adding more patience to the netcfg scenario.
Change-Id: I67e151b51e12183900cdefcae9721cec5d9cd7d6
2016-07-13 16:52:43 -07:00
Thomas Vachuska
9efd6b305c Adding 'stw' utility to run stc while success/until failure.
Change-Id: Iff9f3ca0da1cd5f23fa823ef04a72e48d859f87a
2016-07-13 15:44:32 -07:00
Thomas Vachuska
cc0b7d6605 Adding support for topology recipes and cleaning up topologies.
Cleaned-up a few STC scenarios.

Change-Id: I4ffa61953d8cf289406fa572ab7603d996e26a85
2016-07-13 13:16:06 -07:00
Jonathan Hart
b8cd8035ae ONOS maven plugin can substitute any propertiesdefined in the pom
in the generated files.

Change-Id: I528a693450211c74435530034c87b2545b2f7c1c
2016-07-13 01:53:53 +00:00
Sanjana Agarwal
de50ee594a Fixing onos-maven-plugin App Mojo
Dots in artifactId should not be replaced with slashes.

Change-Id: I7d1b2608702255a36bfffeb0ca7c2acb9f5bc076
2016-07-13 00:02:14 +00:00
Ray Milkey
3271562748 Refactor reactive forwarding test into its own scenario
Change-Id: I97d3a68409a5e5dae4f59bf7700868d7aa484e4e
2016-07-12 22:03:28 +00:00