summaryrefslogtreecommitdiffstats
path: root/lisp/api/src
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/api/src')
-rw-r--r--lisp/api/src/main/yang/gpe.yang51
1 files changed, 51 insertions, 0 deletions
diff --git a/lisp/api/src/main/yang/gpe.yang b/lisp/api/src/main/yang/gpe.yang
index 5e8e1f2b1..c99d5f26a 100644
--- a/lisp/api/src/main/yang/gpe.yang
+++ b/lisp/api/src/main/yang/gpe.yang
@@ -7,6 +7,10 @@ module gpe {
prefix "lisp";
}
+ import ietf-interfaces {
+ prefix "if";
+ }
+
import ietf-inet-types {
prefix "inet";
}
@@ -108,4 +112,51 @@ module gpe {
uses gpe-feature-data-grouping;
description "GPE state";
}
+
+ container native-forward-paths-tables {
+ // gpe_add_del_native_fwd_rpath
+ list native-forward-paths-table{
+ key table-id;
+
+ leaf table-id {
+ type uint32;
+ }
+
+ list native-forward-path {
+ key next-hop-address;
+
+ leaf next-hop-address {
+ type inet:ip-address;
+ }
+
+ leaf next-hop-interface {
+ type if:interface-ref;
+ }
+ }
+ }
+ }
+
+ container native-forward-paths-tables-state {
+ // gpe_native_fwd_rpaths_get
+ config false;
+ list native-forward-paths-table{
+ key table-id;
+
+ leaf table-id {
+ type uint32;
+ }
+
+ list native-forward-path {
+ key next-hop-address;
+
+ leaf next-hop-address {
+ type inet:ip-address;
+ }
+
+ leaf next-hop-interface {
+ type if:interface-state-ref;
+ }
+ }
+ }
+ }
} \ No newline at end of file