793 Commits

Author SHA1 Message Date
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
Brian O'Connor
004345f6c8 Tagging 1.3.0-rc1
Change-Id: I640fc75397b90532e8a71f9413b6822f80b3e775
2015-09-04 23:47:08 -07:00
Ayaka Koshibe
c9eed38906 opticalUtil:
Authenticate against REST API. Caveat: assume sane default user/pw.

Change-Id: Id4197ce648dbc8de9b56f180beefcbf9b7d6c529
2015-09-04 01:17:00 +00:00
Brian O'Connor
2f0817ced8 Adding missing switch and host to attmplsfast.py
Change-Id: I1660d4ee9c5b9712d8d21e7a829a7afd3505396d
2015-09-04 01:04:47 +00:00
Ray Milkey
2495b98ba9 Make REST test run on multi node cell
Change-Id: Iea40da50c58fd0236b76ccd1c838344d64ac0131
2015-09-04 01:04:13 +00:00
Thomas Vachuska
4ccc7d3ee4 Reorganizing the stc specific tools.
Change-Id: I5c2b84cc1125935d385a462c7ba727c1996c0245
2015-09-03 13:39:40 -07:00
Ray Milkey
4ff514ce6d STC scenario for testing network related REST APIs
Tests creating, fetching, and removing Intents via REST API
Tests fetching flows via REST API
Tests fetching links via REST API
Tests fetching hosts via REST API

Change-Id: Ib6aa5138e544d869ba46183ba21591c8a73ba367
2015-09-03 19:02:32 +00:00
Jonathan Hart
1a4d3596f0 Change onos-wait-for-start and onos-service to allow addressing nodes by integer
(e.g. you can use 1 instead of $OC1)

Change-Id: I2bbf18c55da713bf0947d3597710d59ed6f41dc1
2015-08-31 10:59:16 +02:00
Thomas Vachuska
1c15287d06 Added check for cyclic dependencies.
Changes intent test scenarios to use the key and added dependencies to make them more robust; h2h still fails intermittently due to a bug.

Increased parallelism of the smoke test scenario.

Change-Id: Ib7fed38d17d1b25c5dd854ef1cd4dc777002c5fc
2015-08-26 19:37:10 -07:00
Ray Milkey
bba7138d73 Make STC intent operations use intent IDs
Change-Id: Ib2eb4e66bd0243b2263c737fb074dbf3c34aa7fe
2015-08-26 20:58:42 +00:00
Ray Milkey
b2765cc0a9 Improve debugability by capturing intents command output
Change-Id: I5c7b39b101e709bb4ef57159cd31b6caeaa26fcd
2015-08-26 20:54:31 +00:00
Thomas Vachuska
1b403a58d9 Fixing a few STC glitches.
Change-Id: I38c0a81911e392be0d6e1d392511456b57acf16c
2015-08-26 18:38:01 +00:00
Thomas Vachuska
b51b8bca62 Added ability for commands to post properties to be used as params of other commands.
Starting to add monitor GUI.

Change-Id: I9fcf1568d0de27dfd1c19e875f8646fd731a1dfa
2015-08-25 22:27:49 +00:00
Ray Milkey
c698773308 Add point to point intent test scenario
Change-Id: Ie1756bc48445252c3f3e66bcb0225461a17144d9
2015-08-25 21:35:07 +00:00
Ray Milkey
c3456637c8 Add some interlocks to intents test
Change-Id: I1d4b7509b2e038a1d2d123dfb9324234abcfd916
2015-08-24 17:18:14 -07:00
Thomas Vachuska
f3c03500b4 Adding an example L2 flow JSON for REST API.
Change-Id: Ief9e3f7f9fe6b809bfe14c6d223c63acd8476039
2015-08-25 00:04:02 +00:00
Thomas Vachuska
af0ee53cfa Added redirect for the /onos/v1/docs Swagger UI URL. Added onos-rsdocs tool to launch REST API docs UI from shell.
Change-Id: Ifb839e0205e5b176ebc7bb48644925eaa3675fd9
2015-08-19 14:17:36 -07:00
alshabib
7bb050183d Initial implementation of Meter Service (needs testing)
Change-Id: Ie07bd3e2bd7c67a6499c965d8926eb361ad16462

store impl started

Change-Id: Ib8b474f40dcecff335a421c12ad149fe9830c427

full implementation

Change-Id: Ie59fd61d02972bd04d887bdcca9745793b880681
2015-08-18 10:24:21 -07:00
Thomas Vachuska
3c831fa970 Fixing a few tools to work with the new REST security stuff.
Change-Id: I1fcff24bf57e3198c16df5a6e42d721a004e9097
2015-08-17 18:57:03 -07:00
Thomas Vachuska
eff0e4ed95 Adding GUI login/logout capability using form-based login.
Adding REST API login capability using basic authentication.

HTTP to HTTPS redirect is suppressed for now.

Change-Id: I1a98bdc5576c515e1aa5a1b8d66402af0c0bf8c8
2015-08-18 01:01:05 +00:00
Thomas Vachuska
e827c0ed9b FIxing a few glitches in STC and scenarios.
Change-Id: I55379c53392ad94e5c5d41b6ceb77d2382fa0d29
2015-08-05 00:22:55 +00:00
Thomas Vachuska
409b9cbf72 Increasing tolerance for evicting latent listeners.
Change-Id: I3ab62084479185160ef7cc8ba5035a34cb96ad15
2015-08-03 16:37:44 +00:00
Brian O'Connor
75dc88902c Adding fractal mininet topo and domain config json
Change-Id: I26bb6f2351e11d28a4cbfb141e98958be1d4c90b
2015-07-30 19:08:40 -07:00
Thomas Vachuska
969d6bc9ff Improving scenarios and shell tools.
Change-Id: Ia4b189bd255e1074da54c84f528d3b9b014618b9
2015-07-29 11:56:57 -07:00
Sahil Lele
3a0cdd57e7 Devices,hosts, and links can be blocked and kicked off with the network configuration api
Change-Id: I68d427f4886a7b63475df8d35383e2e347946946
2015-07-29 01:00:13 +00:00
Thomas Vachuska
4b84baff75 Fixed a few onos-check-* tools.
Change-Id: I2bda9677aec461c091c6e24c5ba0fd6f6dacfff9
2015-07-27 10:49:06 -07:00
Thomas Vachuska
eb13564914 Adding check for pending flows to net-setup scenario.
Change-Id: Ib01ff566cd45dc7ba211c479d05a63c9444864bb
2015-07-24 00:36:06 +00:00
Nikhil Cheerla
f9391e1dc9 Minor opticalUtils.py patch
Change-Id: I03e1daf02da024c9a27baf3e1de719f36868e6f9
2015-07-22 02:19:52 +00:00
Thomas Vachuska
a02fc8172e Fixing & enhancing STC test scenarios.
Change-Id: Ieff7ce5350a69d8ebb215a2344c67e41479cf371
2015-07-21 18:37:58 -07:00
Thomas Vachuska
8d03367801 Fixing log messages
Fixing onos-config glitch

Change-Id: I15a1d7bc0a4fc50773f041328958bf02e8e4cb0f
2015-07-21 16:15:04 -07:00
Jonathan Hart
d0a97bc818 Change onos-uninstall to use 'stop' rather than 'service'.
All other commands currently use 'start/stop/status'.

ONOS-2417.

Ported from onos-1.2 branch.

Change-Id: I902da5b207ec3ca5809d6ae377d8b09ae1f6eeab
(cherry picked from commit 8d6b1ca87d33ea605296b4e8fd9ad91c6dcdf639)
2015-07-21 18:30:33 +00:00