897 Commits

Author SHA1 Message Date
Marc De Leenheer
bbc35d6829 Removed old, non-functional optical topologies
Change-Id: Id7c83e9525cb7ae3f73f0f0d08ad4f57fe6c91de
2017-03-01 19:51:17 +00:00
Thomas Vachuska
f8d71b0538 Revert "Revert "Upgrading to stc 2.3""
This reverts commit 4590f260a5dc125f0b9e23ab376860e15892bbcc.

Change-Id: Ia01b0dec6992af51aafaad84733b4ff3a2817e45
2017-02-28 22:37:20 +00:00
Thomas Vachuska
4590f260a5 Revert "Upgrading to stc 2.3"
This reverts commit e0ee56cecfbd0029f18938fe4d2f35d1242fd772.

Change-Id: I348743fa1b409df1ec912e310207b67591b2fc39
2017-02-28 20:47:01 +00:00
Thomas Vachuska
e0ee56cecf Upgrading to stc 2.3
Change-Id: Ie14c78625cbe0fd0ba926e848f3820221ab01fb3
2017-02-28 12:34:00 -08:00
tjian
33917d353d [ONOS-6051] Use full path instead to fix the issue of "File or directory not found".
Change-Id: I727c94b9ff162e903eb624da74978151909f1678
2017-02-28 13:02:46 +00:00
Simon Hunt
5b4d665d11 Update regions bayarea config to have subregions use grid-layout data.
Change-Id: Ibdd59d0ebc36a03f2062c6234cadd69e567942ac
2017-02-27 20:53:18 +00:00
Jon Hall
1b92c79473 Force allocation of a tty in onos-wait-for-start
Change-Id: I1788fb2edfebbb33d2c97cf3aeea69486b98f7cc
2017-02-27 19:25:54 +00:00
Thomas Vachuska
1996d87200 Fixed issue with stc on initial bootstrap.
Change-Id: Ib29e2cbad776696d991016a288c041a50b992971
2017-02-27 18:29:58 +00:00
Jon Hall
e4a6100b96 Check logs on all nodes in stc dist tests
Change-Id: Ia98536940dc3d08b810a98f94f69fdc309d3fe67
2017-02-21 21:04:54 +00:00
Jon Hall
880b4e5f4b Check all nodes for app activation in stc
Check output in archetypes verification steps

Change-Id: I6d7d1133c007b769548ac92acbe61d60a5045398
2017-02-21 21:04:07 +00:00
Jon Hall
1d85439395 Fix missing stc dependencies
Change-Id: Ic5894de8d570cdb13e64623fa2e3b94b873c0da9
2017-02-21 19:09:33 +00:00
Jon Hall
da9fd4a436 Create setup and cleanup tests for stc dist tests
Change-Id: Ie977697a645be82e26ebf13d2510eb891a7c8b8c
(cherry picked from commit 4ad86cfda8f0dc2e87a1ef2ec0a48506c09274a0)
2017-02-21 18:56:26 +00:00
Simon Hunt
e9717e6a1a Allow associating a background map/sprite with the root layout.
Change-Id: I9216846e01d7126ffaad9125790f413d8ea8c496
2017-02-16 16:54:58 -08:00
Simon Hunt
bc30e68753 More plumbing of grid coordinates vs. geo coordinates.
- Added background reference parameter to layout command
- send correct location data to client for devices, hosts

Change-Id: Ic00bda76f4e4bc8d3e23e07a08f3bc5367ec85a9
2017-02-16 15:46:59 -08:00
Jon Hall
fb6009d215 Save stc temp logs in the stc folder
There was an issue when OCN was set to localhost. As part of Net-Smoke,
the command 'mn -c' is run which removes '/tmp/*.log'. This potentially
caused some tests to fail.

Change-Id: If68c184902b994e1ee38ea775c378ce29cdb891f
(cherry picked from commit a67dc45535c7b0b8ea6f246a10c1f2e4e18abb83)
2017-02-16 17:43:31 +00:00
Thiago Santos
9eb23c186f [ONOS-5287] onos-gen-partitions configure partition-size
- Add new '-s partition_size' argument to allow selecting the size of the
  partitions in a cluster
- Add new -n' argument to allow selecting the number of partitions in a
  cluster
- Use argparse to parse arguments
- Removed unused imports

Change-Id: Ie8ff4a9ef78bea023b32a4cf1c108ede478a8ba0
2017-02-15 19:05:30 +00:00
Simon Hunt
eb3cf54f31 Topo2: Add grid (x,y) option to null-provider devices and hosts (and basic element config).
Change-Id: Ia9eed66bda03174a6986d07fec40eb2a8f7728e3
2017-02-14 10:22:16 -08:00
Yuta HIGUCHI
c1e5f802bc onos-all: send CLI command to all cell nodes
Example:
$ onos-all set TRACE org.onosproject.net.intent.impl.compiler.ProtectedTransportIntentCompiler

Change-Id: I40dcf7b8a6e89b910eb5070eee6a1c312fb9689d
2017-02-13 16:49:59 -08:00
Ray Milkey
54a78514d2 Starting snapshot 1.10.0-SNAPSHOT
Change-Id: Icd6983be6a52293fb8a846a02d5e314c2c7aeaf0
2017-02-13 11:13:52 -08:00
Ray Milkey
57b510152e Starting snapshot 1.10-SNAPSHOT
Change-Id: I800d5d9e7f23793f5288457bca449ca382896723
2017-02-13 11:06:55 -08:00
Ray Milkey
de84cdde9a Starting snapshot 1.9.0-SNAPSHOT 2017-02-13 10:54:12 -08:00
Ray Milkey
8588c48114 Tagging 1.9.0-b3 2017-02-13 10:52:31 -08:00
Yuta HIGUCHI
3dcd286f3c Option to use rsync pushing bits
Use rsync to push bits (ONOS tar contents), when
environment variable USE_RSYNC is set to true.
This enables sending only changed .jar, now whole ONOS tar ball.

+ Minor optimization to reuse build machine to remote host ssh session

push bits:
 1) unpackage ONOS tar to tmp stage dir
 2) rsync local stage to remote stage /tmp/$ONOS_BITS
 3) package ONOS tar equivalent at remote node

push bits via proxy:
 1) rsync: build <=> proxy
 2)  scp :           proxy => cell nodes (tar packaged at proxy)
 3) rsync: build <==========> cell nodes (almost no-op)

Known limitation:
- rsync at Step 3 is triggered since
  repackaging same content remotely result in
  tar ball with different hash value.
  (Probably due to directory timestamp/uid difference)
- automatically installing rsync
  only supported for debian/ubuntu

Change-Id: Ibc9013b973c312798d2c36e7d25f5274f085b39f
2017-02-08 01:19:32 +00:00
Jon Hall
b84df5deb9 Bump karaf from 3.0.5 to 3.0.8
Change-Id: Ic5bc130f5110f4ff9da6ec22d066a5dd3069288d
2017-02-02 23:22:40 +00:00
Simon Hunt
433b30b642 Delete old test script for creating regions.
Change-Id: I6b03013f151dc16ab757ea87ffce8207e9634606
2017-01-30 18:53:35 +00:00
Ray Milkey
b40e945875 Fix STC for new intent CLI output format
Change-Id: I5892d8000f4f0a6bfdd1f22598b790966cb04a73
2017-01-27 23:08:40 +00:00
Thomas Vachuska
b3ef9d0684 Modified check-bits to show the listing of the actual tar.gz file rather than the sym-link.
Change-Id: I61ff5ffb3b37773fae192b2e02d723bb64dbbfb6
2017-01-26 08:51:11 -08:00
Luca Prete
3d402dcec4 Create stc net-setup topo for SDN-IP
Updated to latest routinglib version.

Change-Id: I939f5562cc88c30671f8f2f4b074699bd5367a79
2017-01-20 16:22:02 +00:00
Marc De Leenheer
f8e0283cd1 Fix for ONOS_APPS with dot in their name (ONOS-5843).
Change-Id: I6321e9984df2ec2e11aa99edd2756d44c2273c90
2017-01-19 18:27:39 -08:00
Bob Lantz
d22c991c6a Improvements for init.d, upstart, and systemd-based systems
1. Change ownership of /onos/apps

onos-service needs write access to onos/apps/foo in order to activate
an app. This also means that ONOS itself could also activate/deactivate,
modify, or reinstall apps, which seems a bit dodgy but is probably
intended.

2. Fix sudo command line

The -b option was in the wrong place, breaking sudo on systems where
we use sudo to start onos (e.g. older debian or centos.)

3. Redirect stderr of 'type daemon' command

We want to detect whether the 'daemon' function/script is available
in init.d enviroments that support it, and we do so using the type
command. Previously we didn't redirect stderr, so this resulted
in a confusing error message being sent to stderr of whoever is
invoking the script.

4. onos.conf has changed to be more consistent with onos.initd

Previously onos.conf ignored $ONOS_GROUP and had a slightly different
structure.

5. onos.service has been added for systemd-based systems

This initial version of onos.service calls /etc/init.d/onos to start
and stop ONOS. In the future we may be able to call onos-service
directly, but we will need to make sure that permissions are set up
correctly so that onos-service can activate apps and so that ONOS
itself can write its log files.

6. A README has been added

7. Update the onos-install and onos-uninstall scripts

Related Jira issue: ONOS-5550

Change-Id: Ie72775f1d0a4082af9c5ea9b13999c427c15ffe0
2017-01-19 23:38:10 +00:00
Ray Milkey
287b4ae810 Starting snapshot 1.9.0-SNAPSHOT 2017-01-19 15:21:17 -08:00
Ray Milkey
2557ba3375 Tagging 1.9.0-b1b 2017-01-19 15:20:17 -08:00
Yuta HIGUCHI
0410712d63 ensure known_hosts exist
Locally running ONOS was failing on fresh machine
 where known_hosts doesn't exist yet.

Change-Id: I83beb0118f6f41e8b24eff1ab7cb53d2ca95f853
2017-01-16 16:40:06 +00:00
Thomas Vachuska
cd443da270 Fixed tar-setup STC scenario to work with new packaging.
Change-Id: Ia02f4a40f58fcd94095c79e2a2b22c851b5dd872
2017-01-11 18:56:33 +00:00
Thomas Vachuska
f3e12d02f4 Ported onos-iterm-* commands to work with the v3.* of iTerm2.
Change-Id: I7a889fb67f56d6958c47a1bd3841b96b9b4b2141
2017-01-10 00:07:11 +00:00
Steven Burrows
512b627ce4 Topo2: Update UI on UiModelCache changes
Change-Id: Ic2d905820376bdd54fa9a72e42110a35c5f4a083
2016-12-20 18:46:10 +00:00
Thomas Vachuska
5af2e4f898 Eliminating use of Apache Karaf CLI client and of ONOS_USE_SSH env. variable.
All CLI access is now through the raw SSH client.
To enable passwordless access, the 'onos-user-key' tool should be used to add user keys.
Added 'onos-user-password' tool in the similar vein and usage as the 'onos-user-key' tool.

Change-Id: Ic5482fc8012369edc818691402ba45d13f130452
2016-12-16 22:30:47 +00:00
Thomas Vachuska
eec8b19e00 Added simulation of GEANT topology using null providers.
Change-Id: I0eb4d2a79d48f827c8e8ecb2d5b1fdfe28c621be
2016-12-14 16:58:08 -08:00
Ray Milkey
5535abd1bd Fix argument checking
Change-Id: I21c7c1ccba8130006b34fcfc913867368cf502f5
2016-12-13 14:14:47 -08:00
Ray Milkey
ddc0bd76be onos validate release refactor
Change-Id: I16211814cdd1726b807fac9e9eb0377f63a20b05
2016-12-13 20:04:44 +00:00
Thomas Vachuska
0a4dd38fab FIxed startup scenario and re-worked cluster restart to use shutdown and startup scenarios.
Change-Id: I0fd6d10eb4d87251a4ed19d1e103b60f63c74448
2016-12-12 10:23:49 -08:00
Luca Prete
9829bf1207 demoTopo
Change-Id: I89c9dd86bc2615fd953691488105d004a38ce022
2016-12-05 10:11:50 -08:00
Simon Hunt
5361221a17 Working on Bay-Area-Region Demo.
- added latitude / longitude parameters to regions, so the icons can be "placed" on a GEO-map

Change-Id: I5cf939f22597d4658ab603459b2b3059ba0db0c9
2016-12-05 00:50:46 -08:00
Ray Milkey
72bcefefce Starting snapshot 1.9.0-SNAPSHOT
Change-Id: Iae30168353c72c4e2d5e395298ceca5dd7554984
2016-12-02 16:22:53 -08:00
Ray Milkey
bc3c6ba539 Starting snapshot 1.8.0-SNAPSHOT 2016-12-02 15:59:38 -08:00
Ray Milkey
a222d05a18 Tagging 1.8.0-rc4 2016-12-02 15:49:32 -08:00
Carolina Fernandez
b1cef5c12d [ONOS-5420] CP/untagged ifaces support in VPLS
Changes:
- Tests to account for tag-tag and tag-notag connectivity
- Introducing untagged ifaces in netcfg and topo files

Change-Id: If56fd4d8bbe4f1f2505e4d5d85c3eeda8c22ac5c
2016-12-02 21:15:12 +00:00
Ray Milkey
b547e06157 Starting snapshot 1.8.0-SNAPSHOT 2016-11-30 15:10:18 -08:00
Ray Milkey
4f6d428dc7 Tagging 1.8.0-rc3 2016-11-30 14:52:32 -08:00
Konstantinos Kanonakis
b3e9704d49 Homogenizing field names across NETCONF and RESTSB device config
Change-Id: Ia04594e36fec3be37150c3e81f3027b54e1b5c75
2016-11-30 21:27:59 +00:00