Add prompt, add action
This commit is contained in:
parent
a3e535323c
commit
0f2e7f6049
|
@ -3,6 +3,10 @@
|
||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
echo "First source all variables and THEN run this script"
|
||||||
|
read something
|
||||||
|
|
||||||
|
|
||||||
# Step 1..3: create code
|
# Step 1..3: create code
|
||||||
# Step 4
|
# Step 4
|
||||||
cd $P4_PROJECT_DIR && make
|
cd $P4_PROJECT_DIR && make
|
||||||
|
|
|
@ -80,6 +80,7 @@ control TopPipe(inout Parsed_packet p,
|
||||||
actions = {
|
actions = {
|
||||||
swap_eth_addresses;
|
swap_eth_addresses;
|
||||||
do_nothing;
|
do_nothing;
|
||||||
|
send_to_port1;
|
||||||
}
|
}
|
||||||
size = 64;
|
size = 64;
|
||||||
// default_action = swap_eth_addresses;
|
// default_action = swap_eth_addresses;
|
||||||
|
|
Loading…
Reference in New Issue