277 Commits

Author SHA1 Message Date
Carmelo Cascone
65cd9e3e17 Bumped version of p4c in p4 tools script
Needed to fix bug seen when compiling spgw.p4

Change-Id: I2f6d06bdd7755e0819c8f1dc91d3746f922089cb
2018-01-09 21:12:42 +00:00
Keesjan Karsten
8539f088f2 Mininet gRPC switch startup reachability check
Just a small change to make sure the gRPC port of simple_switch_grpc
is actually opened after startup, before ONOS gets the netcfg to try
to connect to the switch. Otherwise ONOS will receive a TCP RST from
the still closed port and the connection fails, rendering the switch
devices unavailable. Also included a timeout for port opening.

Change-Id: I1338a4ba24a14be57717f636e684c91c4cb12a7c
2018-01-04 16:08:15 +00:00
Carmelo Cascone
d66150733a ONOS-7330 Added ONOS-P4 VM build script
Builds and OVA from scratch with the most updated tools in one command.
The build process is based on Vagrant.

Change-Id: I633d99092946f99e877f0c97631a4f99c5b1f37e
2017-12-20 21:56:02 +00:00
Carmelo Cascone
ee09071b6a Bumped p4c and fixed missing dependency in onos-setup-p4-dev
Change-Id: I079c55a4f7716369f6b8828b3ffd6477a9a31ed5
2017-12-15 18:06:25 +00:00
Carmelo Cascone
b1936bd93f Bumped version of gRPC to 1.3.1
Change-Id: I7798476bd443a796e0e6a6e149ab8f66435ba4fa
2017-12-13 03:24:50 +00:00
Andrea Campanella
8bcd5863ff [ONOS-7311] and [ONOS-7197] Update ONOS to support most recent version of BMv2 and PI
Change-Id: Ie69cfe1946f3c9241dc7f59a64bd40005a063931
2017-12-12 14:03:36 -08:00
Thomas Vachuska
28d4657304 Changing cell configuration to reflect the move to flex data center.
Change-Id: I0b3710b8e9b329b62a765ac87a269cd7aac4d7dd
(cherry picked from commit d2535d768d7b0c2385c907e060fe6e5ded899942)
2017-12-05 21:40:35 +00:00
Ray Milkey
cbf9917ca8 Bump up ONOS to version 2.3.1 of yangtools
Change-Id: I96c3ce7672df6c11f9049eb8462b395b75087da2
2017-11-30 20:05:56 +00:00
Carmelo Cascone
6ec8f8ff93 Minor refactoring of BMv2 mininet scripts
With options to delay pushing the netcfg for each device and generating
the full netcfg JSON for bmv2-demo.

Change-Id: I046a93a8c639f4bb4cf76cbd61b826473760bfb1
2017-11-23 00:49:04 +00:00
Carmelo Cascone
c3baa4cad9 Fixed onos.py
It now works also when no OpenFlow subsytem is loaded

Change-Id: If51f1ab654dad7c02a3f8744b53f4029abf1bd9f
2017-11-21 19:05:43 +00:00
Yuta HIGUCHI
74681b57f2 Bump next yang tool version to 2.4 series
Change-Id: I90cd799f2bc263f2b59de961cbfba8fd0abede29
2017-11-15 22:52:55 +00:00
Ray Milkey
1c4826636c Bump up yangtools to 2.3 version
Change-Id: Ia56b3a3866760a58aa541604a20f23317fe94b4d
2017-11-15 22:40:44 +00:00
Lyndon Fawcett
fbad2e75f8 ONOS-7040 added java options for configuring maximum and initial memory pool for JVM.
Change-Id: I87246759ffcd063497e2b522686f2028fe2c150a
2017-11-10 20:05:14 +00:00
Yi Tseng
3e7f145b90 [ONOS-7143] Add arbitration update support by P4RuntimeClient
Change-Id: I671275576018d50447f969166a7b42a28dd93b1d
2017-11-03 23:13:29 +00:00
Ray Milkey
1cf74edf93 Update ONOS to use yang tools version 2.3.0-b3
Change-Id: I09f6ac082804a1e4b9f80732bbebb83596a1f4d7
2017-11-03 15:00:07 -07:00
Carmelo Cascone
ca94bcf5ea ONOS-7058 Refactored default pipeconfs in new pipelines directory
- Minimal refactoring of P4 programs
- Removed symlinks to BMv2 JSON/P4Info
- Bumped p4c commit (which fixes known parser bug)
- Renamed "default" pipeconf to "basic" (ONOS-6818)

Change-Id: I319f8b142ab22dba9b15457e28cd62d17f78a423
2017-10-30 16:53:37 +00:00
Ray Milkey
8e2c339b06 Upgrade ONOS to use 2.3.0-b2 version of the yang tools
Change-Id: I1111958d4d172320a00d595c20ff82a385a4be3e
2017-10-17 22:06:07 +00:00
Jordan Halterman
980a8c1566 [ONOS-7054] Implement prototype of ISSU protocol
Change-Id: Id543c0de9c97b68f977c824cbc987b35d81beb2d
2017-10-06 21:14:56 +00:00
Carmelo Cascone
87ac737b2d Fixed onos-setup-p4-dev to install nanomsg before P4Runtime
Change-Id: I26b50e30e34d44fdc418e17fff853338a707af95
2017-09-15 00:19:16 +00:00
Ray Milkey
545942322c Bump onos-yang-utils to version 2.2.0
Change-Id: I53fae36d21278ba67224a9044e83063f2b6e1f82
(cherry picked from commit e9019321ac484f6ab65aaaaf72788da33663067d)
2017-09-13 15:17:58 -07:00
Carmelo Cascone
6e85404b1c Minor changes to PI-ECMP demo
- Support devices with different pipeconfs (as in the HW testbed)
- Run UDP servers in Mininet hosts
- Wait before pushing config to ONOS

Change-Id: Ic400e0ac0949375a27aa9721b32dc57d5065fb1c
2017-09-11 22:02:57 +02:00
Carmelo Cascone
99474f140e P4 tools version bump
Change-Id: I39bfba21fb90334ca4cae05ce06c34ddeafd02ab
2017-09-06 21:16:30 +00:00
Carmelo Cascone
ca7682ab16 Bumped version of PI in P4 tools to fix counter read bug
Change-Id: I21ad0930485b5756b6bf148d6a8693525b53b6f7
2017-09-01 00:50:38 +00:00
Yuta HIGUCHI
ce99952ac3 fix YANG tool version in patch-yang-libs
Change-Id: Id75bf79449f3a927fee54e71a8e19121bfa73604
2017-08-30 17:14:00 -07:00
Carmelo Cascone
46d360bb63 Added option to run Bmv2 with valgrind in bmv2.py
Helpful to debug Bmv2 memory leaks.

Change-Id: I404914201c00203ab3050c439fd7af8a608774d2
2017-08-29 21:07:23 +02:00
Carmelo Cascone
28f3778f5a Bumped P4 tools version
Change-Id: I25ac46916292fcb384dd507ef69326cb83eda84e
2017-08-29 19:03:28 +00:00
Thomas Vachuska
49367a6a3f Fixing the bash_profile 'o' function to prefer shorter paths.
Change-Id: If874e6a9c885f48bc1fcf0b19262f7b44a094323
2017-08-29 16:28:48 +00:00
Carmelo Cascone
3443325287 Allow bmv2-demo mininet topology with arbitrary size
+ made imbalanced striping optional
+ improved generated netcfg
+ various improvements to bmv2.py

Change-Id: Ic297a9d4571bc1987a9cf8fe7bec7c648fb86686
2017-08-29 15:28:50 +00:00
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