title: YANG: How can I include a container from another module?
body: <p>I am writing a YANG module where I want to include a container from another module i.e. I want to define a NEW container in the module that I am writing that references a container from another module. Example of failed attempt:</p>
  
  <pre><code> module newmodule {
   yang-version 1.1;
   namespace "urn:nist:params:xml:ns:yang:newmodule";
   prefix newmodule;
  
      import ietf-access-control-list {
        prefix "acl";
      }
  
      container newprofile {
        uses acl:access-lists;
      }
    }
  </code></pre>
  
  <p>I have only included the essential parts above. Here acl:access-lists is a container.</p>
  
  <p>Is it possible to compose containers like this? I've tried successfully to build containers from groupings. However, in this case I have no control over the contents of ietf-access-control-list. </p>