summaryrefslogtreecommitdiffstats
path: root/extras/packetforge/parsegraph/edges/vlan_after_macvlan.json
diff options
context:
space:
mode:
Diffstat (limited to 'extras/packetforge/parsegraph/edges/vlan_after_macvlan.json')
-rw-r--r--extras/packetforge/parsegraph/edges/vlan_after_macvlan.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/extras/packetforge/parsegraph/edges/vlan_after_macvlan.json b/extras/packetforge/parsegraph/edges/vlan_after_macvlan.json
new file mode 100644
index 00000000000..5c0b81ebacf
--- /dev/null
+++ b/extras/packetforge/parsegraph/edges/vlan_after_macvlan.json
@@ -0,0 +1,15 @@
+{
+ "type" : "edge",
+ "start" : "mac,vlan",
+ "end" : "vlan",
+ "actions" : [
+ {
+ "dst" : "start.ethertype",
+ "src" : "end.tpid"
+ },
+ {
+ "dst" : "end.ethertype",
+ "src" : "start.ethertype"
+ }
+ ]
+}