Skip to content

Instantly share code, notes, and snippets.

@hrmsk66
Created May 9, 2018 06:35
Show Gist options
  • Save hrmsk66/b7305fba2b80d5ee46602399689b54e6 to your computer and use it in GitHub Desktop.
Save hrmsk66/b7305fba2b80d5ee46602399689b54e6 to your computer and use it in GitHub Desktop.
Tags for NSO service templates
<config-template xmlns="http://tail-f.com/ns/config/1.0"
servicepoint="tagtest">
<devices xmlns="http://tail-f.com/ns/ncs">
<device>
<name>{device}</name>
<config>
<nodes xmlns="http://example.com/device">
<?foreach {node}?>
<node tags="merge">
<id>{id}</id>
<type>{type}</type>
<description>{description}</description>
</node>
<?end?>
</nodes>
</config>
</device>
</devices>
</config-template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment