First stab at BNG support in fabric.p4
This implementation is derived from Deutsche Telekom contribution:
https://github.com/opencord/p4se
It supports basic upstream and downstream termination based on double
VLAN tags and PPPoE, including counters and downstream metering.
Change-Id: I940959f2338d7319654cf665f6cfe2de7200616b
diff --git a/pipelines/fabric/src/main/resources/p4c-out/fabric/bmv2/default/bmv2.json b/pipelines/fabric/src/main/resources/p4c-out/fabric/bmv2/default/bmv2.json
index 8d2dfe1..1e4d514 100644
--- a/pipelines/fabric/src/main/resources/p4c-out/fabric/bmv2/default/bmv2.json
+++ b/pipelines/fabric/src/main/resources/p4c-out/fabric/bmv2/default/bmv2.json
@@ -253,13 +253,13 @@
"header_union_stacks" : [],
"field_lists" : [],
"errors" : [
- ["NoError", 0],
- ["PacketTooShort", 1],
- ["NoMatch", 2],
- ["StackOutOfBounds", 3],
- ["HeaderTooShort", 4],
- ["ParserTimeout", 5],
- ["ParserInvalidArgument", 6]
+ ["NoError", 1],
+ ["PacketTooShort", 2],
+ ["NoMatch", 3],
+ ["StackOutOfBounds", 4],
+ ["HeaderTooShort", 5],
+ ["ParserTimeout", 6],
+ ["ParserInvalidArgument", 7]
],
"enums" : [],
"parsers" : [
@@ -754,7 +754,7 @@
"id" : 0,
"source_info" : {
"filename" : "include/parser.p4",
- "line" : 243,
+ "line" : 260,
"column" : 8,
"source_fragment" : "FabricDeparser"
},
@@ -2828,7 +2828,7 @@
"id" : 0,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 42,
+ "line" : 46,
"column" : 8,
"source_fragment" : "FabricIngress"
},
@@ -3574,7 +3574,7 @@
"id" : 3,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 67,
+ "line" : 74,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_forwarding == false"
},
@@ -3685,7 +3685,7 @@
"id" : 7,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 71,
+ "line" : 78,
"column" : 12,
"source_fragment" : "fabric_metadata.skip_next == false"
},
@@ -3772,7 +3772,7 @@
"id" : 1,
"source_info" : {
"filename" : "fabric.p4",
- "line" : 85,
+ "line" : 92,
"column" : 8,
"source_fragment" : "FabricEgress"
},