573 Commits

Author SHA1 Message Date
Phil Huang
744527286a Support Cluster restart via stc
Itegrate with shutdown.xml and startup.xml for restart ONOS cluster

Change-Id: I0b7cff42fc0f471c5dc6a096963cc5200fc186d7
2016-07-01 18:11:23 +00:00
Yuta HIGUCHI
6fc9fbd1fc ensure BUCK built bits are used on stc
- Note: envDefaults internally checks bits timestamp to use latest bits.

Change-Id: Id5852b731432fca64397ea24dea1713f432a6329
2016-07-01 16:58:01 +00:00
Carmelo Cascone
977ae3f42d Varius updates to BMv2 mininet scripts
Most notably:
- Added support for onos.py's ONOSCluster controller (it works with
	"mn --custom onos.py,bmv2.py --switch onosbmv2 ...")
- Randomly select an open port for the Thrift RPC server

Change-Id: Ifa974741dc4a3693777f01866b1f6203d0e7e75e
2016-06-29 20:53:05 +00:00
Carmelo Cascone
785fada2fb Added Bmv2 demo scripts (mininet and netcfg)
Change-Id: I7471a9ebe55f74dbe8c63faef9a8685c48621862
2016-06-28 23:01:35 +00:00
Phil Huang
5805075ccd Fixed JSON validator and DELETE not work issue in onos-netcfg
1. Supprot handle upper case DELETE and fixed DELETE funcion
2. Fixed `POST` can not work if JSON format is correct

Change-Id: I762cb73ce73a42393264dcace1beaf5cf53492f7
2016-06-28 17:58:18 +00:00
Bob Lantz
2d4e3a137e Remove obsolete/confusing onos.py
Change-Id: I21e6dee9164352140cfa50c48904ec8139854c84
2016-06-28 16:18:43 +00:00
Madan Jampani
9e1a8c1bfd Initial stc tests for distributed primitives
Change-Id: I82a2911df9a4852cb851732e220d498f9332e005
2016-06-27 11:19:46 -07:00
Phil Huang
465a9b8ec2 Support validate JSON file in onos-netcfg
Validate network configuration is JSON format before POST

Change-Id: I6538bba27252c2c06f387804dabe15542988bfa1
2016-06-23 21:42:22 +00:00
Andrea Campanella
ad509f9248 Enhancing Geant Topo
Change-Id: I71c9252d41cfc2efb29e25aae4900104565c0408
2016-06-21 15:06:12 +02:00
Andrea Campanella
60a5a989c5 Adding GEANT european topology
Change-Id: Ie30a6145f01e141e8af88116c8fa193a0308f8c3
2016-06-21 10:15:51 +00:00
Ray Milkey
407ef253e9 STC - check that flows are installed before checking pings
Change-Id: Ia2853932db8e27bd1447d225b160c8e583d7df61
2016-06-15 18:17:30 +00:00
Claudine Chiu
b0d0ada02b - bidrectional vnet link creation
- optionally specify expected number of intents in "onos-check-intent"

Change-Id: I523a7fd9e1aaa72b441d2428fb9ebb692b07bdd0

-  bidrectional vnet link creation (when using ssh)
- optionally specify expected number of intents in "onos-check-intent"

Change-Id: I5c6fe1f269eddeaa70dfec819853d42af59fbd8e
2016-06-15 18:01:43 +00:00
Claudine Chiu
45312d0cd0 ONOS-737: regexp for grabbing OC* variables changed
Change-Id: Id5651ffb41230a39c6ed68e1605feaf3c0aa337b
2016-06-15 13:47:01 +00:00
Thomas Vachuska
426d356ca1 Preparing for separating STC into its own repository.
Change-Id: I1d5b0e9b117865684d48c5a23fc8ed98a0e075e1
2016-06-15 02:15:29 +00:00
Bob Lantz
50df0982d5 Allow output file or '-' for stdout with list of IP addresses
This doesn't seem quite right, because it doesn't match
a supposedly legal use case where you omit the output file
and list the node IP addresses. However, it's better than
what we have now, which simply ignores the output file name.

Intended to help with ONOS-4667

Change-Id: Ib46195e7b829bc4d304c4dd51138b73acd4f1501
2016-06-07 17:44:01 +00:00
Thomas Vachuska
283a78566e Fixing archetypes scenario.
Change-Id: Id3af37f1a7cd7880e5eeffb09b2af5c0925f13ef
2016-06-06 11:34:26 -07:00
Madan Jampani
597282af90 Clean up references to the deprecated p0 storage partition
Change-Id: Ifdab952d2bef30104f57aff3cab342df99a20571
2016-06-04 21:16:00 +00:00
alshabib
e822257ec9 renaming lxc cell to vagrant
Change-Id: Iff7fdaa1d09543004463cf3769e88cba7e1929b6
2016-06-03 05:57:53 +00:00
Claudine Chiu
0005a4d83d Vnet STC (setup tenant and vnet* and subsequent teardown)
Change-Id: I65287aa840dfb910b9919c30449e69d195d2306d
2016-05-31 23:17:10 +00:00
HIGUCHI Yuta
07a9e563da [ONOS-4588] Separate optical driver from "default" driver bundle
Note: If you're using optical devices currently in "default" driver bundle,
(LINC-OE, Calient fiber switch, ECI devices, OpLink ROADM)

you'll need to load the driver/app "drivers.optical" in adition to default drivers

e.g.,
a) Add to cell definition
 export ONOS_APPS=${ONOS_APPS},drivers.optical

b) Activate after starting ONOS
 onos> app activate org.onosproject.drivers.optical

Change-Id: I126c09bebc816d11b4700a80e7a36a8e6c3e1b49
2016-05-27 16:43:20 +00:00
alshabib
bdb7b37b00 adding a mininet vagrant box
Change-Id: I0c89c35a9e6768b3c3640c0895d405901e38799e
2016-05-26 22:23:38 +00:00
alshabib
4997cd7c9c Vagrant box for development use.
vagrant up onosdev sets up a vm with three lxc instances
which should be used with the lxc cell.

Change-Id: I18b5cc5366efc61f05063798b498559eb49a8eff
2016-05-26 22:22:42 +00:00
Jonathan Hart
5de9105aa2 ONOS-4400: Run daemon-reload as part of onos-install for systemd systems
Change-Id: Id73b3fb54b58e1b8444b2eccb21b8a067ac45405
(cherry picked from commit 4ca2f44945c50caa32a522555e637338831302c8)
2016-05-24 21:20:40 +00:00
Brian O'Connor
e642f7cf7b Bumping version to 1.7.0-SNAPSHOT
Change-Id: Id105bf08ecbdac6d4e214ae035b4220aea90f29f
2016-05-23 18:35:29 -07:00
Ray Milkey
125952302e Fix check for valid cluster root
Change-Id: Id4d785977a0c0b6d176bbd15d9b2c81b46b45e97
2016-05-20 22:00:59 +00:00
Madan Jampani
80244e5424 Fix how onos-gen-partitions script looks up optional node ips in CLI
Change-Id: Id62583755bc02ef20a87fcf7e394f725cef153ed
2016-05-17 20:03:43 -07:00
Brian O'Connor
fb8a275d12 Updating onos-gen-partitions to take IPs via CLI args
Also, moving to SHA256 hash for onos-gen-partitions

Change-Id: Id2a56401cebf75345660059e16144426d4ae89c3
2016-05-17 23:39:03 +00:00
Thomas Vachuska
817bebf014 Adding a test scenario for STC unit tests.
Change-Id: I1bf2b84ac1af1524e9dc7e60c930087e87619406
2016-05-17 18:08:23 +00:00
Aaron Kruglikov
6130ffc1a1 Removing unused cell definition.
Change-Id: I3a65c225501b5137e6957e76163972eef6cfe33e
2016-05-10 20:40:19 +00:00
Thomas Vachuska
f07ec2186a Reverting changes to onos-cell & cell
Change-Id: Ieb35fe2d51c1981f1d560bdfe072d5ccc6a26f90
2016-05-10 19:18:08 +00:00
Thomas Vachuska
77a63e6ccc Ooops... fixed onos-cell tool.
Change-Id: I38cd19b3a22fe4516119165f0784247ab895b64d
2016-05-10 04:04:49 +00:00
Thomas Vachuska
a25cda2947 Removed defunct cell definitions
Moved implementation of the cell command into a script.

Change-Id: Iee307d1deca5d91fb0bdb548f67a7276bcf82f22
2016-05-09 23:34:46 +00:00
Ray Milkey
9ce9e259a8 Make sure only one onos-mininet operation is going at a time. This script is not mutlithread safe.
Change-Id: I066e9e6ad6405cb32c037502095a2a470eb7c9d5
2016-05-09 21:58:20 +00:00
Thomas Vachuska
9e61bd99e6 Added support for bits proxy, where ONOS bits can survive borrow/return cycles.
Change-Id: I0ab9bac26bd88a246925750d26baaab228a37136
2016-05-06 22:57:07 +00:00
Thomas Vachuska
e91541fafe Modified warden to create borrowed cells on-demand and to scrap returned ones.
Change-Id: If32a0da18ff9d4c05645017e5cc7481bbd1ab0cd
2016-05-06 14:58:35 +00:00
Ray Milkey
4abe844367 STC drivers test now uses a driver that is always present; added buck build for corsa driver
Change-Id: I5310c54bb295f86a6f384a0f4bf18ed75cda1ef5
2016-05-05 19:10:19 +00:00
Thomas Vachuska
b826190142 Adding ability to get borrowed cell definition without changing the existing reservation.
Change-Id: Ib1fba430371f49f3c928998af98a6d347fabd93d
2016-05-04 17:57:06 +00:00
Thomas Vachuska
71ff33243e Adding init script for the warden.
Change-Id: I2789f802aaf1a2b79162a888994bb941d0d5c1b9
2016-05-03 16:07:13 -07:00
Thomas Vachuska
1eff3a603e Initial implementation of shared test cell warden.
Change-Id: Ia973d514fe1dd11ffe4cdb7c902cc43a9c2eb626
2016-05-03 21:02:41 +00:00
Thomas Vachuska
33f90a95ed Adding OCT to 101 and 102 cells.
Change-Id: I23268cb483675ed1d985bc2b0e2c87b56f3c6fa5
2016-05-02 16:11:22 -07:00
Thomas Vachuska
f49dea1590 Adding new cells
Change-Id: Ibc15f83079c1a1ea286856b7c19e44088d7ddc91
2016-05-02 22:58:21 +00:00
Brian O'Connor
a7903ae0cf Moving default app.png to common/resources, so that it is included in the bundle
Change-Id: I4ad225eb0e73bceb31f9a2a4edc29180cd0db500
2016-04-29 18:23:17 -07:00
Andrea Campanella
fdbb7f4fde Changing Andrea's cell to containers
Change-Id: I614673dafb31314844a0fd2177fa6f5e117b274e
2016-04-29 17:56:22 +00:00
Carmelo Cascone
3bb71c17c7 ONOS-3972 Implemented BMv2 device provider
BMv2 devices can now be discovered (along with port informations) using
net-cfg (see tools/test/config/bmv2-cfg.json)

Change-Id: Ief2ca790dceb4d047b75aae6c5e1a89a05215e5f
2016-04-26 11:46:29 -07:00
Bob Lantz
7c751b51e7 Cross-platform changes to onos.initd
We now can use start-stop-daemon (debian), daemon()
shell function (centos), or sudo (others) to start
onos-service.

It should be backward compatible on systemd systems.

Tested on Ubuntu 14 and CentOS 6. Should also work on
Ubuntu 15/16, CentOS 7, Debian, and Fedora.

(Note that we should test this against various OSes,
preferably automatically rather than manually!)

Addresses at least part of ONOS-2907

Change-Id: I4ded98baf02321a5a9db37fdff19e1ce4a3d23d2
2016-04-25 15:24:46 +00:00
Michele Santuari
6362fb8f69 rsdoc for linux
Change-Id: I1e24a76c6c0447dca3308b26b1c0d76b1ff5dd73
2016-04-18 17:14:34 +00:00
Brian O'Connor
5ab426f9ff Updating copyrights
New format: 'Copyright .year-present Open Networking Laboratory'

Change-Id: I1a9e58b355b775e75245ad875a2d7a4df3f03098
2016-04-09 01:20:21 -07:00
Madan Jampani
6364550787 Do not create a raft folder during installation
Change-Id: I671b1eddcc4e0678c6c2d40559db20ba53e8e437
2016-04-06 17:49:16 +00:00
Thomas Vachuska
541413dc8d Pruning deprecated test topo artifacts.
Change-Id: I0627f1dae8d6af0eceedaf837bfc0e136c6b12df
2016-04-05 23:45:49 +00:00
Thomas Vachuska
1eec505140 Fixing stc prerequisites to allow ONOS_USE_SSH to be either true or unset/blank.
Change-Id: I27604f28c34ff7a451847a6b3772d300b46d3d57
2016-04-05 14:34:50 -07:00