Method emitContainer now emits must statements only once
through the method emitConstraints.
Change-Id: Ib818d7dc25b07df3f35559166a0ef933d19808d0
Signed-off-by: Igor Foltin <ifoltin@cisco.com>
(cherry picked from commit
a664580e83425f01943698e7ff52e48bd3411cfb)
emitConstraints(child.getConstraints());
// FIXME: BUG-2444: whenNode //:Optional
// FIXME: BUG-2444: *(ifFeatureNode )
- emitMustNodes(child.getConstraints().getMustConstraints());
emitPresenceNode(child.isPresenceContainer());
emitConfigNode(child.isConfiguration());
emitDocumentedNode(child);
<status value="current"></status>
</leaf>
<container name="test-container-1">
- <must condition="bar != 'foo'"></must>
<must condition="bar != 'foo'"></must>
<presence value="false"></presence>
<config value="true"></config>