Carmelo Cascone | fc3776d | 2017-08-21 23:17:22 +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: "ethernet.dstAddr" |
| 16 | bitwidth: 48 |
| 17 | match_type: TERNARY |
| 18 | } |
| 19 | match_fields { |
| 20 | id: 3 |
| 21 | name: "ethernet.srcAddr" |
| 22 | bitwidth: 48 |
| 23 | match_type: TERNARY |
| 24 | } |
| 25 | match_fields { |
| 26 | id: 4 |
| 27 | name: "ethernet.etherType" |
| 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: 16793508 |
| 39 | } |
| 40 | action_refs { |
| 41 | id: 16800567 |
| 42 | annotations: "@defaultonly()" |
| 43 | } |
| 44 | direct_resource_ids: 301990488 |
| 45 | size: 1024 |
| 46 | with_entry_timeout: true |
| 47 | } |
| 48 | tables { |
| 49 | preamble { |
| 50 | id: 33583368 |
| 51 | name: "port_count_table" |
| 52 | alias: "port_count_table" |
| 53 | } |
| 54 | action_refs { |
| 55 | id: 16781545 |
| 56 | } |
| 57 | action_refs { |
| 58 | id: 16800567 |
| 59 | annotations: "@defaultonly()" |
| 60 | } |
| 61 | size: 1024 |
| 62 | } |
| 63 | actions { |
| 64 | preamble { |
| 65 | id: 16800567 |
| 66 | name: "NoAction" |
| 67 | alias: "NoAction" |
| 68 | } |
| 69 | } |
| 70 | actions { |
| 71 | preamble { |
| 72 | id: 16794308 |
| 73 | name: "set_egress_port" |
| 74 | alias: "set_egress_port" |
| 75 | } |
| 76 | params { |
| 77 | id: 1 |
| 78 | name: "port" |
| 79 | bitwidth: 9 |
| 80 | } |
| 81 | } |
| 82 | actions { |
| 83 | preamble { |
| 84 | id: 16829080 |
| 85 | name: "send_to_cpu" |
| 86 | alias: "send_to_cpu" |
| 87 | } |
| 88 | } |
| 89 | actions { |
| 90 | preamble { |
| 91 | id: 16793508 |
| 92 | name: "drop" |
| 93 | alias: "drop" |
| 94 | } |
| 95 | } |
| 96 | actions { |
| 97 | preamble { |
| 98 | id: 16781545 |
| 99 | name: "count_packet" |
| 100 | alias: "count_packet" |
| 101 | } |
| 102 | } |
| 103 | counters { |
| 104 | preamble { |
| 105 | id: 302008596 |
| 106 | name: "egress_port_counter" |
| 107 | alias: "egress_port_counter" |
| 108 | annotations: "@min_width(32)" |
| 109 | } |
| 110 | spec { |
| 111 | unit: PACKETS |
| 112 | } |
| 113 | size: 254 |
| 114 | } |
| 115 | counters { |
| 116 | preamble { |
| 117 | id: 301991238 |
| 118 | name: "ingress_port_counter" |
| 119 | alias: "ingress_port_counter" |
| 120 | annotations: "@min_width(32)" |
| 121 | } |
| 122 | spec { |
| 123 | unit: PACKETS |
| 124 | } |
| 125 | size: 254 |
| 126 | } |
| 127 | direct_counters { |
| 128 | preamble { |
| 129 | id: 301990488 |
| 130 | name: "table0_counter" |
| 131 | alias: "table0_counter" |
| 132 | } |
| 133 | spec { |
| 134 | unit: PACKETS |
| 135 | } |
| 136 | direct_table_id: 33617813 |
| 137 | } |