<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults"
  targetNamespace="urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults"
  elementFormDefault="qualified" attributeFormDefault="unqualified"
  xml:lang="en" version="2010-06-09"
  xmlns:ncx="http://netconfcentral.org/ns/yuma-ncx"
  xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0">
  <xs:annotation>
    <xs:documentation>Converted from YANG file 'ietf-netconf-with-defaults.yang' by yangdump version 2.2.1737
      
      Module: ietf-netconf-with-defaults
      Organization: IETF NETCONF (Network Configuration Protocol) Working Group
      Version: 2010-06-09
      Contact: WG Web:   &lt;http://tools.ietf.org/wg/netconf/&gt;
      WG List:  &lt;mailto:netconf@ietf.org&gt;
      
      WG Chair: Bert Wijnen
      	  &lt;mailto:bertietf@bwijnen.net&gt;
      
      WG Chair: Mehmet Ersue
      	  &lt;mailto:mehmet.ersue@nsn.com&gt;
      
      Editor: Andy Bierman
      	&lt;mailto:andy.bierman@brocade.com&gt;
      
      Editor: Balazs Lengyel
      	&lt;mailto:balazs.lengyel@ericsson.com&gt;</xs:documentation>
    <xs:documentation>This module defines an extension to the NETCONF protocol
      that allows the NETCONF client to control how default
      values are handled by the server in particular NETCONF operations.
      
      Copyright (c) 2010 IETF Trust and the persons identified as
      the document authors.  All rights reserved.
      
      Redistribution and use in source and binary forms, with or
      without modification, is permitted pursuant to, and subject
      to the license terms contained in, the Simplified BSD License
      set forth in Section 4.c of the IETF Trust's Legal Provisions
      Relating to IETF Documents
      (http://trustee.ietf.org/license-info).
      
      This version of this YANG module is part of RFC XXXX; see
      the RFC itself for full legal notices.</xs:documentation>
    <xs:appinfo>
      <ncx:source>/usr/share/yuma/modules/ietf/ietf-netconf-with-defaults.yang</ncx:source>
      <ncx:organization>IETF NETCONF (Network Configuration Protocol) Working Group</ncx:organization>
      <ncx:contact>WG Web:   &lt;http://tools.ietf.org/wg/netconf/&gt;
        WG List:  &lt;mailto:netconf@ietf.org&gt;
        
        WG Chair: Bert Wijnen
        	  &lt;mailto:bertietf@bwijnen.net&gt;
        
        WG Chair: Mehmet Ersue
        	  &lt;mailto:mehmet.ersue@nsn.com&gt;
        
        Editor: Andy Bierman
        	&lt;mailto:andy.bierman@brocade.com&gt;
        
        Editor: Balazs Lengyel
        	&lt;mailto:balazs.lengyel@ericsson.com&gt;</ncx:contact>
    </xs:appinfo>
    <xs:appinfo>
      <ncx:revision>
        <ncx:version>2010-06-09</ncx:version>
        <ncx:description>Initial version.</ncx:description>
      </ncx:revision>
    </xs:appinfo>
  </xs:annotation>
  <xs:simpleType name="with-defaults-mode">
    <xs:annotation>
      <xs:documentation>Possible modes to report default data.</xs:documentation>
      <xs:appinfo>
        <ncx:reference>
          <ncx:text>RFC XXXX; section 3.</ncx:text>
        </ncx:reference>
      </xs:appinfo>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="report-all">
        <xs:annotation>
          <xs:documentation>All default data is reported.</xs:documentation>
          <ncx:reference>
            <ncx:text>RFC XXXX; section 3.1</ncx:text>
          </ncx:reference>
          <xs:appinfo>
            <ncx:value>0</ncx:value>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="report-all-tagged">
        <xs:annotation>
          <xs:documentation>All default data is reported.
            Any nodes considered to be default data
            will contain a 'wd:default' XML attribute,
            set to 'true'.</xs:documentation>
          <ncx:reference>
            <ncx:text>RFC XXXX; section 3.4</ncx:text>
          </ncx:reference>
          <xs:appinfo>
            <ncx:value>1</ncx:value>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="trim">
        <xs:annotation>
          <xs:documentation>Values are not reported if they contain the default.</xs:documentation>
          <ncx:reference>
            <ncx:text>RFC XXXX; section 3.2</ncx:text>
          </ncx:reference>
          <xs:appinfo>
            <ncx:value>2</ncx:value>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="explicit">
        <xs:annotation>
          <xs:documentation>Report values that contain the definition of
            explicitly set data.</xs:documentation>
          <ncx:reference>
            <ncx:text>RFC XXXX; section 3.3</ncx:text>
          </ncx:reference>
          <xs:appinfo>
            <ncx:value>3</ncx:value>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:group name="with-defaults-parameters">
    <xs:annotation>
      <xs:documentation>Contains the &lt;with-defaults&gt; parameter for control
        of defaults in NETCONF retrieval operations.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="with-defaults" type="with-defaults-mode"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>The explicit defaults processing mode requested.</xs:documentation>
          <xs:appinfo>
            <ncx:reference>
              <ncx:text>RFC XXXX; section 4.6.1</ncx:text>
            </ncx:reference>
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:element name="with-defaults" type="with-defaults-mode"
    minOccurs="0" substitutionGroup="nc:__.get-config.input.A__">
    <xs:annotation>
      <xs:documentation>The explicit defaults processing mode requested.</xs:documentation>
      <xs:appinfo>
        <ncx:reference>
          <ncx:text>RFC XXXX; section 4.6.1</ncx:text>
        </ncx:reference>
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name="with-defaults" type="with-defaults-mode"
    minOccurs="0" substitutionGroup="nc:__.get.input.A__">
    <xs:annotation>
      <xs:documentation>The explicit defaults processing mode requested.</xs:documentation>
      <xs:appinfo>
        <ncx:reference>
          <ncx:text>RFC XXXX; section 4.6.1</ncx:text>
        </ncx:reference>
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
  <xs:element name="with-defaults" type="with-defaults-mode"
    minOccurs="0" substitutionGroup="nc:__.copy-config.input.A__">
    <xs:annotation>
      <xs:documentation>The explicit defaults processing mode requested.</xs:documentation>
      <xs:appinfo>
        <ncx:reference>
          <ncx:text>RFC XXXX; section 4.6.1</ncx:text>
        </ncx:reference>
      </xs:appinfo>
    </xs:annotation>
  </xs:element>
</xs:schema>

