<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2014 Hewlett-Packard, Ciena and others. All rights reserved. 
 This program and the accompanying materials are made available under the 
 terms of the Eclipse Public License v1.0 which accompanies this distribution, 
 and is available at http://www.eclipse.org/legal/epl-v10.html -->

<!-- Configuration for Intent Engine module. -->
<snapshot>
  <configuration>
    <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <modules xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
        <module>
          <type xmlns:nic="urn:opendaylight:nic:intent:impl">
            nic:intent-impl
          </type>

          <name>intent-impl</name>

          <data-broker>
            <type xmlns:binding="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">
              binding:binding-async-data-broker
            </type>
            <name>binding-data-broker</name>
          </data-broker>

          <intent-mapping-interface>
            <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:nic:mapping">
              prefix:intent-mapping-interface
            </type>
            <name>intent-mapping-interface</name>
          </intent-mapping-interface>

        </module>
      </modules>
        <services xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
            <service>
                <type xmlns:prefix="urn:opendaylight:nic:intent:impl">prefix:nic-console-provider</type>
                <instance>
                    <name>nic-console-provider</name>
                    <provider>/modules/module[type='intent-impl'][name='intent-impl']</provider>
                </instance>
            </service>
        </services>
    </data>
  </configuration>

  <required-capabilities>
    <capability>urn:opendaylight:nic:intent:impl?module=intent-impl&amp;revision=2015-05-07</capability>
    <capability>urn:opendaylight:params:xml:ns:yang:nic:mapping?module=intent-mapping-interface&amp;revision=2015-11-11</capability>
  </required-capabilities>
</snapshot>
