1047 Commits

Author SHA1 Message Date
Ray Milkey
a481a11665 Remove flow objectives after test completes
Change-Id: I62ec858803b7767d98ac24e3693834aa13c6ee06
2016-07-12 00:43:05 +00:00
Hyunsun Moon
b974fcacf0 Refactored OpenstackSwitching app
[DONE]
- Restructured to activate or deactivate switching and routing app separately
- Fixed to add or remove host when port is detected or vanished
- Use openstack node service to get integration bridges and data IP

[TODO]
- Remove use of OpenstackPortInfo
- Support installing flow rules for exising VMs
- Call security group update method when port update triggered from OpenStack

Change-Id: Ic0b2ac3f7ab07f0e20c97c6edfdd1928b9767baf
2016-07-12 00:06:20 +00:00
Ray Milkey
955c4b8256 Refactor activate/deactivate of forwarding app
Change-Id: Iae71b3334fba08dceac7adb47a457ae0af0dcabc
2016-07-11 23:23:15 +00:00
Yuta HIGUCHI
b4bf7c8965 Emit warning when buck artifact is the latest
Change-Id: If01b47f2aaebf5cf2cf3977ad05e1453c4a2ef57
2016-07-11 12:49:58 +00:00
Hyunsun Moon
1424ac93ef Added scalable gateway app to BUCK app list
And fixed maven artifact ID to follow the convention

Change-Id: I700c93516d4c79a3b5b93e99138a593a569e52a1
2016-07-11 12:45:33 +00:00
Hyunsun Moon
df6372b604 Chagned drivers/ovsdb app name to avoid conflict with providers/ovsdb
And added drivers/ovsdb to application list

Change-Id: I073d73823d045b003cc79bbc41b6c67272bb5f19
2016-07-08 17:38:36 +00:00
Ray Milkey
3880928b6f STC stacktrace fixes
- Shut down openflow meta app before driver test,
  was causing port collision issues with openflow server

- Fixed NPE in Network config store

- reordered tests to insure proper sequencing

Change-Id: Ib39330153f543ee960b8631a0dc9246ee4251851
2016-07-08 10:04:45 -07:00
Phil Huang
5c7279e041 Adding init-functions file for enviroment of LSB-compliant init scripts
In Ubuntu 14.04 and 16.04, the file of init-functions is placed in /lib/lsb/.

Change-Id: I101ee08a7b7795c41d9ec3eb8833bee0e2f38e1c
2016-07-07 17:39:20 +00:00
Carmelo Cascone
12e4d8d425 Modified BMv2 demo scripts to work with onos.py
Change-Id: Ie6ff318f9aae2cbbeb288ba894e99a57d4d308db
2016-07-07 17:38:13 +00:00
Thomas Vachuska
20bbf78f3a Adding check for failures at the end of the net-smoke.xml scenario.
Change-Id: Ib06c04944211e44143e883f09118a0bcec0527be
2016-07-06 11:42:27 -07:00
Thomas Vachuska
32faf2bb6d Adding more patience to onos-check-summary and changing sequencing of smoke.xml scenario.
Change-Id: I1db9084524daa8c5494d0066be30d801e78d0fc3
2016-07-06 10:30:40 -07:00
Ray Milkey
a0f983b5b8 STC scenario for testing posting and removal of configs
Change-Id: I5395d6b42a52ba29063eb9ee139dcfb659247614
2016-07-05 22:32:45 +00:00
Ray Milkey
97dfd1ec9f STC scenario for testing meta app behavior
Change-Id: I1b047624dd96383baee8f93e9f94052a4c5ff10a
2016-07-05 09:13:48 -07:00
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
Jonathan Hart
0403df5a40 Add DHCP relay app to buck package
Change-Id: I82eb8a6dfce92410dc45a8cac34d133c3df07897
2016-07-01 18:10:06 +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
Bob Lantz
a2ccaa5672 unpackONOS: check for failure when extracting tar archive
Change-Id: Iad44ac863449afdbf21d8766479af569f9ba9b6e
2016-06-30 20:58:13 +00:00
Bob Lantz
930138e306 Enable global port forwarding in root namespace
This should fix the problem seen in VirtualBox where you
may have some random interface which is host-only which needs
to have port forwarding set up on it.

Change-Id: Iacdbb129d52529783bdab1c3d768131f6eaf0364
2016-06-30 01:16:53 +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
Bob Lantz
55562ea677 Unpack/install all nodes before startup
Madan suggested that this might help vs. the pipelined
startup we were doing before, so let's try it.

We will unpack/install all nodes before we start up,
so that we can start the whole cluster at about the same
instant.

Note that this is probably closer to what we'd see in hardware.

The disadvantage is that we don't get a "clean" environment
with each invocation of start().

Change-Id: I0a45984f50e1ef25a7d8a836e46978fdbdff0bd0
2016-06-17 18:21:08 -07:00
Bob Lantz
c3de5152b3 Correctly print message if arping isn't installed
Change-Id: Ia8e6a305bebb51556974b72c83d86b472b6918e5
2016-06-17 17:14:46 -07:00
Bob Lantz
92d8e0510f Use ip route to determine default intf for port forwarding
We were using eth0 by default before, but this doesn't work if
your default interface isn't eth0.

Fixes port forwarding on Ubuntu 16.04.

Change-Id: I55baed7fd8952a9f6cab364e20e31a0632ddda6d
2016-06-17 23:34:51 +00:00
Bob Lantz
9ba19dce8f Use netstat for waitListening; client -h h1 "apps -a"
And fix do_log()

Change-Id: I04402fda9c409fa4cb41ae20cf1c551369b7669d
2016-06-17 14:13:44 -07:00
Thomas Vachuska
3bdad41c77 Fixing onos-change-version to reflect separation of stc and jdvue modules.
Change-Id: I0959d5d4658f067caceb037b6a2d426872faad38
2016-06-16 13:56:05 -07:00
Boyuan Yan
510425fa06 [ONOS-3686] Add a script named onos-blackduck-zip in tools/build/
Change-Id: I578afc6d903cadc5e6b3f392496d4d572c6bc849
2016-06-16 17:18:39 +00:00
Thomas Vachuska
c35621013e Dropping jdvue from the main repo as it has been moved to its own.
Change-Id: I82bbbc213c875a9dba4e5b4c4edaafdd04cb77ea
2016-06-16 10:29:18 +00:00
Brian O'Connor
3c2476924b Fixing onos-run-karaf to not use for IP
Change-Id: Ic11f62b24783e6dd88ba3e42a98af4e25626b382
2016-06-15 13:26:54 -07:00
Charles Chan
c1383f02b9 Update sample config for cross-connect
Change-Id: Iee4becd8d622a948701e609a4e28485c63372005
2016-06-15 18:33:39 +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
Madan Jampani
590160aa0f Ensure cluster metadata is setup as part of onos-run-karaf
Change-Id: I88e61459cec6af8a2762a439ece6fc4d33d87ee4
2016-06-15 05:37:13 +00:00
Thomas Vachuska
dcdf24dada Fixing onos-run-karaf for buck run onos usage.
Change-Id: I7b9f75570b38831481d95e26d5719fde2e35f1f2
2016-06-15 02:22:57 +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
c96e25824a add arp cmd; always return lists from checkLog
The arp CLI command sends gratuitous ARPs from all hosts - this
makes it easier for ONOS to discover hosts.

Previously checkLog returned None, None if the log file didn't
exist; now we return an empty list, to avoid breaking when we
take the len() of errors or warnings (which was happening before)
and to avoid having to check for None, None, which didn't seem to
add a lot of value to justify its complexity.

Change-Id: I84847fcf70525c82ac037d8a84cf40d21ab2a106
2016-06-13 21:40:25 -07:00
Bob Lantz
6438242617 Add status/error checks during ONOS startup
We check for:
- process exits
- log ERRORs
- log WARNings
- low memory

Also added a "status" CLI command to check for exits
and errors.

Change-Id: I6e65fe49619e338f1827fc616ca52a82de7ba470
2016-06-13 22:43:32 +00:00
Jon Hall
ee85e2f832 Update ONOS_INSTANCES when updating OCI
Change-Id: I416901175ba8662a07afe58ff2eb835cd51be242
2016-06-07 17:48:46 +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
alshabib
20a070bed7 allow applications to be installed by URL from REST API
Change-Id: I6c28d91e1bbc6e77eefba00b8f106fe22edc475b
2016-06-07 08:44:59 +00:00
Thomas Vachuska
283a78566e Fixing archetypes scenario.
Change-Id: Id3af37f1a7cd7880e5eeffb09b2af5c0925f13ef
2016-06-06 11:34:26 -07:00
Bob Lantz
569bbec710 Unset empty vars; pass IPs to onos-gen-partitions
We really don't need the OCx variables, but for now at
least we are unsetting the ones that are incorrect and
calling onos-gen-partitions with the explicit IP
addresses.

Change-Id: I8bd3d69bee4857e00070288b586255455c9c8adf
2016-06-06 15:28:12 +00: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