<?xml version="1.0" encoding="US-ASCII"?>
<!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com)
     by Daniel M Kohn (private) -->
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
<!ENTITY rfc2119 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml">
]>
<rfc category="info" docName="draft-ninomiya-netappvlan-02" ipr="trust200902">
  <?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>

  <?rfc toc="yes" ?>

  <?rfc symrefs="yes" ?>

  <?rfc sortrefs="yes"?>

  <?rfc iprnotified="no" ?>

  <?rfc strict="yes" ?>

  <front>
    <title>The VLAN Model for Applications</title>

    <author fullname="Megumi Ninomiya" initials="M.N.." surname="Ninomiya">
      <organization>Internet Initiative Japan Inc.</organization>

      <address>
        <postal>
          <street>Jinbocho-Mitsui Buld., 1-105 Kanda Jinbo-cho,</street>

          <city>Chiyoda-ku</city>

          <region>Tokyo</region>

          <code>101-0051</code>

          <country>Japan</country>
        </postal>

        <phone>+81 3 5205 6464</phone>

        <email>ninomiya@iij.ad.jp</email>
      </address>
    </author>

    <author fullname="Ray S. Atarashi" initials="R.A." surname="Atarashi">
      <organization>Internet Initiative Japan Inc.</organization>

      <address>
        <postal>
          <street>Jinbocho-Mitsui Buld., 1-105 Kanda Jinbo-cho,</street>

          <city>Chiyoda-ku</city>

          <region>Tokyo</region>

          <code>101-0051</code>

          <country>Japan</country>
        </postal>

        <phone>+81 3 5205 6464</phone>

        <email>ray@iijlab.net</email>
      </address>
    </author>

    <date></date>

    <abstract>
      <t>This document describes the model for application and network
      interaction in reaction to Application Area Architecture Workshop held
      on February 11 and 12, 2008. There is not completed mechanism for
      collaboration between application and network yet even though a solution
      is required. The model proposed in this document is designed without a
      layer violation. This document propose the VLAN model for the
      application users.</t>
    </abstract>
  </front>

  <middle>
    <section title="Introduction">
      <t>This document describes the model for application and network
      interaction in reaction to Application Area Architecture Workshop held
      on February 11 and 12, 2008. There is not completed mechanism for
      collaboration between application and network yet even though a solution
      is required. The model proposed in this document is designed without a
      layer violation. This document propose the VLAn model for the
      application users.</t>

      <section title="Requirements notation">
        <t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
        "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
        document are to be interpreted as described in <xref
        target="RFC2119"></xref>.</t>
      </section>
    </section>

    <section title="VLAN Model">
      <t>The VLAN is one of technologies to implement the L2 layer closed
      network. Since VLAN configuration is proprietary parameter and
      interface, it is useful to provide common model and schema for the
      application users.</t>

      <t>This model is the primitive data model involved by usage scenario
      corresponding to requirements. This kind of primitive data model is
      required to standardized because it should be common for application and
      user. Application and user don't need to CLI level configuration using
      this model. </t>

      <t>We designed the common VLAN model as below.</t>

      <t><vspace /></t>

      <figure>
        <artwork><![CDATA[
    +-------------------------------------------------+
    |                Network Device                   |
    |                                                 |
    +-------------------------------------------------+
       port 0/7   port 0/11      port 0/15  port 0/17  
           |          |              |          |
           |          |              |          |
        VLAN100    VLAN100         untag      untag
           |          |              |          |
           |          |              |          |
       port 0/1   port 0/1       port 0/1   port 0/1
     +---------+ +---------+   +---------+ +---------+
     | ServerA | | ServerB |   | ServerC | | ServerD |
     |         | |         |   |         | |         |
     +---------+ +---------+   +---------+ +---------+
]]></artwork>
      </figure>

      <section title="VLAN Schema">
        <t>This section describes the VLAN Schema. This schema can describe
        both tagged vlan and untagged vlan. Tagged vlan id is managed to keep
        uniq and not exceed to 4096.</t>

        <t><vspace /></t>

        <figure>
          <artwork><![CDATA[<?xml version="1.0" encoding="utf-8" ?>

<xsd:schema elementFormDefault="qualified" 
 targetNamespace="http://siesta.iij.ad.jp/L2_domain" 
 xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
 xmlns:L2_domain="http://siesta.iij.ad.jp/L2_domain">
 <xsd:element name="root">
  <xsd:complexType>
   <xsd:sequence>
    <xsd:element name="tagged_vlan_domain" maxOccurs="unbounded">
     <xsd:complexType>
      <xsd:sequence>
       <xsd:element name="tagged_vlan_domain_id" type="xsd:string" />
       <xsd:element name="tagged_vlan" maxOccurs="4096">
        <xsd:complexType>
         <xsd:sequence>
          <xsd:element name="vlan_id">
           <xsd:simpleType>
            <xsd:restriction base="xsd:integer">
             <xsd:minInclusive value="1" />
             <xsd:maxInclusive value="4096" />
            </xsd:restriction>
           </xsd:simpleType>
          </xsd:element>
          <xsd:element name="vlan_name" type="xsd:string" />
          <xsd:element name="network_interface_list">
           <xsd:complexType>
            <xsd:sequence>
             <xsd:element name="network_interface_location" 
               type="xsd:string" maxOccurs="unbounded">
             </xsd:element>
            </xsd:sequence>
           </xsd:complexType>
          </xsd:element>
         </xsd:sequence>
        </xsd:complexType>
       </xsd:element>
      </xsd:sequence>
     </xsd:complexType>
    </xsd:element>
    <xsd:element name="unntagged_vlan_domain" maxOccurs="unbounded">
     <xsd:complexType>
      <xsd:sequence>
       <xsd:element name="untagged_vlan_domain_id" type="xsd:string" />
       <xsd:element name="untagged_vlan">
        <xsd:complexType>
         <xsd:sequence>
          <xsd:element name="untagged_vlan" 
             type="xsd:string" fixed="untag" />
          <xsd:element name="network_interface_list">
           <xsd:complexType>
            <xsd:sequence>
             <xsd:element name="network_interface_location" 
               type="xsd:string" maxOccurs="unbounded" />
            </xsd:sequence>
           </xsd:complexType>
          </xsd:element>
         </xsd:sequence>
        </xsd:complexType>
       </xsd:element>
      </xsd:sequence>
     </xsd:complexType>
    </xsd:element>
   </xsd:sequence>
  </xsd:complexType>
 </xsd:element>
</xsd:schema>]]></artwork>
        </figure>
      </section>

      <section title="VLAN XML example">
        <t>This section describes the VLAN XML example.</t>

        <t><vspace /></t>

        <figure>
          <artwork><![CDATA[<?xml version="1.0" encoding="utf-8" ?>

<L2_domain:root xmlns:L2_domain="http://siesta.iij.ad.jp/L2_domain">
 <L2_domain:tagged_vlan_domain>
  <L2_domain:tagged_vlan_domain_id>tagged_vlan_domain_1
    </L2_domain:tagged_vlan_domain_id>
  <L2_domain:tagged_vlan>
   <L2_domain:vlan_id>100</L2_domain:vlan_id>
   <L2_domain:vlan_name>VLAN100</L2_domain:vlan_name>
   <L2_domain:network_interface_list>
    <L2_domain:network_interface_location>NetworkDevice:port0/7
      </L2_domain:network_interface_location>
    <L2_domain:network_interface_location>NetworkDevice:port0/11
      </L2_domain:network_interface_location>
    <L2_domain:network_interface_location>serverA:port0/1
      </L2_domain:network_interface_location>
    <L2_domain:network_interface_location>serverB:port0/1
      </L2_domain:network_interface_location>
   </L2_domain:network_interface_list>
  </L2_domain:tagged_vlan>
 </L2_domain:tagged_vlan_domain>
 <L2_domain:unntagged_vlan_domain>
  <L2_domain:untagged_vlan_domain_id>untagged_vlan_domain_1
    </L2_domain:untagged_vlan_domain_id>
  <L2_domain:untagged_vlan>
   <L2_domain:untagged_vlan>untag</L2_domain:untagged_vlan>
   <L2_domain:network_interface_list>
    <L2_domain:network_interface_location>NetworkDevice:port0/15
      </L2_domain:network_interface_location>
    <L2_domain:network_interface_location>NetworkDevice:port0/17
      </L2_domain:network_interface_location>
    <L2_domain:network_interface_location>serverC:port0/1
      </L2_domain:network_interface_location>
    <L2_domain:network_interface_location>serverD:port0/1
      </L2_domain:network_interface_location>
   </L2_domain:network_interface_list>
  </L2_domain:untagged_vlan>
 </L2_domain:unntagged_vlan_domain>
</L2_domain:root>]]></artwork>
        </figure>
      </section>
    </section>

    <section title="Security Considerations">
      <t>TBD</t>
    </section>
  </middle>

  <back>
    <references title="Normative References">
      &rfc2119;
    </references>
  </back>
</rfc>