<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Generated files are empty in Tools</title>
    <link>https://community.cisco.com/t5/tools/generated-files-are-empty/m-p/4498092#M1401</link>
    <description>&lt;P&gt;That was it! Thank you so much.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Nov 2021 19:17:08 GMT</pubDate>
    <dc:creator>AidanE</dc:creator>
    <dc:date>2021-11-04T19:17:08Z</dc:date>
    <item>
      <title>Generated files are empty</title>
      <link>https://community.cisco.com/t5/tools/generated-files-are-empty/m-p/4497511#M1399</link>
      <description>&lt;P&gt;I'm trying to generate a small example and for some reason nothing seems to be generated.&lt;BR /&gt;This is my yang file:&lt;/P&gt;&lt;PRE&gt;module ex-example {
    yang-version 1.1;

    namespace "ex:ex-example";

    prefix qc;

    description
        "This YANG module has been created as an example";

    revision "2021-11-03" {
        description "Initial Revision";
        reference "I don't know what this string does";
    }

    leaf thisisastring {
        type string;
        mandatory "true";
        description "A string";
    }

    leaf thisisabool {
        type boolean;
        mandatory "true";
        description "A booelan";
    }
}&lt;/PRE&gt;&lt;P&gt;This is my profile:&lt;/P&gt;&lt;PRE&gt;{
  "name": "example-profile",
  "version": "1.0.0",
  "core_version": "0.8.6",
  "description": "An example bundle profile",
  "models": {
    "dir": [
      "yangprofiles"
    ]
  }
}&lt;/PRE&gt;&lt;P&gt;and this is the result:&lt;/P&gt;&lt;PRE&gt;#ifndef _EX_EXAMPLE_
#define _EX_EXAMPLE_

#include &amp;lt;memory&amp;gt;
#include &amp;lt;vector&amp;gt;
#include &amp;lt;string&amp;gt;
#include &amp;lt;ydk/types.hpp&amp;gt;
#include &amp;lt;ydk/errors.hpp&amp;gt;

namespace example_profile {
namespace ex_example {


}
}

#endif /* _EX_EXAMPLE_ */

&lt;/PRE&gt;&lt;P&gt;I'm generating with `./generate.py --cpp --core --bundle profile.json`. What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 22:06:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/generated-files-are-empty/m-p/4497511#M1399</guid>
      <dc:creator>AidanE</dc:creator>
      <dc:date>2021-11-03T22:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Generated files are empty</title>
      <link>https://community.cisco.com/t5/tools/generated-files-are-empty/m-p/4498034#M1400</link>
      <description>&lt;P&gt;The YDK does not support global leaf or leaf-list, so you need to put your leaf(s) into a container.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 17:37:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/generated-files-are-empty/m-p/4498034#M1400</guid>
      <dc:creator>yangorelik</dc:creator>
      <dc:date>2021-11-04T17:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Generated files are empty</title>
      <link>https://community.cisco.com/t5/tools/generated-files-are-empty/m-p/4498092#M1401</link>
      <description>&lt;P&gt;That was it! Thank you so much.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 19:17:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/generated-files-are-empty/m-p/4498092#M1401</guid>
      <dc:creator>AidanE</dc:creator>
      <dc:date>2021-11-04T19:17:08Z</dc:date>
    </item>
  </channel>
</rss>

