Carmelo Cascone
a11279b3c2
Updated JSON config in bmv2.py for general device provider
...
+ fixed unhandled exception
Change-Id: I06057872e743a85a430980ed2b6a67942b61e58f
2017-06-22 11:10:33 +00:00
Brian O'Connor
71167f9e76
Updating bmv2.py to remove dependency on onos-netcfg
...
Change-Id: I4b98efe2d025a03925a6505ef387aac105af9aa0
2017-06-19 21:02:32 +02:00
Aaron Kruglikov
c939037f35
Fixing an issue where the \'ok clean\' command can fail if there is another version of buck in the path.
...
Change-Id: I93afcd6869634a88da045f4f81cc40e32160e117
2017-06-16 20:57:18 +00:00
junhyeok
c51f9f6258
[ONOS-6638] Fix Java version on onos.cshrc
...
Change-Id: I4fbb3e7c1277e65e2111065516fbfd235dce5539
2017-06-15 17:08:06 +00:00
Ray Milkey
5c0d8f92cb
Make test tools available in installed ONOS
...
Part of ONOS-6597
onos-app, onos-netcfg
Change-Id: Ic58156700e357c9564e9bd9fe1173310ec6f0502
2017-06-14 15:18:42 +00:00
Carmelo Cascone
7e8f8320c8
Improved onos-setup-p4-dev
...
Now checks last built commit before building a project. Helpful when
dealing with frequent project updates (such as bmv2 o4 p4runtime).
Change-Id: I93ef9e63dc2f2b3a8ab5ef8e5356c476ca24487b
2017-06-06 17:01:48 +00:00
Carmelo Cascone
b752427548
ONOS-6457 Improved bmv2.py mininet script
...
- Starts BMv2 with empty.p4 as when running with --no-p4 the switch
crashes
- Automatically send a netcfg JSON to ONOS for each device
- Makefile to build all P4 programs (needed for empty.p4)
Change-Id: Ib872641751c543aac6c752610b1ce88a1a00d0d2
2017-06-06 12:48:02 +00:00
Carmelo Cascone
75e9799694
ONOS-6457 Updated bmv2.py to work with simple_switch_grpc target
...
Change-Id: I696daca118f631c73b747eaea8ce936cd4b1097a
2017-06-05 15:30:02 +00:00
Carmelo Cascone
acf1225f41
ONOS-6456 Script to setup onos-p4 dev env on Ubuntu 14.04
...
- BMv2 simple_switch_grpc target (with P4Runtime support)
- p4c
- p4c-bm (old BMv2 compiler)
Change-Id: Id0b3209e3777223fd38875159b480c8c8753dab6
2017-06-05 15:06:14 +00:00
Ray Milkey
86d1b0a92f
Bumping version of YANG Tools to 2.1; adding YANG smoke STC test.
...
Change-Id: I8bd719351a5dbe6af286779fdc3ac3105c2bbc62
2017-05-24 11:05:25 -07:00
Charles Chan
c7a60ce6b4
Clean up env var when returning cells
...
ONOS_USER, ONOS_GROUP, ONOS_WEB_USER and ONOS_WEB_PASS will be reset to default value when cleaned up.
Users can override the default value by specifying desired value in local cell files.
Change-Id: I52badd0446e109fcfc7ff94779ef228e8d8276f9
2017-05-09 20:44:28 +00:00
Jordan Halterman
a2268ec66b
Limit line length in split ONOS logs to 500 characters.
...
Change-Id: Ia8f5e7c37279b6534f4b1af48347369f487bdc50
2017-05-04 15:44:06 +00:00
Luca Prete
d8d8231ef2
Updating and fixing vagrant ONOS VM
...
Change-Id: I75313d7e254aa08d8567ae5701c219677f279991
(cherry picked from commit 5f8893092a82dded627806b086fef68e1c3fb394)
2017-04-24 23:58:15 +00:00
Thomas Vachuska
315ff1c991
Fixing yang_model macro to narrow down the dependency list.
...
Change-Id: I6ae11cec370bfca4a1e4fe0598f84c7e354ea5b8
2017-03-29 01:39:20 +00:00
Jordan Halterman
c9ce09a10f
Add dev script for splitting ONOS/Atomix logs for debugging individual partitions/sessions.
...
Change-Id: Ic8ea56cc120a72861eda70a12cef47a57d987928
2017-03-21 18:32:23 +00:00
Thomas Vachuska
692dcb0dcb
Adding tool to patch lib/BUCK with locally built YANG tools.
...
Change-Id: Ie026a42aa5cfdd3608a78eb0757bb35cc0048683
2017-03-15 10:49:52 -07:00
Yi Tseng
7f425d5386
Fix cells command
...
"cells" throws errors when $ONOS_CELL is not set
Change-Id: Ia41bbd9e877dbffc86ddaaf0f5e5adcd96bba2ad
2017-03-01 20:05:58 +00:00
Jon Hall
b84df5deb9
Bump karaf from 3.0.5 to 3.0.8
...
Change-Id: Ic5bc130f5110f4ff9da6ec22d066a5dd3069288d
2017-02-02 23:22:40 +00:00
Thomas Vachuska
5af2e4f898
Eliminating use of Apache Karaf CLI client and of ONOS_USE_SSH env. variable.
...
All CLI access is now through the raw SSH client.
To enable passwordless access, the 'onos-user-key' tool should be used to add user keys.
Added 'onos-user-password' tool in the similar vein and usage as the 'onos-user-key' tool.
Change-Id: Ic5482fc8012369edc818691402ba45d13f130452
2016-12-16 22:30:47 +00:00
Thomas Vachuska
2512f3b9be
Removing old and formerly deprecated tools for running ONOS locally, for selective build and for patching bundles in place.
...
Change-Id: Ic342e6c6ba776b0e0effcd3c79637642b0d59df2
2016-12-12 10:44:13 -08:00
Carmelo Cascone
c52a4b1b46
Run an ONOS cluster inside Mininet (via onos.py) with any demo script.
...
E.g. $ sudo -E python attmpls.py --cluster-size 3
Also, added option (--netcfg) to auto set netcfg at Mininet startup, and
added command to bring onos instances up/down to Mininet CLI.
Change-Id: Id02917fd5181af496b7d954da0ef3d5f2cbb970d
2016-11-30 21:19:47 +00:00
Charles Chan
9b152fcdb9
Improve cell command when parsing environment variables
...
Change-Id: I297afe12f40d10bf69ac5290bbcc5282d6291314
2016-11-21 12:06:49 -08:00
Thomas Vachuska
10d1d1ef71
Added option to 'ok' alias to run sans buckd.
...
Change-Id: Ie4ff3545d9d4716bce9a75515008416db5d3d40d
2016-11-20 09:18:18 -08:00
Thomas Vachuska
3030108b0a
Switching CLI to use SSH by default
...
Change-Id: I8f757c02ad30967438fd4c332bb67b8ad2914868
2016-11-19 17:23:08 +00:00
Thomas Vachuska
8cc5318124
Enhancing stw and stcs to allow pausing between scenarios
...
Change-Id: Ie5c9e41e0d0861a7d419fa5532674bf8bb206eb4
2016-11-15 17:53:25 +00:00
Thomas Vachuska
e1125351ef
Adding an STC scenario to test basic HA functionality
...
Change-Id: Ic70b592bf932dcdcd4eb88606d0b0aa9ef9c4a59
2016-11-11 01:10:21 +00:00
Brian O'Connor
84942625de
Updating branch-clean to handle cases where file and branch names collide
...
Change-Id: I902dd0685997ab35691d1c88ef78327224eb0541
2016-11-10 19:47:51 +00:00
Luca Prete
2ee1960577
[BUG-FIX] Correct Vagrant-Ansible scripts bug. User sdn was not created.
...
Change-Id: Ia93444b998dec992e6703b2b410d579917044b7a
2016-11-07 17:26:39 +00:00
Thomas Vachuska
5fdf5bf3ca
onos-local-log now works with buck run
...
Change-Id: I086ed7e4825ba19d920815f5946bf778bb90f3c6
2016-11-04 15:10:13 +01:00
Thomas Vachuska
6066dff896
Migrating convenience aliases to Buck usage
...
Change-Id: I01d21e9630625dc6e5200a0d1be625f8d2db7348
2016-10-27 17:03:18 +00:00
Thomas Vachuska
05e47a3d00
Adding ability to request a specific cell via an optional hint.
...
Change-Id: Icdc4fad5d59900cdae3233724c6538c9d6afa62d
2016-10-24 18:15:06 +00:00
Thomas Vachuska
5905f2cc6e
Preparing to deprecate onos-karaf and onos-setup-karaf commands.
...
Change-Id: Ie8bf9ad161733478608d82c11d59c4b5412d6689
2016-10-24 16:36:00 +00:00
Luca Prete
8d4e8bccdf
Vagrant-Ansible scripts for tutorial vm
...
Change-Id: I0481fa9c7df897812a765973440b6b1b2bf669f8
2016-10-23 10:11:12 +00:00
Brian O'Connor
436ff317af
Adding branch-compare command and renaming clean-branches.py to branch-clean
...
Change-Id: I8fdb27749893fefbe27bba02437b36e7860701b4
2016-10-11 16:20:30 -07:00
Thomas Vachuska
525651fdc0
Fixing onos-create-app to bomb if mvn command fails for some reason.
...
Change-Id: I770a2efee9557371caff7066bf71306d375c3fdf
2016-10-06 06:54:43 +00:00
Yuta HIGUCHI
7d8b3b1f6c
Pass clean option to onos-setup-karaf
...
Change-Id: If74914d5c0a4ed0694cf4926fa7deae7927783c8
2016-09-12 13:09:47 -07:00
Jon Hall
2548559590
Add HA.py
...
A set of mininet based HA tests based on onos.py
Currently includes the following tests:
- a control network partitioning test
- A dynamic cluster scaling test
Change-Id: I9a8e1019dcc51666fee1d933afd66ff390592525
2016-09-12 17:56:20 +00:00
Bob Lantz
2ca9a35df9
Added README
...
Change-Id: I9bb92f93a88e113928a35196ac83954b9e069e5c
2016-09-07 23:07:11 +00:00
jaegonkim
1f5fbe5405
adding '--noproxy localhost' option in the curl for using localhost where OS has proxy setting
...
Change-Id: Ia9de0cd18a3a41ab64de6c0babce9ab25f925859
2016-08-31 16:53:21 +00:00
Bob Lantz
894eab5711
Add examples/ dir, README, and multicluster.py
...
multicluster.py creates two ONOS "clusters" (1 node by
default, though larger are possible), each of which
is responsible for a separate segment of the data network.
Change-Id: I233c9884b565bd6a28fa1a05e990e86207c88347
2016-08-30 17:34:32 +00:00
Bob Lantz
503a402e89
Multiple ONOSCluster support for ONOSCLI
...
Previously we were only passing the first ONOSCluster
into MininetFacade, but lo and behold it supports as
many networks as you like! So we pass them all in the
case where we have multiple ONOSClusters.
Change-Id: If848886b958aa47d3e4834c44adc98fffd90453c
2016-08-29 18:08:37 -07:00
Bob Lantz
8e576256fb
Enable --custom files to import ONOSCLI
...
Since --custom files are execed, subsequently importing them
actually creates duplicate classes. This wouldn't be a problem
except that we depend on isinstance(). As a workaround, we allow
the class name to match if isinstance() fails, assuming it will
be a class that is compatible with ONOSCluster or ONOSNode.
Example: env PYTHONPATH=. mn --custom onos.py,mytest.py
where mytest.py imports onos
Change-Id: Ib4cda82fbdd612420de1e113ab768e2f137d5213
2016-08-29 17:56:11 -07:00
Bob Lantz
5763516eb6
Add portOffset for multiple ONOSCluster port forwarding
...
With multiple ONOS clusters, we want to make sure that the
forwarded port numbers don't collide. We add a portOffset
which is automatically incremented appropriately as more
ONOSClusters are created. It can also be specified explicitly.
Change-Id: I62977c3d4141668d9f541067db1a20ec0035489b
2016-08-30 00:55:39 +00:00
zhangyuanyou
57c7c31e57
Fix the disabled download url of karaf.
...
Change-Id: I4eec3ad4365ec2a67ee8301ae56b9469dfb7a5fe
2016-08-19 16:23:30 +00:00
Jon Hall
a43d0334aa
Add check for node status to onos.py startup
...
Change-Id: I8e6b103ef46a5bc5877507a7adef3eb6117adf64
2016-08-16 22:32:34 +00:00
Jon Hall
9b238aef36
Pass alertActions cli option to ONOSNode class in onos.py
...
Change-Id: I534cc0e22ac11018e6c5ec6f73a2f7259392b9e0
2016-08-16 22:30:35 +00:00
Thomas Vachuska
3f79e2a100
Adding cdvue tool to allow developers to run it without building the binaries themselves.
...
Change-Id: I1582b1ca9d55a9a7debe50d49b1588b9c9a63fb6
2016-08-08 23:36:59 +00:00
Thomas Vachuska
830b8a1817
Searching the local archetype repo before the remote one; temporary fix.
...
Change-Id: I177d8def0c3738f572b147eb1ff704f624ecafa6
2016-08-05 16:50:57 +00:00
Yuta HIGUCHI
7f2c6f9b25
Use karaf/OSGi bundle data path for persistence
...
Change-Id: If5a4eb1fb63ca3455200c29e9981c7a0f2dd044e
2016-08-04 00:37:37 +00:00
Thomas Vachuska
cc0b7d6605
Adding support for topology recipes and cleaning up topologies.
...
Cleaned-up a few STC scenarios.
Change-Id: I4ffa61953d8cf289406fa572ab7603d996e26a85
2016-07-13 13:16:06 -07:00