Yi Tseng
7875cb78bb
[ONOS-6854] refactor bmv2-demo.py
...
Change-Id: I9b7460b15f6664363f2ff0b16110e2b3bc4dedeb
2017-08-22 19:32:12 +00:00
Carmelo Cascone
6e4f7eb58c
ONOS-6648 Bumped version of p4c with support for cmake build system
...
Also bumped version of BMv2 and PI
Untested on Ubuntu 16.04
Change-Id: I700274af96f7b44d8f2e3a86f1e4a5df5aac3a1e
2017-08-21 23:00:43 +02:00
Aaron Kruglikov
041b254ded
Creating a script that helps with finding dependencies, especially transitive dependencies of BUCK artifacts.
...
Change-Id: I5e877c07b8027a57f88b583c11cf377cc4f25b0a
2017-08-15 21:53:12 +00:00
Yuta HIGUCHI
9e11b09208
build yang plugin if it wasn't already
...
Change-Id: I7e50abed1dd7f419e1e392f76fdf68dd2408060c
2017-08-14 17:58:59 +00:00
Yuta HIGUCHI
4421dd2e78
Allow relocating yang tool location
...
Change-Id: Ic8a166aa1161f57f94c11d824f22bfc7154bcb77
2017-08-11 03:41:31 +00:00
Thomas Vachuska
ad37e3733e
Integrating YANG live compilation into YANG runtime.
...
- Bumped ONOS dependency on ONOS YANG tools 2.2.0-b4.
- Added CLI to compile YANG models.
- Added GUI capability to compile YANG models via drag-n-drop or file upload.
- Fixed defect in propagating self-contained JAR apps through the cluster.
Change-Id: Icbd2a588bf1ffe0282e12d3d10a117e0957c3084
2017-08-09 21:30:40 +00:00
Brian O'Connor
a09fe5b0b7
Updating Copyright line to Open Networking Foundation
...
Change-Id: Icba96d7f39a065b53f34a6aeb71afd1f7d51f774
2017-08-03 21:12:30 -07:00
Carmelo Cascone
2cad9efec5
Various fixes to get a P4Runtime demo that works
...
Change-Id: Icab512fceeb6ec0faf1b402c1e325e055cdb2caf
2017-08-03 16:17:58 +02:00
Carmelo Cascone
aaf6d9821e
Build BMv2 with debugger in onos-setup-p4-dev
...
Tested on Ubuntu 14.04, not 16.04.
Also, bumped version of PI and BMv2.
Change-Id: I00319f12f077608a66c7e07fd59a7f1ca835c391
2017-07-31 09:08:03 +00:00
Brian O'Connor
73f8bd7884
Adapting p4c and bmv2 setup script for 14.04 and 16.04
...
At the time of commit on a 4 core VM running on VirtualBox on
a 2016 MacBook Pro takes the following amount of time:
Ubuntu 16.04 - 19m13.451s
Ubuntu 14.04 - 21m58.665s
Change-Id: I06960d8f27883dab518363678c8bcbf3fee94382
2017-07-21 18:44:32 +00:00
Ray Milkey
8a0c7c761f
When defining ONOS_ROOT strip out any symlinks
...
This is a workaround for problems with building GRPC with buck
on some machines.
Change-Id: If7d306a5bf59ba5a86c8ff2fd9cb9f0f3527fb61
2017-07-19 21:52:44 +00:00
Thomas Vachuska
b073459942
Adding utility to provide STC warden status.
...
Change-Id: Ia7521e7bd21e7821f3c1383a5ac37b68d0ec78e7
2017-07-18 17:13:01 -07:00
Thomas Vachuska
c32dfbac83
Fixing patch-yang-lib utility to also patch the YANG BUCK plugin.
...
Change-Id: Ic23f263ef3df34ff8bfbe1823f09d0b5ee1f8415
2017-07-18 16:01:40 -07:00
Thomas Vachuska
411de78042
Fixing patch-yang-lib utility.
...
Change-Id: Ic1e578dc77aab1d6ab6dbd21ddd29546d4d0da1d
2017-07-18 21:46:56 +00:00
Carmelo Cascone
fb76b04736
Fixed P4 tools build script for Ubuntu 14
...
+ bumped version of p4runtime and BMv2
+ minor update to bmv2.py
Change-Id: I7784b075b2e6015bb3eef1286011968303b66129
2017-07-18 13:41:32 +00:00
Carmelo Cascone
59f57decd1
ONOS-6561 BMv2 handshaker via P4Runtime
...
+ support fort device-specific default pipeconf
+ improvements to P4runtime and gRPC protocol stuff
Change-Id: I8986fce3959df564454ea3d31859860f61eabcae
2017-07-13 17:24:25 +00:00
Carmelo Cascone
569d4ad93f
Bumped version of P4Runtime and P4 tools for dev VM
...
+fixed protobuf version according to p4c documentation.
Change-Id: I16471b70b9b2ebc0e0a30c733f1e6ce47d40e30b
2017-07-10 16:24:53 -04:00
Thomas Vachuska
812c092180
Bumping JDVUE to 2.2
...
Change-Id: I59ccd6c8d57f7b2c0cd2d23ee4a9f6b43f5de42a
2017-07-06 14:55:37 -07:00
Thomas Vachuska
0794a24dad
Bumping JDVUE to 2.1
...
Change-Id: I3fc2b855e818373cff473cbddb097c59f9408fa8
2017-07-06 21:35:06 +00:00
Devin Lim
0d944e2682
Fixed the path of the onos-netcfg
...
Change-Id: I60e5cdf6c8863c235395d341c4db21d4c5ba2ef3
2017-06-27 23:39:16 +00:00
Carmelo Cascone
9e6621ffb0
Fix for log handling in bmv2.py
...
Change-Id: Idf96ace58c4b1cb67c52e2c122ad644b945f4f99
2017-06-27 20:14:13 +00:00
Thomas Vachuska
e006e7d7cb
Adding ability to run JDVUE with debugger.
...
Change-Id: I2d581888c51d8169401cb99196c812890a4da247
2017-06-23 16:50:47 +00:00
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