summaryrefslogtreecommitdiffstats
path: root/src/lib/yang/yang_revisions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/yang/yang_revisions.h')
-rw-r--r--src/lib/yang/yang_revisions.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/lib/yang/yang_revisions.h b/src/lib/yang/yang_revisions.h
new file mode 100644
index 0000000..1c2f353
--- /dev/null
+++ b/src/lib/yang/yang_revisions.h
@@ -0,0 +1,35 @@
+// Copyright (C) 2018-2022 Internet Systems Consortium, Inc. ("ISC")
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+#ifndef ISC_YANG_REVISIONS_H
+#define ISC_YANG_REVISIONS_H 1
+
+#include <map>
+#include <string>
+
+namespace isc {
+namespace yang {
+
+// Table of module name / revision.
+static const std::map<std::string, std::string> YANG_REVISIONS = {
+#ifdef KEATEST_MODULE
+ { "keatest-module", "2018-11-20" },
+#endif // KEATEST_MODULE
+ { "ietf-dhcpv6-types", "2018-09-04" },
+ { "ietf-dhcpv6-options", "2018-09-04" },
+ { "ietf-dhcpv6-server", "2018-09-04" },
+ { "kea-types", "2019-08-12" },
+ { "kea-dhcp-types", "2022-07-27" },
+ { "kea-dhcp4-server", "2022-07-27" },
+ { "kea-dhcp6-server", "2022-07-27" },
+ { "kea-ctrl-agent", "2019-08-12" },
+ { "kea-dhcp-ddns", "2022-07-27" }
+};
+
+} // namespace yang
+} // namespace isc
+
+#endif // ISC_YANG_REVISIONS_H