Carmelo Cascone | 88bbc99 | 2018-01-30 14:42:52 -0800 | [diff] [blame] | 1 | { |
| 2 | "fabric-spgw": { |
| 3 | "addr": "localhost:5051", |
| 4 | "flows": [ |
| 5 | { |
| 6 | "table_name": "filtering.fwd_classifier", |
| 7 | "match_fields": { |
| 8 | "standard_metadata.ingress_port": 1, |
| 9 | "hdr.ethernet.dst_addr": "c2:42:59:2d:3a:84", |
| 10 | "fabric_metadata.original_ether_type": 2048 |
| 11 | }, |
| 12 | "action_name": "filtering.set_forwarding_type", |
| 13 | "action_params": { |
| 14 | "fwd_type": 2 |
| 15 | } |
| 16 | }, |
| 17 | { |
| 18 | "table_name": "forwarding.unicast_v4", |
| 19 | "match_fields": { |
| 20 | "hdr.ipv4.dst_addr": ["192.168.103.11", 32] |
| 21 | }, |
| 22 | "action_name": "forwarding.set_next_id", |
| 23 | "action_params": { |
| 24 | "next_id": 1 |
| 25 | } |
| 26 | }, |
| 27 | { |
| 28 | "table_name": "next.simple", |
| 29 | "match_fields": { |
| 30 | "fabric_metadata.next_id": 1 |
| 31 | }, |
| 32 | "action_name": "next.l3_routing", |
| 33 | "action_params": { |
| 34 | "port_num": 2, |
| 35 | "smac": "3a:c1:e2:53:e1:50", |
| 36 | "dmac": "52:54:00:29:c9:b7" |
| 37 | } |
| 38 | }, |
| 39 | { |
| 40 | "table_name": "filtering.fwd_classifier", |
| 41 | "match_fields": { |
| 42 | "standard_metadata.ingress_port": 2, |
| 43 | "hdr.ethernet.dst_addr": "3a:c1:e2:53:e1:50", |
| 44 | "fabric_metadata.original_ether_type": 2048 |
| 45 | }, |
| 46 | "action_name": "filtering.set_forwarding_type", |
| 47 | "action_params": { |
| 48 | "fwd_type": 2 |
| 49 | } |
| 50 | }, |
| 51 | { |
| 52 | "table_name": "forwarding.unicast_v4", |
| 53 | "match_fields": { |
| 54 | "hdr.ipv4.dst_addr": ["16.255.255.252", 32] |
| 55 | }, |
| 56 | "action_name": "forwarding.set_next_id", |
| 57 | "action_params": { |
| 58 | "next_id": 2 |
| 59 | } |
| 60 | }, |
| 61 | { |
| 62 | "table_name": "next.simple", |
| 63 | "match_fields": { |
| 64 | "fabric_metadata.next_id": 2 |
| 65 | }, |
| 66 | "action_name": "next.l3_routing", |
| 67 | "action_params": { |
| 68 | "port_num": 1, |
| 69 | "smac": "c2:42:59:2d:3a:84", |
| 70 | "dmac": "52:54:00:05:7b:59" |
| 71 | } |
| 72 | }, |
| 73 | { |
| 74 | "table_name": "spgw_ingress.ue_filter_table", |
| 75 | "match_fields": { |
| 76 | "ipv4.dst_addr": ["16.255.255.252", 32] |
| 77 | }, |
| 78 | "action_name": "NoAction", |
| 79 | "action_params": { |
| 80 | } |
| 81 | }, |
| 82 | { |
| 83 | "table_name": "spgw_ingress.s1u_filter_table", |
| 84 | "match_fields": { |
| 85 | "spgw_meta.s1u_sgw_addr": "192.168.102.13" |
| 86 | }, |
| 87 | "action_name": "NoAction", |
| 88 | "action_params": { |
| 89 | } |
| 90 | }, |
| 91 | { |
| 92 | "table_name": "spgw_ingress.dl_sess_lookup", |
| 93 | "match_fields": { |
| 94 | "ipv4.dst_addr": "16.255.255.252" |
| 95 | }, |
| 96 | "action_name": "spgw_ingress.set_dl_sess_info", |
| 97 | "action_params": { |
| 98 | "teid": 1, |
| 99 | "s1u_enb_addr": "192.168.102.11", |
| 100 | "s1u_sgw_addr": "192.168.102.13" |
| 101 | } |
| 102 | } |
| 103 | ] |
| 104 | } |
| 105 | } |