<?xml version="1.0" encoding="gb2312"?>
<xs:schema targetNamespace="http://www.h3c.com/netconf/config:1.0" elementFormDefault="qualified" xmlns="http://www.h3c.com/netconf/config:1.0" xmlns:base="http://www.h3c.com/netconf/base:1.0" xmlns:netconf="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://www.h3c.com/netconf/base:1.0" schemaLocation="basetype.xsd">
  </xs:import>
  <xs:import schemaLocation="netconf.xsd" namespace="urn:ietf:params:xml:ns:netconf:base:1.0">
  </xs:import>
  <xs:annotation>
    <xs:documentation>
      SSH module config definition.
    </xs:documentation>
  </xs:annotation>
  <xs:element name="SSH">
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element name="Server" minOccurs="0">
          <xs:annotation>
            <xs:documentation>SSH server table.</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:all>
              <xs:element name="STelnetState" nillable="true" minOccurs="0" type="base:Boolean">
                <xs:annotation>
                  <xs:documentation>Global Stelnet Server feature.</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="SFTPState" nillable="true" minOccurs="0" type="base:Boolean">
                <xs:annotation>
                  <xs:documentation>Global SFTP Server feature.</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="SCPState" nillable="true" minOccurs="0" type="base:Boolean">
                <xs:annotation>
                  <xs:documentation>Global SCP Server feature.</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="DSCP" nillable="true" minOccurs="0">
                <xs:annotation>
                  <xs:documentation>Set the IPv4 Differentiated Services Codepoint (DSCP) value.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:simpleContent>
                    <xs:restriction base="base:UnsignedInteger32">
                      <xs:minInclusive value="0">
                      </xs:minInclusive>
                      <xs:maxInclusive value="63">
                      </xs:maxInclusive>
                    </xs:restriction>
                  </xs:simpleContent>
                </xs:complexType>
              </xs:element>
              <xs:element name="DSCP6" nillable="true" minOccurs="0">
                <xs:annotation>
                  <xs:documentation>Set the IPv6 Differentiated Services Codepoint (DSCP) value.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:simpleContent>
                    <xs:restriction base="base:UnsignedInteger32">
                      <xs:minInclusive value="0">
                      </xs:minInclusive>
                      <xs:maxInclusive value="63">
                      </xs:maxInclusive>
                    </xs:restriction>
                  </xs:simpleContent>
                </xs:complexType>
              </xs:element>
              <xs:element name="Ipv4ACLNum" nillable="true" minOccurs="0">
                <xs:annotation>
                  <xs:documentation>Specify an IPv4 ACL used to control the SSH clients' access.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:simpleContent>
                    <xs:restriction base="base:UnsignedInteger32">
                      <xs:minInclusive value="2000">
                      </xs:minInclusive>
                      <xs:maxInclusive value="4999">
                      </xs:maxInclusive>
                    </xs:restriction>
                  </xs:simpleContent>
                </xs:complexType>
              </xs:element>
              <xs:element name="Ipv6ACLNum" nillable="true" minOccurs="0">
                <xs:annotation>
                  <xs:documentation>Specify an IPv6 ACL used to control the SSH clients' access.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:simpleContent>
                    <xs:restriction base="base:UnsignedInteger32">
                      <xs:minInclusive value="2000">
                      </xs:minInclusive>
                      <xs:maxInclusive value="4999">
                      </xs:maxInclusive>
                    </xs:restriction>
                  </xs:simpleContent>
                </xs:complexType>
              </xs:element>
              <xs:element name="SFTPIdleTimeout" nillable="true" minOccurs="0">
                <xs:annotation>
                  <xs:documentation>Specify SFTP timeout value.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:simpleContent>
                    <xs:restriction base="base:UnsignedInteger32">
                      <xs:minInclusive value="1">
                      </xs:minInclusive>
                      <xs:maxInclusive value="35791">
                      </xs:maxInclusive>
                    </xs:restriction>
                  </xs:simpleContent>
                </xs:complexType>
              </xs:element>
              <xs:element name="RekeyInterval" nillable="true" minOccurs="0">
                <xs:annotation>
                  <xs:documentation>Specify the SSH server key rekey-interval.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:simpleContent>
                    <xs:restriction base="base:UnsignedInteger32">
                      <xs:minInclusive value="1">
                      </xs:minInclusive>
                      <xs:maxInclusive value="24">
                      </xs:maxInclusive>
                    </xs:restriction>
                  </xs:simpleContent>
                </xs:complexType>
              </xs:element>
              <xs:element name="AuthRetries" nillable="true" minOccurs="0">
                <xs:annotation>
                  <xs:documentation>Specify authentication retry times.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:simpleContent>
                    <xs:restriction base="base:UnsignedInteger32">
                      <xs:minInclusive value="1">
                      </xs:minInclusive>
                      <xs:maxInclusive value="5">
                      </xs:maxInclusive>
                    </xs:restriction>
                  </xs:simpleContent>
                </xs:complexType>
              </xs:element>
              <xs:element name="AuthTimeout" nillable="true" minOccurs="0">
                <xs:annotation>
                  <xs:documentation>Specify authentication timeout.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:simpleContent>
                    <xs:restriction base="base:UnsignedInteger32">
                      <xs:minInclusive value="1">
                      </xs:minInclusive>
                      <xs:maxInclusive value="120">
                      </xs:maxInclusive>
                    </xs:restriction>
                  </xs:simpleContent>
                </xs:complexType>
              </xs:element>
              <xs:element name="CompatibleSSH1XState" nillable="true" minOccurs="0" type="base:Boolean">
                <xs:annotation>
                  <xs:documentation>Enable compatible ssh1x.</xs:documentation>
                </xs:annotation>
              </xs:element>
            </xs:all>
            <xs:attributeGroup ref="base:TableAttributeGroup">
            </xs:attributeGroup>
          </xs:complexType>
        </xs:element>
      </xs:choice>
      <xs:attributeGroup ref="base:NodeAttributeGroup">
      </xs:attributeGroup>
    </xs:complexType>
  </xs:element>
</xs:schema>