897 Commits

Author SHA1 Message Date
Thomas Vachuska
e3094a3d4d Adding app reactivation scenario; part of smoke test.
Change-Id: I8aab34796f51acf5a1a6c05709d016bec2b79382
2017-08-30 08:15:39 +00:00
Yi Tseng
60ef61d52c Avoid the P4 compiler put ecmp_group_id to scalars meta
Change-Id: I4a5e71d75a4e13de645ea800afcda22988e0e728
2017-08-30 00:50:37 +00:00
Andrea Campanella
19090320e7 Completing Port Statistics scheduling in general device provider.
Adding empty shell for port statistcs discovery with bmv2 and default.p4

Change-Id: I4a333e406d6df0c6f8041d53f21cbf10f8bb9782
2017-08-29 15:34:31 +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
Jian Li
dc096738fd Add Korean regions topo for Korea Map DEMO
Change-Id: I01b7f43e1735aba44212cd034390b84204a8868e
2017-08-25 18:20:37 +00:00
Ray Milkey
a210520797 Add a small pause before running pingall to allow the switches to settle
Change-Id: Ie987a4b6aabfb37eecd8db3e4513443938ec416a
2017-08-25 10:44:30 -07:00
Carmelo Cascone
b605cf0248 Drop packets on table miss in default.p4
Also fixed compiler warnings.

Change-Id: Ibbc6eee9bbd55f55e46fd5268a2dc206f04f14ea
2017-08-24 13:31:35 +02:00
Carmelo Cascone
73f6b6d996 Prettified netcfg JSON produced by bmv2-demo.py
Also disabled debug Mininet output.

Change-Id: I62025e5375f072d5d39eca323cd324323b29697b
2017-08-24 13:31:35 +02:00
nosignal
f43b3d5bb1 [ONOS-6954] Fix onos-wait-for-start karaf login timeout
Change-Id: I20bc841f1e07be139578f23a27d4e4223ac946be
2017-08-23 23:06:52 +00:00
Yi Tseng
7875cb78bb [ONOS-6854] refactor bmv2-demo.py
Change-Id: I9b7460b15f6664363f2ff0b16110e2b3bc4dedeb
2017-08-22 19:32:12 +00:00
Carmelo Cascone
fc3776dbc7 Fixed building of P4_14 test programs
Also checked in p4c compilation result (BMv2 JSON and p4info)

Change-Id: If1d2426e6ff275c01f63b3e300acd2b48197aa99
2017-08-22 09:38:51 +00:00
Yi Tseng
b62509b6c5 [ONOS-6904] Add ecmp feature to default.p4
Change-Id: I3837b3cc8d931dece030ab30bd4d15a7031fb646
2017-08-21 11:57:14 -07:00
Ray Milkey
aa279c014e Starting snapshot 1.12.0-SNAPSHOT
Change-Id: I92269af3b1103fc6622614a77681bd841438d050
2017-08-16 13:27:00 -07:00
Brian O'Connor
c5c8840d04 Bug fixes for proxy-stc
Change-Id: Ic6d7bb0e58a4837e8bd8e96e3decac199f20c04f
2017-08-16 00:18:43 +00:00
Thomas Vachuska
e662d67842 Fixing yang-live-compile scenario.
Change-Id: Icb63eb10690529d304cd2e3a3e913db8e463e8e5
2017-08-15 17:15:17 +00:00
Brian O'Connor
98c5bec26d Drawing yang models from test/config for Yang live compiler test
Change-Id: Ifc3c226d2b8b1b90c667ac71f6e213faa1a479ce
2017-08-15 16:52:55 +00:00
Brian O'Connor
30322dd4cb Fixing tar_file and proxy-stc
Change-Id: I51ee55151975ba22d168ccad58efe92d55acd9e1
2017-08-15 16:52:33 +00:00
Ray Milkey
d4ac0edb2f Starting snapshot 1.11.0-SNAPSHOT 2017-08-11 17:04:16 -07:00
Ray Milkey
6ecde1ff86 Tagging 1.11.0-b4 2017-08-11 17:02:33 -07:00
Thomas Vachuska
ed1c86311f Adding YANG live compilation STC scenario.
Change-Id: I40388b560f5d7406bff443ac1f2abf0b4ac61f95
2017-08-09 23:46:51 +00:00
Jordan Halterman
6ce5235b92 Ensure onos-dist-verify script does not block indefinitely when disruptor is running at the end of the test
Change-Id: I9acb0772036065bb8563342e60c299ec634ba4c8
2017-08-09 21:07:39 +00:00
Simon Hunt
63054638ab update simon's cell definition.
Change-Id: I0335950a8be91682cde37cabca69174ec16be861
2017-08-07 09:08:04 -07: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
Thomas Vachuska
cba486a7aa Added a tool to monitor health of the STC warden lab setup.
Change-Id: Ic5cd59bb9db39acaa08c67bdc47814e1a5722471
2017-08-02 11:04:59 -07:00
Andrea Campanella
75ef9f5c51 [ONOS-6844] inject ports via net-cfg
Change-Id: I3052e8b43fd26960b111200d6e506fd91e1f01fd
2017-08-01 22:00:30 +00:00
Ray Milkey
64677e99d9 Starting snapshot 1.11.0-SNAPSHOT 2017-08-01 10:48:08 -07:00
Ray Milkey
17463db855 Tagging 1.11.0-b3 2017-08-01 10:46:24 -07:00
Ray Milkey
ff18b6e677 Enhancements to the distributed config manager
- Compute and persist a partition config based on the node config
- In the incoming JSON, use the same attribute names as the node
  config uses
- implement separate "id" and "ip" fields to follow how ONOS
  encoding works
- removed "IsEnable" field from inbound JSON, it has no
  meaning for ONOS
- persist and reload the partition config
- add a "/exit" endpoint to terminate the server
- add unit test for basic functionality

Change-Id: I1f1d511fdfc76ec3420661e47b3fe9033ffd070e
2017-08-01 00:08:05 +00:00
Jordan Halterman
ddc2b182c9 [ONOS-6842] Add fault injection/linearizable history verification script for distributed primitives
Change-Id: I059e21c1e1626f555889686387ec31dda7db8da4
2017-07-31 20:31:28 +00:00
Carmelo Cascone
4e59382ecd Workaround to p4c/BMv2 parser bug
Start parser is configured to switch on ingress_port value 0xff, while
BMv2 uses byte-aligned ingress_port value (9 bit -> 16 bits), i.e.
0x00ff.

Change-Id: I8c9ab36675e7048ca3182582a97a90cc366d2743
2017-07-31 12:53:51 +00:00
Carmelo Cascone
c8d3486a1a Added copyright header to demo P4 programs
Change-Id: Ifa5c80db6cffae56e3666a60f3c0f40d456f443c
2017-07-31 12:36:55 +00:00
Carmelo Cascone
3304fd54e5 Removed unused metadata from demo P4 programs
Change-Id: Ie50dd70ee6172fe6c77f8ce6e6be136db282219e
2017-07-31 12:27:39 +00:00
Carmelo Cascone
b2e3dbaef0 Pi classes to support P4Runtime action profiles
+ modified default.p4 with ECMP capabilities (via action profiles)
+ sketched translation logic of ONOS groups (in Bmv2GroupProgrammable)
+ replaced existing instances of default.json/p4info with symlinks to
	p4src build directory (to avoid inconsistencies)

Change-Id: If82f0b8ce296c9b616415d99864d216b77645a87
2017-07-28 16:01:31 +00:00
Carmelo Cascone
837e645330 ONOS-6769 Support for PacketMetadata in demo P4 programs
Change-Id: I9b3de719f9eb1c87d1df16a5ad0d08a83cebc8f6
2017-07-21 00:33:31 +00:00
Ray Milkey
64313cbc83 Starting snapshot 1.11.0-SNAPSHOT 2017-07-20 15:46:52 -07:00
Ray Milkey
7e28519e5f Tagging 1.11.0-b2 2017-07-20 15:45:28 -07:00
Andrea Campanella
fc1d34ca16 [ONOS-6809] Implementation for packet out in p4Runtime
Change-Id: I873a1fd18529fe9fd41aa33f862298892ece7d1c
2017-07-20 20:24:17 +00:00
Jeremy Ronquillo
6e920c89dd Changed location to locations in json files in topos
Change-Id: Iebe2ae9dfc7937e2199e4038488559c2fbc8014c
2017-07-11 16:06:36 +00:00
Ray Milkey
589b899fc3 Add persistence and more refactoring
- persist configuration in a file that can be set on the command line
- check for valid JSON inputs
- fix example curl commands
- add a main() function

Change-Id: I7504455d85472799ad6d0cfbb6e7cb35eb5ea17d
2017-07-10 20:47:40 +00:00
Brian O'Connor
740e98ca1b ONOS-6758 Enable TLS by default for intra-cluster communication
Default key store location is config/onos.jks with password changeit

Change-Id: I07cbc09abb22fd8e98fe39a012ce0a65d17d8e39
2017-07-07 23:36:06 +00:00
Andrea Campanella
bc112a960d [ONOS-6564] Adding PiPeconf behaviours to driver for device.
Initial implementation of PiPipeconfService.
Tests for Initial implementation.

Change-Id: I9dea6fb3015788b8b61060c7f88395c3d45e6ed7
2017-07-06 10:06:50 +00:00
Brian O'Connor
13081ca496 Updating tools/test/bin/onos-{config,install} to exit correctly
Last lines of both scripts are intended to be optional.
If they do not run, the script exits with non-zero status
which will break things like stc.

Change-Id: I6368f54be8356efe31ce75bc51b635d98e2ef033
2017-06-30 16:20:33 +00:00
Ray Milkey
f14cc6d3c2 Fix SNAPSHOT version string
Change-Id: I090c1998e5a117c10263b7a6abbffc624beb4074
2017-06-28 16:36:27 +00:00
Devin Lim
0d944e2682 Fixed the path of the onos-netcfg
Change-Id: I60e5cdf6c8863c235395d341c4db21d4c5ba2ef3
2017-06-27 23:39:16 +00:00
sivachidambaram subramanian
f773b65f6d [ONOS-6409] Create throughput test for FlowObjective subsystem
Change-Id: I04689683b150a752510dbf20c37071edb890a0b0
2017-06-27 19:52:39 +00:00
Ray Milkey
7463193198 Starting snapshot 1.11-SNAPSHOT 2017-06-23 16:46:27 -07:00
Ray Milkey
644472eaf9 Refactoring of distributed manager server script
- renamed script to eliminate the .py extension
- fixed interpreter name
- fixed a bug where a PUT operation returned an invalid respose
- broke up handling of the '/' URI into separate methods
- fixed typos in comments
- made script executable
- added http status codes to returned errors

Change-Id: I0809dcd912db15403b487a9ade31e8928e9b12e0
2017-06-20 14:58:32 +00:00
Michele Santuari
02918e5dcb command to check errors on log locally
Change-Id: Ib29ab0013179db7e4be915a54ef1bf7f5a0e6d31
2017-06-15 17:14:50 +00:00
Yi Tseng
2162993bee [ONOS-6596] Port example P4 programs from P4_14 to P4_16
Change-Id: I74485ea66894b425fa9f6508a67cb38dbef85a4f
2017-06-15 08:35:02 +00:00