aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/npt66/npt66.api
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/npt66/npt66.api')
-rw-r--r--src/plugins/npt66/npt66.api22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/plugins/npt66/npt66.api b/src/plugins/npt66/npt66.api
index 01ce7759799..63640ac2097 100644
--- a/src/plugins/npt66/npt66.api
+++ b/src/plugins/npt66/npt66.api
@@ -16,3 +16,25 @@ autoendian autoreply define npt66_binding_add_del
vl_api_ip6_prefix_t internal;
vl_api_ip6_prefix_t external;
};
+
+counters npt66 {
+ rx {
+ severity info;
+ type counter64;
+ units "packets";
+ description "packets translated from external to internal";
+ };
+ tx {
+ severity info;
+ type counter64;
+ units "packets";
+ description "packets translated from internal to external";
+ };
+ translation {
+ severity error;
+ type counter64;
+ units "packets";
+ description "packet translation failed";
+ };
+
+}; \ No newline at end of file