744 Commits

Author SHA1 Message Date
Thomas Vachuska
9700ee6a68 Bumping onos-build-conf to v1.3-SNAPSHOT and onos-maven-plugin to v1.9-SNAPSHOT
Change-Id: I4cc35d3ef0e423b03e492ea784890273123736f1
2016-03-01 20:00:49 -08:00
Thomas Vachuska
09fb21e7e5 Bumping onos-build-conf to v1.2 and onos-maven-plugin to v1.8
Change-Id: Iff7535521cd5df6904dce62adbb6feea9730c328
2016-03-01 19:57:39 -08:00
Brian O'Connor
c04e876216 Updating onos-upload-docs to bump version in index.html
Change-Id: I0d5595a7e02ea8e05dcd7b31de8428f7fe84691f
2016-03-01 19:18:53 -08:00
Brian O'Connor
c5996b2dd5 Sourcing envDefaults in onos-prepare-release
Change-Id: I43479a35ff5fa5a57647355b13989ac5c733d5f5
2016-03-01 18:55:05 -08:00
Simon Hunt
f5d433a54e Simon-UK cell
Change-Id: I0f8da9b5d6ad17c48a72b8d257602890aff49c92
2016-03-02 02:34:13 +00:00
Brian O'Connor
d730b220d9 Updating scripts for release
Change-Id: I5c3cfb60d10de03e3f60643bb6d655869ccc8562
2016-03-02 02:34:00 +00:00
Brian O'Connor
3fad9bcfb0 Adding onos-edit-config script
Change-Id: I8c02cc7f98c592bb5ce4d9597eb3aac1757c666b
2016-03-01 17:40:42 -08:00
Thomas Vachuska
9ee4979cfc Enhancing ONOS mininet topology approach to remove boilerplate and simplify testing and demos.
Change-Id: Id8ab2bfa74254560714f4c27a9342693d1dc9788
2016-03-02 00:52:11 +00:00
Thomas Vachuska
bef0750890 Adding a clarifying comment to onos-secure-ssh runtime script.
Change-Id: I6e954f25087a623d87252a35651068c03ebedcfb
2016-03-01 22:24:49 +00:00
Thomas Vachuska
cb44e031c6 Adding net-prerequisites.xml scenario - included in fast & smoke scenarios.
Adding net-setup.xml dependency on arping (sudo apt-get install iputils-arping)

Change-Id: I3276247dc8ae2a2c4ed47801385eb8e50be8f244
2016-03-01 22:11:13 +00:00
Jonathan Hart
1c401ee6b8 Fix issue with debug option not being picked up by init.d script
Change-Id: I47499ae253484d34d677c339b34fec6e53addcbe
2016-03-01 20:03:48 +00:00
Simon Hunt
cf7e3b5459 GUI -- UK TOPO -- clean up order of links added
- add alias.

Change-Id: Ic9902054505fdacff727b3d73a77bb628ca1a49e

GUI topo - added alias for uk geo information.

Change-Id: Ic32a74c086fe6c789c18b3e8e22cb87e0a30b783
2016-03-01 01:22:36 -08:00
Simon Hunt
5c3c091c9f GUI -- added topo script and configuration for projection onto UK map.
Change-Id: Id87991aca319f6c2bf5bd2c9f0735592ad4c4b1f
2016-02-29 23:21:55 -08:00
Bob Lantz
3ec585d7dd Clarify config parameters/environment variables
As mentioned in the comments, ideally this script can be used as
the basis for an ONOS service in a variety of environments. Out of
the box it should work on Linux with either init.d or with systemd's
init.d compatibility. It can also be called by an upstart configuration
or a systemd configuration.

In the future we should probably remove start-stop-daemon, since that
seems to be a linux-ism. Then we could use this script on BSD, OS X,
etc..

Change-Id: I9c701c95991448fa7ddf0d84d379a4cac56cfc5f
2016-02-29 18:47:58 +00:00
Bob Lantz
5e4d49d128 Set -u and -e, and respect ONOS_HOME
If errors or undefined variables are introduced into this script,
we should exit with an error. In particular, we should exit with
an error if KARAF_VERSION is not defined rather than failing
semi-silently.

If ONOS_HOME is set, we should respect (and use) its value.

If ONOS_HOME is not set (as it will not be in the init or service
environment), intuit its value based on the path to this script.

Change-Id: I91c733fddcb2241a95466667e4b57ce0f74a8194
2016-02-29 18:15:28 +00:00
Jonathan Hart
f51950db6e Proposal for replacing Upstart with init.d script.
Change-Id: I22ad1faac713bb50f0b7ad3dde132363a6588723
2016-02-26 05:37:13 +00:00
HIGUCHI Yuta
c343f7a940 Stage external apidoc tarball to $ONOS_STAGE_ROOT
Change-Id: I24661c002abd54d85d2bd154f47de13d3821d135
2016-02-26 05:32:58 +00:00
Bob Lantz
02ba2d1e53 Correctly handle case when .tar.gz archive is missing
Previously, it would succeed since the checksum command would
return nothing in standard output.

Change-Id: I1a73d20a0e085107be8362a6226b1a213ecdab78
2016-02-25 03:59:09 -08:00
HIGUCHI Yuta
e7bfaae987 Fixing onos-archetypes-test error
Change-Id: I12877d0012b50392a36e0d819e7b787066503dfc
2016-02-25 23:40:19 +00:00
HIGUCHI Yuta
fdfdb705dd Use ONOS_STAGE_ROOT if defined
Change-Id: I4989e1a8e18c9a1b7172bfa941f53b4b9b76a550
2016-02-25 20:45:11 +00:00
Ray Milkey
627f0e536e Make test a little more resilient in the face of flows being slow to be installed
Change-Id: Ic1a2fda1226e6a6c452bd37e6d010e2066239204
2016-02-24 23:14:44 +00:00
Ray Milkey
48bf76c8a5 STC scenario for creation and testing of flow objectives
Change-Id: I298424d7354cc0cf8c682e904ccb2d55ead8ada0
2016-02-23 15:28:09 -08:00
HIGUCHI Yuta
547c20585e Fail the build if @onos.rsModel specified model json does not exist
- Commenting out DeviceKey related @onos.rsModel issues

Change-Id: Id11730d7cf63aa32038538d9392a980e2f995ab5
2016-02-23 17:48:21 +00:00
Charles Chan
d9681e7d54 Improve SegmentRoutingAppConfig
- Separate host and subnet suppression
- Use port instead of interface to specify which SR should ignore

Change-Id: Ie6491950cddf0860924565f081504b4f4d788179
2016-02-23 03:52:22 +00:00
Thomas Vachuska
4844808991 Introducing concept of a physical or logical region to facilitate
support of geographically distributed cluster and to lay ground
for multiple/filtered topology layouts.

Added implementation of manager and store; unit-tests included.

Change-Id: Ia01673a0b711b8785c0ea68768552c2f61d7ea6d
2016-02-22 11:24:45 -08:00
Ray Milkey
202334780f Increase timeout for check components
Change-Id: I3a60e5dfe1d3fa4c59a2ef2f182eaa995a527ee3
2016-02-19 18:51:24 +00:00
Thomas Vachuska
d2f2dfede1 Increasing tolerance of onos-check-apps.
Change-Id: I5c5c33b7727dff889775535af6bde2e8702b873f
2016-02-18 21:56:25 +00:00
Charles Chan
f2565a9cbc CORD-508 SegmentRouting / vRouter integration
- Added excludePorts config to SegmentRouting
    SR does not push VLAN filtering rule to excluded ports
    SR ignores hosts learned from excluded ports
- Use separate default route config
    Don't need to config 0/0 on the interface anymore

Change-Id: Iea75d60c2d5f5368e79652b1bf192a6ced49030d
2016-02-18 17:32:30 +00:00
Charles Chan
5270ed0088 CORD-512 Support vSG <-> vRouter default route
- Support multiple subnets per port. getIpPort() will only return the first non-/32 and non-/0 subnet
    /32 is used as vSG subnet
    /0 is used as default gateway
- Support multiple L3 unicast group on a single port
    Change the way to generate the group ID and group key
- Special case for 0.0.0.0 host. Push a /0 to IP table instead of /32
- Implement vRouterConfig
    Put VR MAC to TMAC table of all leaves when config added
        When processEthDst see PortNumber.ANY in key, match ETH_DST only
- For OFDPA, wipe existing instruction before sending to controller
    So packet that misses L3 unicast table won't be sent to controller twice
- For SpringOpenTTP, pop VLAN before sending to controller
- Move several constant definitions to SegmentRoutingService
- Add minimum priority for IP rules such that /0 won't collide with zero priority default rules
- Update the config sample
    Use VLAN=-1 for hosts
    Add example for default route

Change-Id: Id751697ce36a7e5c13b3859350ff21b585c38525
2016-02-18 17:30:19 +00:00
Jonathan Hart
c86b00ed80 Add ability to delete config to onos-netcfg.
-v (verbose) flag to print errors.
refer to nodes with numbers rather than having to use $OCX variables

Change-Id: Id57367d91b81d1b64bc098bdb367b86b0dcd3310
2016-02-18 08:44:09 +00:00
Sho SHIMIZU
ef7e290e20 Make use of Optional more idiomatic
Change-Id: I42b3261169e7cb8408f46c5831f72115f77fd779
2016-02-17 00:38:48 +00:00
Jian Li
7343bfa20b [ONOS-3553] Resolve the onos-service not start issue
This commit resolves onos-service not start issue.
If we have onos directory under /opt, no matter the directory
is empty or not, onos-service always tries to use this path.
If onos-service binary located in other path, we need to
reconfigure the ONOS_HOME.

Change-Id: I13f375d75e864240e6d014100fb7b69de7fd4178
2016-02-13 00:39:03 +00:00
Thomas Vachuska
781679382d Marking some old developer tools as deprecated; wil be removed after Falcon release.
Adding a teardown STC scenario.

Change-Id: Ifb0d5ce0546f072f46485266e5247cb49a39db1c
2016-02-12 21:43:31 +00:00
Andrea Campanella
57efbb25e7 Refactoring ID creation for netconf and REST
Change-Id: I4165ad53e19c86d9d9b304d09e24dcfeec2b9ddf
2016-02-12 00:24:43 +00:00
Thomas Vachuska
1e769e7796 Increasing tolerance of onos-check-apps to allow for running on slower cells.
Change-Id: Ib5e61a03e49f9347c9c1fb475c304c13b36e499c
2016-02-11 23:23:38 +00:00
Thomas Vachuska
9c630b211d Adding retry mechanism to onos-check-components
Change-Id: I28ed2a2dba5bca8ad6d85901c29cd081721cdc9f
2016-02-11 01:56:08 +00:00
Aaron Kruglikov
1110b2cee6 Setting up monitoring of cluster communcation service
Change-Id: I771b23db6920b26b592abc5d5156e9d77cde4f00
2016-02-10 21:47:48 +00:00
Andrea Campanella
2947e6219d ONOS-3810 augmenting Rest southbound protocol and provider for https and password based auth
Change-Id: I3e5f07ba6a751bc8a7637373c037a1910181f9ab
2016-02-09 18:41:59 +00:00
Madan Jampani
c27b6b2deb Fix files with windows line endings + Add checkstyle rule to catch this issue
Change-Id: Ic1905f2121c5c2ab66259f7f531c1e36fe58e9d4
2016-02-05 19:51:54 +00:00
Ayaka Koshibe
77acdc73b1 ONOS dev bash_profile function -
make vicell open file for current cell when no cell is specified

Change-Id: Ic561fcafe469531b57199de156f8db12a0e0d063
2016-02-04 19:27:59 +00:00
Thomas Vachuska
c4ee7372c5 Adding first fallback provider for flow rule subsystem.
Fixing onos-check-apps.

Change-Id: Ic8c2bac4403bb7a49813826262706e857932b6c0
2016-02-03 04:51:57 +00:00
Jian Li
dc94fc9fc8 Fix the typo of yangloader (onoproject -> onosproject)
Change-Id: I891819cb683018b32be450d6f694dc5909ebd6f0
2016-02-01 16:35:01 +00:00
Jian Li
c6c76dc896 [ONOS-3739] Substitute copyright year during archetype gen
With this commit, we can substitute the copyright year during
archetype generation phase, so that we do not need to manually
input the copyright year.

Change-Id: I3c0e4cdc69a3fad7a90335332d5489604107b892
2016-01-29 19:25:53 +00:00
Jonathan Hart
51539b85d3 Enforce naming convention regarding abbreviations
Change-Id: Ic81038d3869268a55624ccbbf66048545158b0da
2016-01-28 17:32:37 +00:00
HIGUCHI Yuta
1d7c9cbe6d ONOS-3732 Bandwidth resource registration using netcfg.
- Uses netcfg defined value as available resource if defined,
  else uses port speed as available Bandwidth resource

Change-Id: I2dde9a9194025194ed8785b4608f064debab182b
2016-01-27 13:09:56 -08:00
HIGUCHI Yuta
3fd2f94d51 Limit fields added to BasicDeviceConfig
- Fixing opticalUtils.py, which was broken due to additional constraint added by
   Change-Id: I372e6c7e6c0fa6fa52301568af73342aaae6347b

Change-Id: I4233550c9e483448599a2dd501a50309ceb2e4c8
2016-01-26 21:41:14 +00:00
Jian Li
e4583fd8ad [ONOS-3702] Clean up pom.xml dependency, bump up omitted dependency
Change-Id: Ieb6dc7a5b3ee8d52eefd79c182b9d759b5d324d7
2016-01-25 19:54:36 +00:00
Thomas Vachuska
c8100c1c76 Simplifying the net-pingall scenario.
Change-Id: Ifd152a8b93d06290aff58c7322d3b6687e4c6580
2016-01-22 10:24:27 -08:00
Jian Li
a9a1bbd825 Bump up fasterxml jackson lib to 2.7.0 and clean up dependencies
Change-Id: I43d672a1f275ef7108b5dd416f3f120485823d0f
2016-01-22 00:39:50 -08:00
Jian Li
97d6b2d392 [ONOS-3635] Implement List view for extended application properties
Change-Id: Ie8f985f9c2986857df92bcb47b5bdee876f37230
2016-01-21 23:24:02 +00:00