description "Tunnel type for vxlan tunnels";
base tunnel-type-base;
}
-
+
identity tunnel-type-vxlan-gpe {
description "Tunnel type for vxlan-gpe";
base tunnel-type-base;
base tunnel-monitoring-type-base;
}
+ grouping tunnel-optional-params {
+ leaf tunnel-source-ip-flow {
+ description "Use local_ip=flow for this tunnel";
+ type boolean;
+ default false;
+ }
+ leaf tunnel-remote-ip-flow {
+ description "Use remote_ip=flow for this tunnel";
+ type boolean;
+ default false;
+ }
+
+ list tunnel-options {
+ key "tunnel-option";
+ leaf tunnel-option {
+ description "Tunnel Option name";
+ type string;
+ }
+ leaf value {
+ description "Option value";
+ type string;
+ }
+ }
+ }
+
grouping monitor-params {
leaf monitor-enabled {
type boolean;
description
"represents whether this is an internal or external tunnel.";
}
-
+
leaf tunnel-interface-type {
type identityref {
base tunnel-type-base;
description "gateway IP address";
}
+ uses tunnel-optional-params;
uses monitor-params;
}