615 Commits

Author SHA1 Message Date
Andrea Campanella
e22731b6ef [ONOS-3394] Remove network configuration model from SwaggerUi and line stripping for better swagger.json formatting.
Change-Id: I0200407b829baff84a921fa6027a3ebb4c873dfc
2015-12-02 19:43:58 +00:00
Thomas Vachuska
9507d2ab8b Adding a new convenience alias and fixing auto-complete for onos-create-app.
Change-Id: Iad76a2293b5b87176033184d23634d83f21370eb
2015-12-01 20:45:57 -08:00
HIGUCHI Yuta
8bb21c3fce Update checkstyle version.
- Removing explicitly specifying checkstyle version.
   Checkstyle bundled with the maven plugin now supports Java 8.
   Also version previously specified could not parse "Hash<T>::new"
- RedundantThrows was removed from recent checkstyle:
   See: https://github.com/checkstyle/checkstyle/issues/473

Change-Id: Ic6301b1900edd9e1ad704e206185c2677814fcd7
2015-12-02 01:45:22 +00:00
andrea
d35f89c1aa [ONOS-3405] Change EthType Json encoding to Hex and extend decoding with Hex support alongside int
Change-Id: I629f52016256d6c5cc258ab9e1c5a7b916991d5b
2015-11-30 19:07:33 +00:00
HIGUCHI Yuta
d9fe3a3f87 ONOS-3461 Disable LinkDiscovery on specific device/port.
- Configuration moved from "apps" -> "devices", "ports"
  in network configuration tree

Change-Id: I030bab489939ce5326a6ebea14f246726ca024f0
2015-11-25 23:13:38 +00:00
Thomas Vachuska
016bef721f Fixing features.xml so that they don't self-reference.
Change-Id: I1f4b8bc956f24d422af06e02330f5de8bb4873c2
2015-11-25 00:57:59 +00:00
Naoki Shiota
399a0b3683 [ONOS-3205] Migrate LLDP Link Discovery configuration to Network Configuration System
- deviceIds under suppression will be moved out to different location. (See ONOS-3461)

Change-Id: I6ebe0ce7f5f2d26e7ee7175974e19305f7c17fad
2015-11-25 00:22:18 +00:00
Thomas Vachuska
b56b91739a ONOS-3453 Fixed an issue with a race condition in loading/installing apps from disk in multi-cluster environments.
Fixed onos-gen-partitions.

Change-Id: Iadbb86119477b52d29a80515fc42e3d90012a216
2015-11-25 00:21:19 +00:00
andrea
863201a126 [ONOS-3406] change consumes type in SwaggerUI for REST post method to octet_stream
Change-Id: I1c4917eb743c1d5dfe8e276074f0c8f484c75ed2
2015-11-24 21:33:52 +00:00
Aaron Kruglikov
eb0ae4e802 Adding fingerprints to avoid interference between clusters.
Change-Id: I5e5278916f8b9b900d7d403b6d08f1f66a866fb2
2015-11-24 20:04:09 +00:00
HIGUCHI Yuta
9fe56ce397 Create Downloads directory on demand
Change-Id: I4a2a21a307a76c88d7f6272a192a073600e70562
2015-11-24 19:34:15 +00:00
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
fa776af657 Allowing white spaces in onos.app.requires property.
Change-Id: I1350f3239f0593d1188dda3580456c1f2a95cd33
2015-11-18 00:57:10 -08:00
andrea
faa2c4ba46 [ONOS-2706] Insert Support for REST API model schema in Swagger UI
Change-Id: Iad158d90f203101fd23328f30f2507b7677a1997
2015-11-18 03:07:57 +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
Thomas Vachuska
761f0040f3 ONOS-1684 Added support for app dependencies.
Change-Id: Iae318c24c3c9bd43d84318c79ac420fc85d5d599
2015-11-12 21:37:58 +00:00
Aaron Kruglikov
7b3d826cb0 Adding local cell definition.
Change-Id: I5a99a6b60e90fe6e2f451a30e862616cc8ffa7d6
2015-11-12 18:25:13 +00:00
Luca Prete
73da27fc50 ONOS-3341 Remove ll alias since it conflicts with the ubuntu ll command.
Change-Id: I0d0db23bab2da31b4d63672955a428090d4dd47f
2015-11-10 22:42:52 +00:00
HIGUCHI Yuta
6fbf0d3b00 Pass given parameters when executing mvn
Change-Id: I7ad76546c0073c9afad18ff4df12418cb7eff9a5
2015-11-10 21:38:33 +00:00
Jonathan Hart
317f476dfd Enforce stricter naming conventions for package names
Change-Id: I84a73a3a997ed25059fc3319db9f013db6e94a4c
2015-11-10 00:14:59 +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
Ray Milkey
ccda0b5dc7 Enable checkstyle rule to enforce package-info.java files
Change-Id: If837601380e4950b46ad1332bd3c20ef59cc216e
2015-10-30 17:21:08 -07: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
Charles Chan
2a204bd9b2 Exclude vtn/sfcmgr from obs
Gerrit 5860 does not completely solve the problem.
Maven will still try to compile the folder without POM file and fail.

Change-Id: Id2a7e8a33f931e0b67882250f052968d734118c9
2015-10-29 18:26:07 +00:00
Charles Chan
2ff12e291f Skip the directory if it does not have a POM file
Change-Id: I78e2315b834b5719b6968a5667e6c865b8bfb75a
2015-10-29 01:13:26 +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
Simon Hunt
de99e0b339 GUI Topo -- Badges - Enhanced uitopo archetype to also use badges.
Change-Id: I80cd4783a4154a2ccce6054175022b97ef7bc6c1
2015-10-26 16:30:02 +00:00
Madan Jampani
596f266186 Fix onos-setup-karaf to work with new cluster metadata format
Change-Id: Ibdaad750931f0b33b84064bd3a0d52aa19a0b1a2
2015-10-23 21:42:22 +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
9ec239e2e8 Minor fix for config file sample
related to CORD-200, CORD-209
- fix typo in network-cfg.json
- remove segmentrouting_dell.conf since we don't need this anymore
  with the new Network Configuration Subsystem

Change-Id: I5dcb2e2e0e6b89c4770df2485a8d27fbcc05cf67
2015-10-20 16:46:59 +00:00
Thomas Vachuska
1e60f97ae5 Adding skeletal structure for netconf libraries.
Change-Id: I1e0590d4d60ed83e123fb2da455ffde3fd7d495a
2015-10-19 09:59:49 -07:00
Thomas Vachuska
e175323ce7 Fixed a bad merge in UI archetype.
Change-Id: Ifca70a076d7c16336ba692073ec08477300292bd
2015-10-15 18:31:53 -07:00
Thomas Vachuska
330aef1c23 Fixed profile to work with new prerequisites.xml
Change-Id: I3578237480330a12e50d3375cfd0157cdb150628
2015-10-15 19:00:59 +00:00
Simon Hunt
40098075d2 Minor renaming of identities in topo overlay archetype.
Change-Id: If502618f0ca55d2124f6735e5d1f0adad1372b5a
2015-10-15 17:40:29 +00: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
Charles Chan
4636be0a07 [CORD-200] Improves Segment Routing using Network Configuration Subsystem
The missing part of gerrit #5533

Change-Id: I0830aa80f9be0e9933a99e0c12518aef67008a53
2015-10-09 02:04:46 +00:00