Carmelo Cascone | 770507f | 2017-09-14 20:58:04 +0200 | [diff] [blame] | 1 | tables { |
| 2 | preamble { |
| 3 | id: 33617813 |
| 4 | name: "table0" |
| 5 | alias: "table0" |
| 6 | } |
| 7 | match_fields { |
| 8 | id: 1 |
| 9 | name: "standard_metadata.ingress_port" |
| 10 | bitwidth: 9 |
| 11 | match_type: TERNARY |
| 12 | } |
| 13 | match_fields { |
| 14 | id: 2 |
| 15 | name: "hdr.ethernet.dst_addr" |
| 16 | bitwidth: 48 |
| 17 | match_type: TERNARY |
| 18 | } |
| 19 | match_fields { |
| 20 | id: 3 |
| 21 | name: "hdr.ethernet.src_addr" |
| 22 | bitwidth: 48 |
| 23 | match_type: TERNARY |
| 24 | } |
| 25 | match_fields { |
| 26 | id: 4 |
| 27 | name: "hdr.ethernet.ether_type" |
| 28 | bitwidth: 16 |
| 29 | match_type: TERNARY |
| 30 | } |
| 31 | action_refs { |
| 32 | id: 16794308 |
| 33 | } |
| 34 | action_refs { |
| 35 | id: 16829080 |
| 36 | } |
| 37 | action_refs { |
| 38 | id: 16784184 |
| 39 | } |
| 40 | size: 1024 |
| 41 | } |
| 42 | tables { |
| 43 | preamble { |
| 44 | id: 33573361 |
| 45 | name: "ip_proto_filter_table" |
| 46 | alias: "ip_proto_filter_table" |
| 47 | } |
| 48 | match_fields { |
| 49 | id: 1 |
| 50 | name: "hdr.ipv4.src_addr" |
| 51 | bitwidth: 32 |
| 52 | match_type: TERNARY |
| 53 | } |
| 54 | match_fields { |
| 55 | id: 2 |
| 56 | name: "hdr.ipv4.protocol" |
| 57 | bitwidth: 8 |
| 58 | match_type: EXACT |
| 59 | } |
| 60 | action_refs { |
| 61 | id: 16784184 |
| 62 | } |
| 63 | action_refs { |
| 64 | id: 16800567 |
| 65 | annotations: "@defaultonly()" |
| 66 | } |
| 67 | size: 1024 |
| 68 | } |
| 69 | actions { |
| 70 | preamble { |
| 71 | id: 16800567 |
| 72 | name: "NoAction" |
| 73 | alias: "NoAction" |
| 74 | } |
| 75 | } |
| 76 | actions { |
| 77 | preamble { |
| 78 | id: 16829080 |
| 79 | name: "send_to_cpu" |
| 80 | alias: "send_to_cpu" |
| 81 | } |
| 82 | } |
| 83 | actions { |
| 84 | preamble { |
| 85 | id: 16794308 |
| 86 | name: "set_egress_port" |
| 87 | alias: "set_egress_port" |
| 88 | } |
| 89 | params { |
| 90 | id: 1 |
| 91 | name: "port" |
| 92 | bitwidth: 9 |
| 93 | } |
| 94 | } |
| 95 | actions { |
| 96 | preamble { |
| 97 | id: 16784184 |
| 98 | name: "_drop" |
| 99 | alias: "_drop" |
| 100 | } |
| 101 | } |
| 102 | counters { |
| 103 | preamble { |
| 104 | id: 302012419 |
| 105 | name: "egr_port_counter" |
| 106 | alias: "egr_port_counter" |
| 107 | } |
| 108 | spec { |
| 109 | unit: PACKETS |
| 110 | } |
| 111 | size: 511 |
| 112 | } |
| 113 | counters { |
| 114 | preamble { |
| 115 | id: 302054463 |
| 116 | name: "igr_port_counter" |
| 117 | alias: "igr_port_counter" |
| 118 | } |
| 119 | spec { |
| 120 | unit: PACKETS |
| 121 | } |
| 122 | size: 511 |
| 123 | } |
| 124 | controller_packet_metadata { |
| 125 | preamble { |
| 126 | id: 2868941301 |
| 127 | name: "packet_in" |
| 128 | annotations: "@controller_header(\"packet_in\")" |
| 129 | } |
| 130 | metadata { |
| 131 | id: 1 |
| 132 | name: "ingress_port" |
| 133 | bitwidth: 9 |
| 134 | } |
| 135 | } |
| 136 | controller_packet_metadata { |
| 137 | preamble { |
| 138 | id: 2868916615 |
| 139 | name: "packet_out" |
| 140 | annotations: "@controller_header(\"packet_out\")" |
| 141 | } |
| 142 | metadata { |
| 143 | id: 1 |
| 144 | name: "egress_port" |
| 145 | bitwidth: 9 |
| 146 | } |
| 147 | } |