Carmelo Cascone | 98dfdb7 | 2017-07-14 12:01:37 -0400 | [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.dstAddr" |
| 16 | bitwidth: 48 |
| 17 | match_type: TERNARY |
| 18 | } |
| 19 | match_fields { |
| 20 | id: 3 |
| 21 | name: "hdr.ethernet.srcAddr" |
| 22 | bitwidth: 48 |
| 23 | match_type: TERNARY |
| 24 | } |
| 25 | match_fields { |
| 26 | id: 4 |
| 27 | name: "hdr.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 | actions { |
| 49 | preamble { |
| 50 | id: 16794308 |
| 51 | name: "set_egress_port" |
| 52 | alias: "set_egress_port" |
| 53 | } |
| 54 | params { |
| 55 | id: 1 |
| 56 | name: "port" |
| 57 | bitwidth: 9 |
| 58 | } |
| 59 | } |
| 60 | actions { |
| 61 | preamble { |
| 62 | id: 16829080 |
| 63 | name: "send_to_cpu" |
| 64 | alias: "send_to_cpu" |
| 65 | } |
| 66 | } |
| 67 | actions { |
| 68 | preamble { |
| 69 | id: 16793508 |
| 70 | name: "drop" |
| 71 | alias: "drop" |
| 72 | } |
| 73 | } |
| 74 | actions { |
| 75 | preamble { |
| 76 | id: 16800567 |
| 77 | name: "NoAction" |
| 78 | alias: "NoAction" |
| 79 | } |
| 80 | } |
| 81 | counters { |
| 82 | preamble { |
| 83 | id: 302025528 |
| 84 | name: "port_counters_control.egress_port_counter" |
| 85 | alias: "egress_port_counter" |
| 86 | } |
| 87 | spec { |
| 88 | unit: PACKETS |
| 89 | } |
| 90 | size: 254 |
| 91 | } |
| 92 | counters { |
| 93 | preamble { |
| 94 | id: 301999025 |
| 95 | name: "port_counters_control.ingress_port_counter" |
| 96 | alias: "ingress_port_counter" |
| 97 | } |
| 98 | spec { |
| 99 | unit: PACKETS |
| 100 | } |
| 101 | size: 254 |
| 102 | } |
| 103 | direct_counters { |
| 104 | preamble { |
| 105 | id: 301990488 |
| 106 | name: "table0_counter" |
| 107 | alias: "table0_counter" |
| 108 | } |
| 109 | spec { |
| 110 | unit: PACKETS |
| 111 | } |
| 112 | direct_table_id: 33617813 |
| 113 | } |
Andrea Campanella | fc1d34c | 2017-07-18 17:01:41 +0200 | [diff] [blame] | 114 | controller_packet_metadata { |
| 115 | preamble { |
| 116 | id: 2868941301 |
| 117 | name: "packet_in" |
| 118 | annotations: "@controller_header(\"packet_in\")" |
| 119 | } |
| 120 | metadata { |
| 121 | id: 1 |
| 122 | name: "ingress_port" |
| 123 | bitwidth: 9 |
| 124 | } |
| 125 | metadata { |
| 126 | id: 2 |
| 127 | name: "other1" |
| 128 | bitwidth: 32 |
| 129 | } |
| 130 | } |
| 131 | controller_packet_metadata { |
| 132 | preamble { |
| 133 | id: 2868916615 |
| 134 | name: "packet_out" |
| 135 | annotations: "@controller_header(\"packet_out\")" |
| 136 | } |
| 137 | metadata { |
| 138 | id: 1 |
| 139 | name: "egress_port" |
| 140 | bitwidth: 9 |
| 141 | } |
| 142 | metadata { |
| 143 | id: 2 |
| 144 | name: "other2" |
| 145 | bitwidth: 32 |
| 146 | } |
| 147 | } |