summaryrefslogtreecommitdiffstats
path: root/nat/nat-api/src/main/yang/vpp-nat@2017-08-04.yang
AgeCommit message (Collapse)AuthorFilesLines
2018-05-17HC2VPP-321: bump nat model to ietf-nat@2018-02-23.yangMarek Gradzki1-70/+0
Uses ietf-nat module as defined in https://tools.ietf.org/html/draft-ietf-opsawg-nat-yang-14 Modifications to original model: - ip-address is used instead of ip-prefix (draft is not clear, see HC2VPP-325). API changes relevant to HC/VPP: - nat-config and nat-state merged into nat container - nat-instances and nat-instace renamed to instances and instance respectively - external-ip-address-pool has new parent - policy list - port-type choice was removed, port is now defined using start-port-number and end-port-number leaves. Missing end is equivalent to single-port-number case from the older version. TODOs: - HC2VPP-322: single nat64Prefix per NAT instance - HC2VPP-323: update postman collection - HC2VPP-324: update CSIT tests. Out of the scope of NAT model update: - HC2VPP-326: support for nat-type handling (vpp-nat model might become obsolete) - HC2VPP-327: support external-realm container (requires adding augmentations that are alredy present in the interface-nat model). Change-Id: Ie229a55b0a3f6ee3f8c97f4fd13c54a797a62438 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-03api: update copyright to match revision informationMarek Gradzki1-1/+1
Change-Id: Ib7825ea727fd8105dd679587059333888caeef5c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-03Update metadata of hc2vpp YANG modelsMarek Gradzki1-1/+24
Adds organization and contact statements. Includes copyright in the description of modules. Fixes minor formatting issues. Change-Id: I9fa90c24e956d5cb2c3fde8621ed289f383501ac Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-22nat: fix issues found by pyangMarek Gradzki1-4/+4
Change-Id: Ic4375e85684a035323499963172e59042b0f3dcf Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-24HC2VPP-222: adapt hc2vpp to snat->nat plugin rename in vppMarek Gradzki1-1/+1
Change-Id: If4c7f2f1fc52f1ee64ed95900a362063207def27 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-14HC2VPP-105: update NAT models to support Nat64Marek Gradzki1-0/+47
Nat api in VPP (https://wiki.fd.io/view/VPP/SNAT#API_3) uses different api calls for nat44 and nat64. While ietf-nat model allows to distinguish between static nat44 and nat64 mappings, external-ip-address-pool needs to be augmented with nat pool type. Change-Id: I2ce1fa3a8241c337c617bcbb77ec5eb2a33044e4 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>