1 #:%s/ \(number = [0-9]*\) \(type = [a-z]*\)/ \2 \1/g
3 table role = ipf type = tree number = 1
5 table role = ipf type = tree number = 100
6 { 1.2.3.4/32; !2.2.0.0/16; 2.2.2.0/24; };
7 table role = nat type = tree number = 110
8 { 1.2.3.4/32; !2.2.0.0/16; 2.2.2.0/24; };
9 table role = auth type = tree number = 120
10 { 1.2.3.4/32; !2.2.0.0/16; 2.2.2.0/24; };
11 table role = count type = tree number = 130
12 { 1.2.3.4; !2.2.0.0/16; 2.2.2.0/24; };
14 table role = ipf type = hash number = 2
16 table role = ipf type = hash number = 200
17 { 0/0; 1/32; 1.2.3.4/32; };
18 table role = nat type = hash number = 210
19 { 0/0; 2/32; 1.2.3.4/32; };
20 table role = auth type = hash number = 220
21 { 0/0; 3/32; 1.2.3.4/32; };
22 table role = count type = hash number = 230
23 { 0/0; 4/32; 1.2.3.4/32; };
25 table role = ipf type = hash number = 240 seed = 101
26 { 0/0; 1/32; 1.2.3.4/32; };
27 table role = nat type = hash number = 250 seed = 101
28 { 0/0; 2/32; 1.2.3.4/32; };
29 table role = auth type = hash number = 260 seed = 101
30 { 0/0; 3/32; 1.2.3.4/32; };
31 table role = count type = hash number = 270 seed = 101
32 { 0/0; 4/32; 1.2.3.4/32; };
34 table role = ipf type = hash number = 2000 size = 1001
35 { 0/0; 1/32; 1.2.3.4/32; };
36 table role = nat type = hash number = 2000 size = 1001
37 { 0/0; 2/32; 1.2.3.4/32; };
38 table role = auth type = hash number = 2000 size = 1001
39 { 0/0; 3/32; 1.2.3.4/32; };
40 table role = count type = hash number = 2000 size = 1001
41 { 0/0; 4/32; 1.2.3.4/32; };
43 table role = ipf type = hash number = 100 size = 1001 seed = 101
44 { 0/0; 1/32; 1.2.3.4/32; };
45 table role = nat type = hash number = 100 size = 1001 seed = 101
46 { 0/0; 2/32; 1.2.3.4/32; };
47 table role = auth type = hash number = 100 size = 1001 seed = 101
48 { 0/0; 3/32; 1.2.3.4/32; };
49 table role = count type = hash number = 100 size = 1001 seed = 101
50 { 0/0; 4/32; 1.2.3.4/32; };
52 group-map in role = ipf number = 300 group = 303
53 { 0/0; 5/32; 1.2.3.4/32; };
54 group-map in role = nat number = 300 group = 303
55 { 0/0; 6/32; 1.2.3.4/32; };
56 group-map in role = auth number = 300 group = 303
57 { 0/0; 7/32; 1.2.3.4/32; };
58 group-map in role = count number = 300 group = 303
59 { 0/0; 8/32; 1.2.3.4/32; };
61 group-map out role = ipf number = 400 group = 303
62 { 0/0; 5/32; 1.2.3.4/32, group = 606; };
63 group-map out role = nat number = 400 group = 303
64 { 0/0; 6/32; 1.2.3.4/32, group = 606; };
65 group-map out role = auth number = 400 group = 303
66 { 0/0; 7/32; 1.2.3.4/32, group = 606; };
67 group-map out role = count number = 400 group = 303
68 { 0/0; 8/32; 1.2.3.4/32, group = 606; };
70 group-map in role = ipf number = 500
71 { 0/0, group = 10; 5/32, group = 800; 1.2.3.4/32, group = 606; };
72 group-map in role = nat number = 500
73 { 0/0, group = 10; 6/32, group = 800; 1.2.3.4/32, group = 606; };
74 group-map in role = auth number = 500
75 { 0/0, group = 10; 7/32, group = 800; 1.2.3.4/32, group = 606; };
76 group-map in role = count number = 500
77 { 0/0, group = 10; 8/32, group = 800; 1.2.3.4/32, group = 606; };