<?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-ipv4-unicast-routing"
  targetNamespace="urn:ietf:params:xml:ns:yang:ietf-ipv4-unicast-routing"
  elementFormDefault="qualified" attributeFormDefault="unqualified"
  xml:lang="en" version="2011-09-23"
  xmlns:ncx="http://netconfcentral.org/ns/yuma-ncx"
  xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"
  xmlns:rt="urn:ietf:params:xml:ns:yang:ietf-routing"
  xmlns:inet="urn:ietf:params:xml:ns:yang:ietf-inet-types"
  xmlns:if="urn:ietf:params:xml:ns:yang:ietf-interfaces">
  <xs:annotation>
    <xs:documentation>Converted from YANG file 'ietf-ipv4-unicast-routing.yang' by yangdump version 2.2.1724
      
      Module: ietf-ipv4-unicast-routing
      Organization: IETF NETMOD (NETCONF Data Modeling Language) Working Group
      Version: 2011-09-23
      Contact: WG Web: &lt;http://tools.ietf.org/wg/netmod/&gt;
      WG List: &lt;mailto:netmod@ietf.org&gt;
      
      WG Chair: David Kessens
      &lt;mailto:david.kessens@nsn.com&gt;
      
      WG Chair: Juergen Schoenwaelder
      &lt;mailto:j.schoenwaelder@jacobs-university.de&gt;
      
      Editor: Ladislav Lhotka
      &lt;mailto:lhotka@cesnet.cz&gt;
      </xs:documentation>
    <xs:documentation>This module augments the 'ietf-routing' module with YANG
      definitions for basic configuration of IPv4 unicast routing.
      
      Copyright (c) 2011 IETF Trust and the persons identified as
      authors of the code. 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-ipv4-unicast-routing.yang</ncx:source>
      <ncx:organization>IETF NETMOD (NETCONF Data Modeling Language) Working Group</ncx:organization>
      <ncx:contact>WG Web: &lt;http://tools.ietf.org/wg/netmod/&gt;
        WG List: &lt;mailto:netmod@ietf.org&gt;
        
        WG Chair: David Kessens
        &lt;mailto:david.kessens@nsn.com&gt;
        
        WG Chair: Juergen Schoenwaelder
        &lt;mailto:j.schoenwaelder@jacobs-university.de&gt;
        
        Editor: Ladislav Lhotka
        &lt;mailto:lhotka@cesnet.cz&gt;
        </ncx:contact>
    </xs:appinfo>
    <xs:appinfo>
      <ncx:revision>
        <ncx:version>2011-09-23</ncx:version>
        <ncx:description>Initial revision.</ncx:description>
      </ncx:revision>
    </xs:appinfo>
  </xs:annotation>
  <xs:group name="route-content">
    <xs:annotation>
      <xs:documentation>Specific parameters of IPv4 unicast routes.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="destination-prefix" type="inet:ipv4-prefix"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>IPv4 destination prefix.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="next-hop" type="inet:ipv4-address"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>IPv4 address of the next hop.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="outgoing-interface" type="if:interface-ref"
        minOccurs="0">
        <xs:annotation>
          <xs:documentation>Outgoing interface.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:group>
  <xs:element name="address" type="inet:ipv4-address" minOccurs="0"
    substitutionGroup="rt:__.get-route.input.destination-address.A__">
    <xs:annotation>
      <xs:documentation>IPv4 destination address.</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="destination-prefix" type="inet:ipv4-prefix"
    minOccurs="0" substitutionGroup="rt:__.get-route.output.route.A__">
    <xs:annotation>
      <xs:documentation>IPv4 destination prefix.</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="next-hop" type="inet:ipv4-address" minOccurs="0"
    substitutionGroup="rt:__.get-route.output.route.A__">
    <xs:annotation>
      <xs:documentation>IPv4 address of the next hop.</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="outgoing-interface" type="if:interface-ref"
    minOccurs="0" substitutionGroup="rt:__.get-route.output.route.A__">
    <xs:annotation>
      <xs:documentation>Outgoing interface.</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="ipv4-unicast-static-routes"
    substitutionGroup="rt:__.routing.router.routing-protocols.routing-protocol.A__">
    <xs:annotation>
      <xs:documentation>Configuration of a 'static' pseudo-protocol instance
        consists of a list of routes.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="static-route" minOccurs="0"
          maxOccurs="unbounded">
          <xs:annotation>
            <xs:documentation>A user-ordered list of static routes.</xs:documentation>
            <xs:appinfo>
              <ncx:ordered-by>user</ncx:ordered-by>
            </xs:appinfo>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="id" type="xs:string">
                <xs:annotation>
                  <xs:documentation>An identification string for the route.</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="description" type="xs:string"
                minOccurs="0">
                <xs:annotation>
                  <xs:documentation>Textual description of the route.</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="destination-prefix"
                type="inet:ipv4-prefix" minOccurs="0">
                <xs:annotation>
                  <xs:documentation>IPv4 destination prefix.</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="next-hop" type="inet:ipv4-address"
                minOccurs="0">
                <xs:annotation>
                  <xs:documentation>IPv4 address of the next hop.</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="outgoing-interface"
                type="if:interface-ref" minOccurs="0">
                <xs:annotation>
                  <xs:documentation>Outgoing interface.</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:any minOccurs="0" maxOccurs="unbounded"
                namespace="##other" processContents="lax"/>
            </xs:sequence>
          </xs:complexType>
          <xs:key name="static-routekey49">
            <xs:selector xpath="."/>
            <xs:field xpath="id"/>
          </xs:key>
        </xs:element>
        <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"
          processContents="lax"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="destination-prefix" type="inet:ipv4-prefix"
    minOccurs="0"
    substitutionGroup="rt:__.routing.router.routing-tables.routing-table.routes.route.A__">
    <xs:annotation>
      <xs:documentation>IPv4 destination prefix.</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="next-hop" type="inet:ipv4-address" minOccurs="0"
    substitutionGroup="rt:__.routing.router.routing-tables.routing-table.routes.route.A__">
    <xs:annotation>
      <xs:documentation>IPv4 address of the next hop.</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="outgoing-interface" type="if:interface-ref"
    minOccurs="0"
    substitutionGroup="rt:__.routing.router.routing-tables.routing-table.routes.route.A__">
    <xs:annotation>
      <xs:documentation>Outgoing interface.</xs:documentation>
    </xs:annotation>
  </xs:element>
</xs:schema>

