Adding PROX(Packet pROcessing eXecution engine) VNF to sampleVNF
[samplevnf.git] / VNFs / DPPD-PROX / config / nat_table.lua
1 --
2 -- Copyright (c) 2010-2017 Intel Corporation
3 --
4 -- Licensed under the Apache License, Version 2.0 (the "License");
5 -- you may not use this file except in compliance with the License.
6 -- You may obtain a copy of the License at
7 --
8 --     http://www.apache.org/licenses/LICENSE-2.0
9 --
10 -- Unless required by applicable law or agreed to in writing, software
11 -- distributed under the License is distributed on an "AS IS" BASIS,
12 -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 -- See the License for the specific language governing permissions and
14 -- limitations under the License.
15 --
16
17 return {
18    {from = ip("10.10.100.100"), to = ip("192.168.1.1")},
19    {from = ip("192.168.1.1"), to = ip("10.10.100.100")},
20    {from = ip("192.168.1.101"), to = ip("10.10.10.101")},
21    {from = ip("10.10.10.101"), to = ip("192.168.1.101")},
22    {from = ip("192.168.1.102"), to = ip("10.10.10.102")},
23    {from = ip("10.10.10.102"), to = ip("192.168.1.102")},
24    {from = ip("192.168.100.100"), to = ip("10.0.100.100")},
25    {from = ip("10.0.100.100"), to = ip("192.168.100.100")},
26 }