aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/VppExtItfManager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/VppExtItfManager.hpp')
-rw-r--r--src/include/VppExtItfManager.hpp40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/include/VppExtItfManager.hpp b/src/include/VppExtItfManager.hpp
new file mode 100644
index 0000000..29fc8aa
--- /dev/null
+++ b/src/include/VppExtItfManager.hpp
@@ -0,0 +1,40 @@
+/* -*- C++ -*-; c-basic-offset: 4; indent-tabs-mode: nil */
+/*
+ * Copyright (c) 2018 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
+#ifndef __VPP_EXT_ITF_MANAGER_H__
+#define __VPP_EXT_ITF_MANAGER_H__
+
+#include <opflexagent/Agent.h>
+
+#include "VppRuntime.hpp"
+
+namespace VPP
+{
+class ExtItfManager
+{
+ public:
+ ExtItfManager(Runtime &runtime);
+
+ void handle_update(const opflex::modb::URI &uri);
+
+ private:
+ /**
+ * Referene to the runtime data
+ */
+ Runtime &m_runtime;
+};
+}; // namespace VPP
+
+/*
+ * Local Variables:
+ * eval: (c-set-style "llvm.org")
+ * End:
+ */
+
+#endif