573 Commits

Author SHA1 Message Date
Jian Li
205da60832 New cell for jian
Change-Id: I0966e2b4ccaa9d20d4d0539ec4b3cc1bb25f8ddf
2015-11-24 17:43:02 +00:00
Ayaka Koshibe
4f23b0a5e7 Script for emulating a four-domain metro network.
ref: https://wiki.onosproject.org/display/ONOS/Metro+Network+Emulation

Change-Id: Icb8dd7a12587398af49e9acea23a7cb85fb84b88
2015-11-21 01:36:55 +00:00
Ayaka Koshibe
a879a04108 opticalUtils.py:
allow Linc to be aware of switches that are in the same domain as it, so that it
doesn't wait for OVS devices not in its domain during startup.

Change-Id: I542da075c65b54a866ac1f400e4e71a7f2164709
2015-11-21 01:32:01 +00:00
andrea
eb70a94b55 [ONOS-3253/3144] Insert support for Netconf device configuration, set and get controllers commands
Change-Id: I99188aa18207b9d0b0d935b9f9e61e547f4ddab1
2015-11-20 00:03:05 +00:00
Ayaka Koshibe
143b1c7b0e in opticalUtils.py:
General logic fixes for emulating multi-domain networks

Change-Id: I58e487e0b663a6b64e99d93d6fa5cea6afe86aac
2015-11-19 22:36:05 +00:00
Thomas Vachuska
4b146a79ce Fixing onos-check-apps to work with app dependencies; short-term fix.
Change-Id: Ib9569f25d23168b6d2f7beb80a4c3995a685c808
2015-11-18 20:05:38 +00:00
Thomas Vachuska
eef928fa16 Creating Simon's cell.
Change-Id: Id94c1065ac833cf05142a6adab10559b7fc03ee1
2015-11-17 17:57:11 +00:00
Thomas Vachuska
1627dc8ed6 ONOS-3356 Fixed NPE when processing configuration of a non-existent device.
Change-Id: I00369a67c406634b2ee7d379cad6e0fc41842388
2015-11-13 21:38:43 +00:00
Aaron Kruglikov
7b3d826cb0 Adding local cell definition.
Change-Id: I5a99a6b60e90fe6e2f451a30e862616cc8ffa7d6
2015-11-12 18:25:13 +00:00
Ray Milkey
5033599fe9 Allow device A or device C to be the root of the cluster
Change-Id: Ia0795485d1f4903135858e2b264bb6e99f12a5fb
2015-11-09 17:49:14 +00:00
Thomas Vachuska
54316c2b07 Fixed STC logic when skipping steps and groups of steps. Doh!
Change-Id: I6a1f690133bc0a5d1efbdf1333fe80a983e7dda8
2015-11-04 22:27:20 +00:00
Thomas Vachuska
7c5b6530b7 Adding ability to dump logs for failed steps.
Change-Id: Ib3cb6552018d45c0bb4066e15a6e9bc8f69e97e0
2015-11-02 15:50:14 -08:00
Brian O'Connor
c5876fdf53 Updating onos-secure-ssh to exit if known_hosts cannot be updated
Change-Id: I37865ca37db21ce6fe064676dc6f1bd94abe2044
2015-11-02 15:45:19 +00:00
Ayaka Koshibe
144bab0c35 opticalUtils advertises correct port types
This should proactively prevent linc-OE from misbehaving if support for changing
port type through the network config system is added.

Change-Id: I80667f0292922eca37a51f3e461b6745ecbf9d46
2015-10-30 05:58:44 +00:00
andrea
669ada41fd Stc scenario for testing distributed primitives and onos-execute-expect command
Change-Id: Iac949099bf072b71aedd85dbc2ee8cf613b01807
2015-10-26 20:29:49 +00:00
Madan Jampani
ec1df02f3e In preparation for dynamic clustering support:
- Added Cluster metadata service and metadata store interfaces
- Added a static cluster metadata store implementation that is backed by a local file.
- Consolidated the existing cluster.json and tablets.json metadata files into a single cluster.json file that has all the cluster related metadata.
- Removed dependency on ONOS_NIC env variable.

Change-Id: Ia0a8bb69740caecdcdde71a9408be37c56ae2504
2015-10-23 17:51:08 +00:00
Thomas Vachuska
4be3054046 Adding sequential construct to STC to serially chain sequences based on env properties.
Change-Id: I1df66d2a704309f5450eeca08a6e9b89c02e8346
2015-10-21 19:11:46 -07:00
Charles Chan
2497dbeec9 Override remote public key with local one
A problem is observed when running stc with same local and remote username.
The public key of local user is overridden by the key of remote user.
As a result, stc cannot login to the remote host.

For now, we let the public key of local user overrides the key of remote user.
But eventually we need a better solution for username collision.

Change-Id: I750fd129a2dcd4920683599b6c562d3beb84e95d
2015-10-15 00:23:12 +00:00
Charles Chan
c785d97dd2 Read ssh username from $ONOS_USER
Change-Id: I6e0ad8fb83d18eb25f1386f02258dc055920724b
2015-10-15 00:22:53 +00:00
Thomas Vachuska
40e63e66f1 Fixed an issue where consistent map exception in distributed packet store would prevent apps/components from properly starting.
Fixed the fast and net-pingall.xml scenarios.

Change-Id: Ie5712c5c134bb81181dd2bdb307da5ec13851d45
2015-10-13 16:16:20 -07:00
Thomas Vachuska
e5ab5f747f ONOS-3142 Added a fast variant of smoke test.
Change-Id: Ie841aa5bfec52ab0e100d41c7e635520186a9a04
2015-10-13 19:04:28 +00:00
andrea
ed976a405f Inserted set and get controllers methods in ovsdb controller config
Change-Id: I791ff2ae159d0ac50beff22abda2b187913428f6
2015-10-09 02:07:00 +00:00
Thomas Vachuska
46a4fe2ef3 Fixing onos-uninstall to be idempotent.
Fixing toms & andrea cells to by default use secure CLI access.

Change-Id: Icf951de4cad396fa3925b397270aedfb320b8855
2015-09-30 00:29:43 +00:00
Thomas Vachuska
ce035f37d7 Adding a new cell.
Change-Id: Ibd0fc03365c7d535dbb8e161759990db41e160b6
2015-09-29 23:22:21 +00:00
Thomas Vachuska
7667975e95 Adding ability to test all UI archetypes.
Change-Id: I3096c51acb59c64388d48dce6e14d2284c7af23f
2015-09-29 13:14:53 -07:00
Thomas Vachuska
87e50d976e Fixed garbled archetypes.xml scenario.
Change-Id: Id2b128a0c51ca0ce50428a8164f7996d7df8dd48
2015-09-28 13:33:07 -07:00
Thomas Vachuska
2b0fc4674a Modifying uitab archetype to allow it to co-exist/overlay the ui archetype.
Change-Id: I5fd8408aaaf461e29e757389d4acbd94647cd1c5
2015-09-28 12:04:06 -07:00
Thomas Vachuska
d5bfcba5c2 chmod +x on scripts which accidentally lost the execute bit
Change-Id: I94645de12d5e47447ce03cbecb97355817d751bf
2015-09-25 09:10:08 -07:00
Ayaka Koshibe
f17f34a1d2 onos-* script help functions, plus:
o support onos-watch on OS X by emulating 'watch'.

Change-Id: I072f347b21b038168e08405bd228434bcc421aeb
2015-09-24 19:34:20 -07:00
Thomas Vachuska
ea2d9fd4ed ONOS-2854 Fixed a few bugs and made tiny improvements to shell scripts.
Change-Id: I624dc05300944dbc8b1f408bf725c49ff96f68c2
2015-09-23 20:14:36 +00:00
Charles Chan
45624b8ce5 [Emu] Changes default OpenFlow port to 6653.
Change-Id: Ib1cf28579e42d5dc136d0b81eec1d317e372aac8
2015-09-22 14:50:27 -07:00
Ayaka Koshibe
bad156d19f onos-* scripts
o usage functions as precursor to more documentable scripts
o `onos-start-network` takes mininet script as parameter
o alias `tail -r` to `tac` for OS X

Change-Id: I88e0fd16ca4b406f4250be88b275eda4d720b5d5
2015-09-22 00:42:43 +00:00
Ayaka Koshibe
d88b81d300 opticalUtils.py modifications
o Topology.json matches what the network configuration system expects. New method
for converting opticalJSON added to add layer of indirection to (hopefully) make
changes easier in the future if syntax changes for any files.

o onos-topo-cfg takes a third argument for REST uri path. This is for backwards
compatibility, and can hopefully be removed when everything is ported away from
using the ConfigProvider.

Change-Id: I56a117f33194dd420ea4970cd612c980b5c020b9
2015-09-22 00:41:38 +00:00
Ray Milkey
6e968e1d77 STC changes to make smoke test more reliable
Change-Id: I8ecf2581b12e618bf3fe41baedf5c5decdd77221
2015-09-21 10:46:07 -07:00
Brian O'Connor
f967ad61dc Starting snapshot 1.4.0-SNAPSHOT
Change-Id: I6b64a70eb8c416b58689afd2af7d726153176f6b
2015-09-18 15:19:54 -07:00
Brian O'Connor
c045c4acd7 Updating onos-uninstall
- Wait for the onos process to die
- Remove /etc/init/onos.conf

Change-Id: I7e81adc6f94eca638fd46c0d503cfc1e843b4c0b
2015-09-18 14:54:42 -07:00
Brian O'Connor
3683f4dc1a Improvements to stc command
Add color for interactive sessions if stcColor is not set.
export ONOS_USE_SSH=true for stc tests and then reset it original value

Change-Id: I90d8c95efa91fbdeb97c3f33d601fef4d4bcb0f2
2015-09-18 14:54:42 -07:00
Ray Milkey
e0827773da Add tests of topology APIs to STC smoke test.
Change-Id: Ie993df1c8a4150a1b4467cc3cffe54eec6f64d43
2015-09-17 16:31:57 +00:00
Ray Milkey
5baa3da0dd Fixes to make STC runs more reliable
- make sure that ONOS_USE_SSH is set in the environment
- only wipe out data once mininet finishes shutting down

Change-Id: I6dfcd2c839cc00a975583cb93f16775d5fcadf94
2015-09-17 16:24:12 +00:00
Brian O'Connor
0eed29e0b5 ONOS-2894 Renaming tools/package/debian to tools/package/init
Change-Id: I66748d3033f4adb6d1052772776b6b3e5814bf91
(cherry picked from commit 27dbb18d2ddbfa8c3bfcff45ca3a8abadecd2dd1)
2015-09-17 00:53:04 +00:00
Ayaka Koshibe
b0d7058766 REST authentication in opticalUtil
Environment variables are checked before falling back on and exporting
tentatively chosen defaults.

Change-Id: If378127a2cc757b55024aeb89cb1964f8641d5a6
2015-09-15 17:19:57 +00:00
Brian O'Connor
bf44531a79 Updating example dhcp.json for new config
Change-Id: Ib40eade51a3fd1c5ffd5ab43bbcf4ee3d0c53605
2015-09-15 06:23:29 +00:00
Brian O'Connor
75e15a8115 Adding office DHCP config
Change-Id: I91fd00eab5153ab4a53856dff7b58846feab1b4d
2015-09-11 18:13:38 -07:00
Brian O'Connor
b3a3b52f46 Rolling back to snapshot 1.3.0-SNAPSHOT
Change-Id: I5394f02bc4cc4614427e5e535889e883944734fd
2015-09-10 17:26:49 -07:00
Brian O'Connor
cbc5878c31 Tagging 1.3.0-rc2
Change-Id: Id062ea54a0f03c26eb763e03cc347dbfe63cd03f
2015-09-10 17:08:00 -07:00
Thomas Vachuska
e4ebac9cfa ONOS-2846, ONOS-2812 Refactored link discovery pruning to be centralized rather than being with each link discovery helper.
This will make it behave properly in a distributed context.

Change-Id: I9b9788336468c41d1cf506e388306ad9136d5853
2015-09-10 20:13:19 +00:00
Thomas Vachuska
871262fab4 Added a new topology and a tool to set controllers on all OVS bridges remotely.
Change-Id: I875fbc8bec844ac30d1d8bccff0db45ad7c4ac71
2015-09-09 17:14:01 -07:00
Ray Milkey
43ee97f020 STC scenario for creating flows directly via the REST API
Change-Id: I1c007a860f79f9bacdb0b893a480d2f4dc050c65
2015-09-08 16:43:42 +00:00
Brian O'Connor
726dc5baab Adding set -e to onos-archetypes-test
Change-Id: Ibb7a1c3d02ae0f76e71ada46a766e77d15cb286f
2015-09-05 00:13:07 -07:00
Brian O'Connor
e8bcb70258 Changing version to back to snapshot 1.3.0-SNAPSHOT
Change-Id: I05bc4669bf3ad2a149cee5d303da42bf8ffd14e8
2015-09-04 23:57:08 -07:00