summaryrefslogtreecommitdiffstats
path: root/nat/nat-api/src/main/yang/nat-context.yang
diff options
context:
space:
mode:
authorMaros Marsalek <mmarsale@cisco.com>2016-11-10 12:22:28 +0100
committerMaros Marsalek <mmarsale@cisco.com>2016-11-10 12:47:24 +0100
commit8e0c7007906730fe4547b0265a895ad8a322a7dc (patch)
treedbc3310da5c7b7083cc6b9ecffee633d2cf5cd7f /nat/nat-api/src/main/yang/nat-context.yang
parentaa7e652e6105a6972d6c41ff0738cd9e31ce0188 (diff)
Remove hc2vpp codebase
Moved to a dedicated hc2vpp project in fd.io Change-Id: I03dc3b3029f21b127a00c69a86bcd8e467896241 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'nat/nat-api/src/main/yang/nat-context.yang')
-rw-r--r--nat/nat-api/src/main/yang/nat-context.yang64
1 files changed, 0 insertions, 64 deletions
diff --git a/nat/nat-api/src/main/yang/nat-context.yang b/nat/nat-api/src/main/yang/nat-context.yang
deleted file mode 100644
index dd17ed58c..000000000
--- a/nat/nat-api/src/main/yang/nat-context.yang
+++ /dev/null
@@ -1,64 +0,0 @@
-module nat-context {
- yang-version 1;
- namespace "urn:honeycomb:params:xml:ns:yang:nat:context";
- prefix "nc";
-
- description "Context for nat mapping";
-
- revision "2016-12-14" {
- description "Initial revision.";
- }
-
- import ietf-inet-types {
- prefix "inet";
- }
-
- import naming-context {
- prefix "nc";
- }
-
- import yang-ext {
- prefix "ext";
- }
-
- grouping mapping-entry-context-attributes {
- container nat-mapping-entry-context {
- list nat-instance {
- key "id";
-
- leaf id {
- type uint32;
- description "ID of the NAT instance from ietf-nat. Maps to VRF-ID in VPP";
- }
-
- container mapping-table {
- list mapping-entry {
-
- key "internal external";
- unique "index";
-
- leaf internal {
- type inet:ip-address;
- description "Local IP address set in VPP";
- }
-
- leaf external {
- type inet:ip-address;
- description "Extarnal IP address set in VPP";
- }
-
- leaf index {
- type uint32;
- description "ID of the NAT's mapping entry from ietf-nat";
- }
- }
- }
- }
- }
- }
-
- augment /nc:contexts {
- ext:augment-identifier "nat-mapping-entry-ctx-augmentation";
- uses mapping-entry-context-attributes;
- }
-} \ No newline at end of file