blob: 6bc9bce78ce9383b947da09bb63ab7d4749c3fc6 [file] [log] [blame]
Carmelo Casconecedad872018-02-14 17:18:30 -08001{
2 "fabric-spgw": {
3 "addr": "localhost:50051",
4 "flows": [
5 {
6 "table_name": "filtering.ingress_port_vlan",
7 "match_fields": {
8 "standard_metadata.ingress_port": 1,
9 "hdr.vlan_tag.is_valid": 0,
10 "hdr.vlan_tag.vlan_id": [0, 0]
11 },
12 "action_name": "filtering.push_internal_vlan",
13 "action_params": {
14 "new_vlan_id": 4094
15 }
16 },
17 {
18 "table_name": "filtering.fwd_classifier",
19 "match_fields": {
20 "standard_metadata.ingress_port": 1,
21 "hdr.ethernet.dst_addr": "c2:42:59:2d:3a:84",
22 "fabric_metadata.original_ether_type": 2048
23 },
24 "action_name": "filtering.set_forwarding_type",
25 "action_params": {
26 "fwd_type": 2
27 }
28 },
29 {
30 "table_name": "forwarding.unicast_v4",
31 "match_fields": {
32 "hdr.ipv4.dst_addr": ["192.168.103.11", 32]
33 },
34 "action_name": "forwarding.set_next_id",
35 "action_params": {
36 "next_id": 1
37 }
38 },
39 {
40 "table_name": "next.simple",
41 "match_fields": {
42 "fabric_metadata.next_id": 1
43 },
44 "action_name": "next.l3_routing",
45 "action_params": {
46 "port_num": 2,
47 "smac": "3a:c1:e2:53:e1:50",
48 "dmac": "52:54:00:29:c9:b7"
49 }
50 },
51 {
52 "table_name": "filtering.ingress_port_vlan",
53 "match_fields": {
54 "standard_metadata.ingress_port": 2,
55 "hdr.vlan_tag.is_valid": 0,
56 "hdr.vlan_tag.vlan_id": [0, 0]
57 },
58 "action_name": "filtering.push_internal_vlan",
59 "action_params": {
60 "new_vlan_id": 20
61 }
62 },
63 {
64 "table_name": "filtering.fwd_classifier",
65 "match_fields": {
66 "standard_metadata.ingress_port": 2,
67 "hdr.ethernet.dst_addr": "3a:c1:e2:53:e1:50",
68 "fabric_metadata.original_ether_type": 2048
69 },
70 "action_name": "filtering.set_forwarding_type",
71 "action_params": {
72 "fwd_type": 2
73 }
74 },
75 {
76 "table_name": "forwarding.unicast_v4",
77 "match_fields": {
78 "hdr.ipv4.dst_addr": ["16.255.255.252", 32]
79 },
80 "action_name": "forwarding.set_next_id",
81 "action_params": {
82 "next_id": 2
83 }
84 },
85 {
86 "table_name": "next.simple",
87 "match_fields": {
88 "fabric_metadata.next_id": 2
89 },
90 "action_name": "next.mpls_routing_v4",
91 "action_params": {
92 "port_num": 1,
93 "smac": "c2:42:59:2d:3a:84",
94 "dmac": "52:54:00:05:7b:59",
95 "label": 204
96 }
97 },
98 {
99 "table_name": "spgw_ingress.ue_filter_table",
100 "match_fields": {
101 "ipv4.dst_addr": ["16.255.255.252", 32]
102 },
103 "action_name": "NoAction",
104 "action_params": {
105 }
106 },
107 {
108 "table_name": "spgw_ingress.s1u_filter_table",
109 "match_fields": {
110 "spgw_meta.s1u_sgw_addr": "192.168.102.13"
111 },
112 "action_name": "NoAction",
113 "action_params": {
114 }
115 },
116 {
117 "table_name": "spgw_ingress.dl_sess_lookup",
118 "match_fields": {
119 "ipv4.dst_addr": "16.255.255.252"
120 },
121 "action_name": "spgw_ingress.set_dl_sess_info",
122 "action_params": {
123 "teid": 1,
124 "s1u_enb_addr": "192.168.102.11",
125 "s1u_sgw_addr": "192.168.102.13"
126 }
127 }
128 ]
129 }
130}