p4tc-dev / linux-p4tc-pub

Other
10 stars 1 forks source link

Add supported actions list to table in P4TC #26

Open vbnogueira opened 1 year ago

vbnogueira commented 1 year ago

A P4 table has a list of actions it supports, for example:

table smac {
    key = { outCtrl.outputPort : exact; }
    actions = {
        Drop_action;
        Rewrite_smac;
    }
}

The actions list specifies which actions may be used as default_action of this table or as a table entry action.

We must support this in P4TC