Add prompt, add action

This commit is contained in:
Nico Schottelius 2019-06-03 21:33:42 +02:00
parent a3e535323c
commit 0f2e7f6049
2 changed files with 5 additions and 0 deletions

4
netpfga/do-all-steps.sh Normal file → Executable file
View File

@ -3,6 +3,10 @@
set -e
set -x
echo "First source all variables and THEN run this script"
read something
# Step 1..3: create code
# Step 4
cd $P4_PROJECT_DIR && make

View File

@ -80,6 +80,7 @@ control TopPipe(inout Parsed_packet p,
actions = {
swap_eth_addresses;
do_nothing;
send_to_port1;
}
size = 64;
// default_action = swap_eth_addresses;