/* autogenerated by embedmodel.py.  DO NOT EDIT */

#include <zebra.h>
#include "yang.h"

static const char model[] =
	"// SPDX-License-Identifier: BSD-2-Clause\n"
	"module frr-module-translator {\n"
	"  yang-version 1.1;\n"
	"  namespace \"http://frrouting.org/yang/frr-module-translator\";\n"
	"  prefix frr-module-translator;\n"
	"\n"
	"  organization\n"
	"    \"FRRouting\";\n"
	"  contact\n"
	"    \"FRR Users List:       <mailto:frog@lists.frrouting.org>\n"
	"     FRR Development List: <mailto:dev@lists.frrouting.org>\";\n"
	"  description\n"
	"    \"A model for FRR YANG module translators.\n"
	"\n"
	"     Copyright 2020 FRRouting\n"
	"\n"
	"     Redistribution and use in source and binary forms, with or without\n"
	"     modification, are permitted provided that the following conditions\n"
	"     are met:\n"
	"\n"
	"     1. Redistributions of source code must retain the above copyright notice,\n"
	"     this list of conditions and the following disclaimer.\n"
	"\n"
	"     2. Redistributions in binary form must reproduce the above copyright\n"
	"     notice, this list of conditions and the following disclaimer in the\n"
	"     documentation and/or other materials provided with the distribution.\n"
	"\n"
	"     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n"
	"     \\\"AS IS\\\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n"
	"     LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n"
	"     A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n"
	"     HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n"
	"     SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n"
	"     LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n"
	"     DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n"
	"     THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n"
	"     (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n"
	"     OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\";\n"
	"\n"
	"  revision 2018-07-31 {\n"
	"    description\n"
	"      \"Initial revision.\";\n"
	"  }\n"
	"\n"
	"  container frr-module-translator {\n"
	"    leaf family {\n"
	"      type string {\n"
	"        length \"0 .. 32\";\n"
	"      }\n"
	"      mandatory true;\n"
	"      description\n"
	"        \"Family of YANG models.\";\n"
	"    }\n"
	"    list module {\n"
	"      key \"name\";\n"
	"      ordered-by user;\n"
	"      description\n"
	"        \"YANG module.\";\n"
	"\n"
	"      leaf name {\n"
	"        type string;\n"
	"        description\n"
	"          \"Module name.\";\n"
	"      }\n"
	"      leaf deviations {\n"
	"        type string;\n"
	"        mandatory true;\n"
	"        description\n"
	"          \"Module containing the YANG deviations.\";\n"
	"      }\n"
	"      list mappings {\n"
	"        key \"custom\";\n"
	"        description\n"
	"          \"YANG mappings between the custom module and FRR native modules.\";\n"
	"\n"
	"        leaf custom {\n"
	"          type string {\n"
	"            length \"0 .. 256\";\n"
	"          }\n"
	"          description\n"
	"            \"YANG path of the custom module.\";\n"
	"        }\n"
	"        leaf native {\n"
	"          type string {\n"
	"            length \"0 .. 256\";\n"
	"          }\n"
	"          mandatory true;\n"
	"          description\n"
	"            \"Corresponding path of the native YANG modules\";\n"
	"        }\n"
	"      }\n"
	"    }\n"
	"  }\n"
	"}\n"
	"";

static struct yang_module_embed embed = {
	.mod_name = "frr-module-translator",
	.mod_rev = "2018-07-31",
	.sub_mod_name = "",
	.sub_mod_rev = "",
	.data = model,
	.format = LYS_IN_YANG,
};

static void embed_register(void) __attribute__((_CONSTRUCTOR(2000)));
static void embed_register(void)
{
	yang_module_embed(&embed);
}
