1047 Commits

Author SHA1 Message Date
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
fc3f314981 Fixing onos-run-karaf not to blitz /tmp/onos-*.tar.gz
Change-Id: I5a96d79f597b0d5542ed276a9c786b061c2bd102
2016-05-04 20:10:10 -07:00
Thomas Vachuska
0483beedfe Fixing onos buck package and lib gen script.
Change-Id: I4e30e253a84fb29bb9d174c6bcde6f7701b708cd
2016-05-04 19:48:37 -07:00
Brian O'Connor
f7e5f05545 Adding BuckLibGenerator to autogenerate lib/BUCK
Change-Id: I7eab26f57d4f5886b1512b687fca75d684938d46
2016-05-04 19:27:34 -07:00
Thomas Vachuska
5f54c6f679 Adding ability to run ONOS locally via 'buck run onos'
Runs ONOS as a server and requires client connections with ONOS_USE_SSH unset.

Change-Id: Id0aedccbfddfb8f3f17b2ef7f73e805066976315
2016-05-05 02:27:00 +00:00
Thomas Vachuska
e6185571d2 Changing bash_profile not to reserve a borrowed cell during sourcing.
Change-Id: I30bb38bd2a2e3d32c1c8019afe8198078bf9124e
2016-05-04 19:26:15 -07:00
Thomas Vachuska
673c3e062f Fixing onos-buck
Change-Id: Ibb3e60d273a276b3e86302fd1c915881b8615629
2016-05-04 23:25:00 +00:00
Ray Milkey
43702bf481 Fix up buck build for OVSDB apps
Change-Id: I57b69574ad7989795ba81fbeecb7e084c3165203
2016-05-04 22:14:43 +00:00
Changhoon Yoon
a68e6f981a ONOS-4439 bug fixes for security mode init scripts
Change-Id: I7ba5d3f092a84b5b43434677aff0219aee60adcf
2016-05-04 21:40:05 +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
0d33700d45 Changed default borrow behaviour to simply get current cell definition if a reservation exists already.
Change-Id: I365233a78be6033d176e33c3c3b3ad33f791d85e
2016-05-04 17:50:46 +00:00
Thomas Vachuska
777dbd7fdc Adding buck build of the meta openflow app.
Change-Id: I56f0ed3776c958680fd046295d0fbd6f18a32c56
2016-05-04 17:31:29 +00:00
Brian O'Connor
65c0bdf595 Fixes to onos_stage to include karaf.zip
Change-Id: Iae00ae0a47150b470a7fc409260ca21824af020e
2016-05-03 18:40:42 -07:00
Brian O'Connor
92ec2136a3 ONOS-4344 Fixes to onos_stage.py to fix Buck onos-package
Change-Id: I807a3cf66f15c60adb5790bdb54d4b68ea7f953d
2016-05-04 00:38:24 +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
Charles Chan
2199c30c6e CORD-348 Fabric multicast support - error handling
Automatically failover to backup spine if
- ingress - transit link down
- transit - egress link down
- transit device down

Can recover from fatal error with human involved
- ingress switch down
- egress switch down
- all links to spine down

Scan through McastRouteStore when
- SR activate
- link up

Also include following features
- Use flow objective context in McastHandler
- Update Mcast VLAN config sample

Change-Id: I75007d9efd7646e7c4e57fa6d3fc6943543153cf
2016-05-03 19:09:52 +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
9e1352f606 Adding onos packaging buck rule and script
Change-Id: I0c909e6bf45197061f81f1705de05561c4c91d8d
2016-04-29 18:23:20 -07:00
Brian O'Connor
538b7cfcb8 Adding Buck file for ONOS karaf branding
Change-Id: I7971ba6b8f62d5596dff617376845e7901f63cca
2016-04-29 18:23:20 -07:00
Brian O'Connor
4847ea3d6e Updating checkstyle rule in onos.bucklet
Change-Id: I16422bf02b55572d82d9463cb87c678545b79793
2016-04-29 18:23:19 -07: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
Charles Chan
a8c31b1ca4 Update and Remove some network-cfg.json sample
Remove network-cfg
    Each app has its own way to interpret the config.
    Therefore it doesn't make sense to keep a generic one
    In long term, each app should have a json schema that explain the meaning
Remove network-cfg-fabric4x4
    It does not provide more info than 2x2
Remove network-cfg-fabric2x2-default-route and network-cfg-fabric2x2-xconnect
    Keeping features in different configs doesn't help much but make people confused
    Also it's hard to maintain so many samples
Add network-cfg-fabric-2x2-all
    Full fabric config with readme
    The html documentation is just temporary. We will have a json schema
Rename/update network-cfg-fabric-2x2-min.json
    Minimum config required by the fabric

Change-Id: I93332d8166c264b9dbb7819b90099c2f19fcf3b5
2016-04-19 17:09:17 +00:00
Michele Santuari
6362fb8f69 rsdoc for linux
Change-Id: I1e24a76c6c0447dca3308b26b1c0d76b1ff5dd73
2016-04-18 17:14:34 +00:00
Bob Lantz
53228836e6 Respect ONOS_USER and ONOS_GROUP settings as intended.
Change-Id: I89936604434aa9c22d128350ac452e1aab763d5e
2016-04-16 00:48:49 +00:00
Bob Lantz
0b8466b0b7 Don't spam the linux console with 'logging in as karaf' messages
Fixes ONOS-4337

Change-Id: I1cd4b63706e5758a4f818f23904ebfd39d1d972b
2016-04-15 22:50:23 +00:00
Brian O'Connor
7cbbbb7009 Adding Copyright notice to files that are missing it
Change-Id: Ic08aad8906dbd4dd062e7adcec7465475cf2bdda
2016-04-09 09:51:27 +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
Brian O'Connor
2fdbe0d1e0 Small fixes to onos-buck
Change-Id: I3b1afc4745b7d6a0bbdb1863cb9ab6240e70a123
2016-04-08 19:14:15 -07:00
Brian O'Connor
fa5e076873 Cleaning up karaf
Removing deprecated etc/samples
Removing unneeded featureRepos and features

Change-Id: Iad54774f6ecf74ca645accfd0745a42fcfb84a25
2016-04-09 02:01:11 +00:00
Brian O'Connor
e4da59d8aa Simplifying rules and providing sensible defaults
Updated cordvtn, dhcp, fwd, onos-api, of-api, onlab-rest, onos-rest, onos-gui

Also, fixed checkstyle error print

Change-Id: I9d6ab76791e8603678079067a3b4e007ca7c4667
2016-04-08 18:43:36 -07:00
Brian O'Connor
9be2363757 Adding onos-buck file and buck alias
Change-Id: I548aade4802da87707d86c192e1800eb1edeb200
2016-04-08 18:43:36 -07:00
Jian Li
8bf6c44d00 Purge stale staged data directory to fix 500 error in web GUI
Change-Id: I1e2c42def84e981755965d31c092b169aec10091
2016-04-07 15:07:43 +00:00
Madan Jampani
6364550787 Do not create a raft folder during installation
Change-Id: I671b1eddcc4e0678c6c2d40559db20ba53e8e437
2016-04-06 17:49:16 +00:00
Brian O'Connor
42c38cf357 Updating buck to build OSGi JARs
Includes:
  OSGiWrapper to wrap Buck JARs
    - cfgdef file support
    - WAR file generation support
  Adding checkstyle support

Change-Id: Ia25c41f945980e4b94ad5a8bd161328fa5f79c27
2016-04-06 00:46:07 +00:00
Brian O'Connor
8b5edbcd2b Reformatting checkstyle.xml
Change-Id: I08dabb1f4758af58901b1d207f2e834fc46f8c84
2016-04-06 00:07:19 +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
Thomas Vachuska
bdd23be7e8 Fixing tom cell and the net scenarios.
Change-Id: Iac368f015afd19304a9d194390ec8401b8037ec7
2016-04-05 20:36:59 +00:00
Michele Santuari
91ee01b0e0 fix mci mcis commands
Change-Id: I0b1b91d52454fc94ca9b991b70480b26708f537f
2016-04-05 17:11:27 +00:00
Thomas Vachuska
35349334f3 Changing onos-secure-ssh test tool and scenario to allow parallel execution of the onos-secure-ssh tool.
Change-Id: I83b6649f721da4e25c741c0d1fbd90a6ba015135
2016-04-04 21:57:31 +00:00
Brian O'Connor
a450bd000b Simplifying Import-Package line in maven-bundle-plugin for REST bundles
Change-Id: Ic29e3f205e18b7b63e33a8c65cbb30a8b56d2e74
2016-04-04 21:33:36 +00:00
Brian O'Connor
0311a4b187 Simplifying onos branding bundle
Change-Id: I97c2b4e95f1a5483ce49ddae5a0fd5c7f4ca3a14
2016-04-04 14:17:37 -07:00
Thomas Vachuska
abb2139a93 Adding stc prerequisites to onos-test
Change-Id: Id18c8dc61a533f3f2e6ee4b5341bbc457bb634e1
2016-04-04 16:34:16 +00:00
Ray Milkey
33d81c6ba3 'o' command should not look at the buck-out tree
Change-Id: I76d0581ba1fd6f2c87232be69d70a0ae57f1cb71
2016-04-01 13:18:02 -07:00
Ray Milkey
90289b0cf9 STC fixes
Hosts without a VLAN are now represented as /None rather than /-1
Flow ID in location returned by POST operation was hex rather than decimal

Change-Id: Ibb403f696399012b2b90f2954112265a6e230815
2016-04-01 19:13:07 +00:00