<?xml version="1.0" encoding="US-ASCII"?>
<!-- <?xml version="1.0" encoding="UTF-8"?> -->
<!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com)
     by Daniel M Kohn (private)
-->
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">

<!-- <rfc category="std" ipr="full3978" docName="draft-imtl-name-autoconf-00.txt"> -->

<?rfc toc="yes"?>
<?rfc rfcedstyle="yes"?>
<?rfc subcompact="no"?>
<?rfc symrefs="yes"?>
<rfc ipr="trust200902" category="std" docName="draft-ietf-i2nsf-registration-interface-dm-00">
 
<front>
    <title abbrev="Registration Interface YANG Data Model">
        I2NSF Registration Interface Data Model
    </title>
        
   <author initials="S." surname="Hyun" fullname="Sangwon Hyun">
        <organization abbrev="Chosun University">
            Department of Computer Engineering
        </organization>

        <address>
            <postal>
                <street> Chosun University</street>
                <street>309, Pilmun-daero, Dong-gu</street>
                <city>Gwangju</city> <region>Jeollanam-do</region>
                <code>61452</code>
                <country>Republic of Korea</country>
            </postal>
            <email>shyun@chosun.ac.kr</email>

        </address>
    </author>

    <author initials="J." surname="Jeong" fullname="Jaehoon Paul Jeong">
        <organization abbrev="Sungkyunkwan University">
            Department of Software 
        </organization>

        <address>
            <postal>
                <street>Sungkyunkwan University</street>
                <street>2066 Seobu-Ro, Jangan-Gu</street>
                <city>Suwon</city> <region>Gyeonggi-Do</region>
                <code>16419</code>
                <country>Republic of Korea</country>
            </postal>
            <phone>+82 31 299 4957</phone>
            <facsimile>+82 31 290 7996</facsimile>
            <email>pauljeong@skku.edu</email>
            <uri>http://iotlab.skku.edu/people-jaehoon-jeong.php
        </uri>
        </address>
    </author>

   <author initials="T." surname="Roh" fullname="Taekyun Roh">
        <organization abbrev="Sungkyunkwan University">
            Electrical Computer Engineering
        </organization>

        <address>
            <postal>
                <street>Sungkyunkwan University</street>
                <street>2066 Seobu-Ro, Jangan-Gu</street>
                <city>Suwon</city> <region>Gyeonggi-Do</region>
                <code>16419</code>
                <country>Republic of Korea</country>
            </postal>
            <phone>+82 31 290 7222</phone>
            <facsimile>+82 31 299 6673</facsimile>
            <email>tkroh0198@skku.edu</email>
            <uri>http://imtl.skku.ac.kr/xe/index.php?mid=board_YoKq57</uri>
        </address>
   </author>
   
    <author initials="S." surname="Wi" fullname="Sarang Wi">
        <organization abbrev="Sungkyunkwan University">
            Electrical Computer Engineering
        </organization>

        <address>
            <postal>
                <street>Sungkyunkwan University</street>
                <street>2066 Seobu-Ro, Jangan-Gu</street>
                <city>Suwon</city> <region>Gyeonggi-Do</region>
                <code>16419</code>
                <country>Republic of Korea</country>
            </postal>
            <phone>+82 31 290 7222</phone>
            <facsimile>+82 31 299 6673</facsimile>
            <email>dnl9795@skku.edu</email>
            <uri>http://imtl.skku.ac.kr/xe/index.php?mid=board_YoKq57</uri>
        </address>
    </author>

    <author initials="J." surname="Park" fullname="Jung-Soo Park">
        <organization abbrev="ETRI">
            Electronics and Telecommunications Research Institute
        </organization>

        <address>
            <postal>
                <street>218 Gajeong-Ro, Yuseong-Gu</street>
                <city>Daejeon</city>
                <code>305-700</code>
                <country>Republic of Korea</country>
            </postal>
            <phone>+82 42 860 6514</phone>
            <email>pjs@etri.re.kr</email>
        </address>
    </author>
    

    <date month="October" day="20" year="2018" />
       
<!-- [rfced] Please insert any keywords (beyond those that appear in
the title) for use on http://www.rfc-editor.org/rfcsearch.html. -->

<keyword>Internet-Draft</keyword>       

    <abstract>
        <t>
            This document defines an information model and a YANG data model for Interface to Network Security Functions (I2NSF) Registration Interface between Security Controller and Developer's Management System (DMS). The objective of these information and data models is to support NSF search, instantiation and registration according to required security capabilities via I2NSF Registration Interface.
        </t>
    </abstract>
</front>

<!-- End of Front -->

<middle>
  
    <section title="Introduction">
        <t>
            A number of virtual network security function instances typically exist in Interface to Network Security Functions (I2NSF) framework <xref target="RFC8329"/>. Since these NSF instances may have different security capabilities, it is important to register the security capabilities of each NSF instance into the security controller after they have been created. In addition, it is required to search or instantiate NSFs of some required security capabilities on demand. As an example, if additional security capabilities are required to meet the new security requirements that an I2NSF user requests, the security controller should be able to request the DMS for NSFs that have the required security capabilities.
        </t>
        <t>
            This document describes an information model (see <xref target="info-model" />) and a YANG <xref target="RFC6020" /> data model (see <xref target="data-model" />) for the I2NSF Registration Interface <xref target="RFC8329" /> between the security controller and the developer's management system (DMS) to support NSF search, instantiation and registration according to required security capabilities. It also describes the procedure which should be performed by the security controller and the DMS via the Registration Interface using the defined model.
        </t>
    </section>

    <section title="Requirements Language">
        <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" />.
        </t>
    </section>

    <section title="Terminology"> 
        <t>
            This document uses the following terms defined in <xref target="i2nsf-terminology" />, <xref target="capability-im" />, <xref target="RFC8329"/>, <xref target="nsf-triggered-steering" />, <xref target="supa-policy-data-model" />, and <xref target="supa-policy-info-model" />
        </t>
        <t>
            <list style="symbols">
                <t>
                    Network Security Function (NSF): A function that is responsible for specific treatment of received packets. A Network Security Function can act at various layers of a protocol stack (e.g., at the network layer or other OSI layers). Sample Network Security Service Functions are as follows: Firewall, Intrusion Prevention/Detection System (IPS/IDS), Deep Packet Inspection (DPI), Application Visibility and Control (AVC), network virus and malware scanning, sandbox, Data Loss Prevention (DLP), Distributed Denial of Service (DDoS) mitigation and TLS proxy. <xref target="nsf-triggered-steering" />
                </t>
                <t>
                    Advanced Inspection/Action: As like the I2NSF information model for NSF facing interface <xref target="capability-im" />, Advanced Inspection/Action means that a security function calls another security function for further inspection based on its own inspection result. <xref target="nsf-triggered-steering" />
                </t>
                <t>
                    NSF Profile (NSF Capability Information): NSF Capability Information specifies the inspection capabilities of the associated NSF instance. Each NSF instance has its own NSF Capability Information to specify the type of security service it provides and its resource capacity etc. <xref target="nsf-triggered-steering" />
                </t>
                <t>
                    Data Model: A data model is a representation of concepts of interest to an environment in a form that is dependent on data repository, data definition language, query language, implementation language, and protocol. <xref target="supa-policy-info-model" />
                </t>
                <t>
                    Information Model: An information model is a representation of concepts of interest to an environment in a form that is independent of data repository, data definition language, query language, implementation language, and protocol. <xref target="supa-policy-info-model" />
                </t>

            </list>
        </t>
    </section>

    <section title="Objectives">
        <t>
            <list style="symbols">
                  <t>
                    Registering NSF instances from Developer's Management System: Depending on system's security requirements, it may require some NSFs by default. In this case, DMS creates these default NSF instances and notifies Security Controller of those NSF instances via Registration Interface.
                </t>

                <t>
                    Requesting NSF instances with required security capabilities: I2NSF users request security policies to Security Controller, and enforcing the security policies requires a set of security capabilities. In addition, when an NSF triggers another type of NSF(s) for more advanced security inspection of a given traffic, some security capabilities are also required to perform the advanced security inspection. If Security Controller has no NSF instance registered with the requried capabilities, Security Controller requests DMS for new NSF instances that can provide the required capabilities. Once receiving this request, DMS could first search its inventory for NSF instances with the required capabilities. If DMS fails to find any NSF instance, it creates new NSF instances with the required security capabilities and registers the NSF instances to Security Controller.
                </t>
                
                 <t>
                    Deleting unnecessary NSF instances: In I2NSF framework, users decide which security service is unnecessary in the system. If there exist any unused NSF instances, then we should delete the existing instances by requesting DMS via registration interface.
                </t>

                <t>
                    Updating NSF instances: After an NSF instance is registered into I2NSF framework, some changes may happen on the capability of the NSF instance. These changes should be informed to Security Controller. For this, after updating some NSF instances, DMS notifies Security Controller of the update via registration interface.
                </t>
              

            </list>
        </t>
    </section>

    <section anchor="info-model" title="Information Model">
        <t>
           The I2NSF registration interface was only used for registering new NSF instances to Security Controller.  In this document, however, we extend its utilization to support on demand NSF instantiation/de-instantiation and describe the information that should be exchanged via the registration interface for the functionality.  Moreover, we also define the information model of NSF Profile because, for registration interface, NSF Profile (i.e., capabilities of an NSF) needs to be clarified so that the components of I2NSF framework can exchange the set of capabilities in a standardized manner. This is typically done through the following process:

            <list style="format %d)">
                <t>
                    Security Controller first recognizes the set of capabilities (i.e., NSF Profile) or the signature of a specific NSF required or wasted in the current system.
                </t>
                <t>
                    Developer's Management System (DMS) matches the recognized information to an NSF based on the information model definition.
                </t>
                <t>
                    Developer's Management System creates or eliminates NSFs matching with the above information.
                </t>
                <t>
                    Security Controller can then add/remove the corresponding NSF instance to/from its list of available NSF instances in the system.
                </t>
            </list>
        </t>

        <figure anchor="the-registration-interface-information-model-design" title="Registration Interface Information Model">
            <artwork><![CDATA[
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Registration Interface Information Model                          |
|                                                                   |
|       +-+-+-+-+-+-+-+-+-+-+-+-+-+       +-+-+-+-+-+-+-+-+-+-+-+   |
|       |    Instance Management  |       |    Registration     |   |
|       |         Sub-Model       |       |      Sub-Model      |   |
|       +-+-+-+-+-+-+-+-+-+-+-+-+-+       +-+-+-+-+-+-+-+-+-+-+-+   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
            ]]></artwork>
        </figure>

        <t>
            As illustrated in <xref target="the-registration-interface-information-model-design" />, the information model for Registration Interface consists of two sub-models: instance management, registration sub-models. The instance management functionality and the registration functionality use NSF Profile to achieve their goals. In this context, NSF Profile is the capability objects that describe and/or prescribe inspection capability an NSF instance can provide.
        </t>

        <section title="NSF Instance Managment Mechanism">
             <t>
               For the instance management of NSFs, Security Controller in I2NSF framework requires two types of requests: Instantiation Request and Deinstantiation Request. Security Controller sends the request messages to DMS when required. Once receiving the request, DMS conducts creating/eliminating the corresponding NSF instance and responds Security Controller with the results. 
            </t>
            <figure anchor="Instance-management-sub-model-overview" title="Overview of Instance Management Sub-Model">
                <artwork><![CDATA[
          +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+    +-+-+-+-+-+-+-+-+-+-+
          |  Instantiation/Re-instantiation |    | De-instantiation  |
          |             Request             |    |      Request      |
          +-+-+-+-+-+-+-+-+-^-+-+-+-+-+-+-+-+    +-+-+-+-+-^-+-+-+-+-+
                            |                              |
                            |                              |
                            |                              |
                            |                              |
                  +-+-+-+-+-+-+-+-+-+              +-+-+-+-+-+-+-+-+
                  |  NSF Capability |              |  NSF Access   |
                  |   Information   |              |  Information  |
                  +-+-+-+-+-+-+-+-+-+              +-+-+-+-+-+-+-+-+
  
                ]]></artwork>
            </figure>
        </section>

        <section title="NSF Registration Mechanism">
            <t>
                In order to register a new NSF instance, DMS should generate a Registration Message to Security Controller. A Registration Message consists of an NSF Profile and an NSF Access Information. The former describes the inspection capability of the new NSF instance and the latter is for enabling network access to the new instance from other components. After this registration process, as explained in <xref target="capability-im" />, the I2NSF capability interface can conduct controlling and monitoring the new registered NSF instance.
            </t>
            <figure anchor="registration-mechanism-sub-model-overview" title="Registration Mechanism Sub-Model Overview">
            <artwork><![CDATA[
                              +-+-+-+-+-+-+-+-+
                              |      NSF      |
                              |  Registration |
                              +-+-+-+-^-+-+-+-+
                                      |
                   +-------------------------------------+
                   |                  |                  |
                   |                  |                  |
          +-+-+-+-+-+-+-+-+-+  +-+-+-+-+-+-+-+  +-+-+-+-+-+-+-+-+-+    
          |  NSF Capability |  | NSF Access  |  | NSF Rold-based  |
          |   Information   |  | Information |  |       ACL       |
          +-+-+-+-+-+-+-+-+-+  +-+-+-+-+-+-+-+  +-+-+-+-+-+-+-+-+-+
            ]]></artwork>
            </figure>
        </section>

        <section title="NSF Access Information">
            <t>
                NSF Access Information contains the followings that are required to communicate with an NSF: IPv4 address, IPv6 address, port number, and supported transport protocol(s) (e.g., Virtual Extensible LAN (VXLAN) [RFC 7348], Generic Protocol Extension for VXLAN (VXLAN-GPE) <xref target="draft-ietf-nvo3-vxlan-gpe" />, Generic Route Encapsulation (GRE), Ethernet etc.).
                In this document, NSF Access Information is used to identify a specific NSF instance (i.e. NSF Access Information is the signature(unique identifier) of an NSF instance in the overall system).
            </t>
        </section>

        <section title="NSF Capability Information (Capabilities of an NSF instance)">
            <t>
                NSF Profile basically describes the inspection capabilities of an NSF instance. In <xref target="nsf-profile-overview" />, we show capability objects of an NSF instance. Following the information model of NSF capabilities defiend in <xref target="capability-im" />, we share the same security capabilities: Network-Security Capabilities, Content-Security Capabilities, and Attack Mitigation Capabilities. Also, NSF Profile additionally contains the performance capabilities and role-Based access control list (ACL) as shown in <xref target="nsf-profile-overview" />.
            </t>
            <figure anchor="nsf-profile-overview" title="NSF Profile Overview">
            <artwork><![CDATA[
                 +-+-+-+-+-+-+-+-+    
                 |  Capability   |    
                 |    Objects    |       
                 +-+-+-+-^-+-+-+-+    
                         |                                                      
                         |
            +---------------+-------+--------------+
            |                       |              |
            |                       |              |
    +-+-+-+-+-+-+-+-+-+     +-+-+-+-+-+-+-+-+-+    |
    |Network-Security |     |Content-Security |    |
    |   Capabilities  |     |   Capabilities  |    |
    +-+-+-+-+-+-+-+-+-+     +-+-+-+-+-+-+-+-+-+    |
                                                   |
            +-----------------------+--------------+
            |                       |
            |                       |
    +-+-+-+-+-+-+-+-+-+     +-+-+-+-+-+-+-+-+-+
    |   Performance   |     |Attack Mitigation|
    |   Capabilities  |     |   Capabilities  |
    +-+-+-+-+-+-+-+-+-+     +-+-+-+-+-+-+-+-+-+
            ]]></artwork>
            </figure>

            
            <section title="Performance Capabilities">
                <t>
                    This information represents the processing capability of an NSF. This information can be used to determine whether the NSF is in congestion by comparing this with the workload that the NSF currently undergoes. Moreover, this information can specify an available amount of each type of resources such as processing power which are available on the NSF. (The registration interface can control the usages and limitations of the created instance and make the appropriate request according to the status.) As illustrated in <xref target="performance-capability-overview"/>, this information consists of two items: Processing and Bandwidth. Processing information describes the NSF's available processing power. Bandwidth describes the information about available network amount in two cases, outbound, inbound. This two information can be used for the NSF's instance request.
                </t>

                <figure anchor="performance-capability-overview" title="Performance Capability Overview">
                <artwork><![CDATA[
                         +-+-+-+-+-+-+-+-+-+
                         |   Performance   |
                         |   Capabilities  |
                         +-+-+-+-^-+-+-+-+-+
                                 |
                   +----------------------------+
                   |                            |
                   |                            | 
           +-+-+-+-+-+-+-+-+            +-+-+-+-+-+-+-+
           |  Processing   |            |  Bandwidth  |
           +-+-+-+-+-+-+-+-+            +-+-+-+-+-+-+-+
            
                ]]></artwork>
                </figure>
            </section>
        </section>
        <section title="Role-based Access Control List">
                <t>
                    This information specifies access policies of an NSF to determine whether to permit or deny the access of an entity to the NSF based on the role given to the entity. Each NSF is associated with a role-based access control list (ACL) so that it can determine whether to permit or deny the access request from an entity. <xref target="Role-based-acl-overview"/> and <xref target="Role-id-subtree"/> show the structure of the role-based ACL, which is composed of role-id, access-type, and permit/deny. The role-id identifies roles of entities (e.g., administrator, developer etc.). The access-type identifies the specific type of access requests such as NSF rule configuration/update and NSF monitoring. Consequently, the role-based ACL in <xref target="Role-based-acl-overview"/> and <xref target="Role-id-subtree"/> specifies a set of access-types to be permitted and to be denied by each role-id.

                </t>

                <figure anchor="Role-based-acl-overview" title="Role-based Access Control List">
                <artwork><![CDATA[
                           +-+-+-+-+-+-+-+-+
                           |   Role-based  |
                           |      ACL      |
                           +-+-+-+-+-+-+-+-+
                                   |                    
                 +-----------------------------------+
                 |                                   |
           +-+-+-+-+-+-+                       +-+-+-+-+-+-+
           | Role-id 1 |          ...          | Role-id N |
           +-+-+-+-+-+-+                       +-+-+-+-+-+-+
                ]]></artwork>
                </figure>

                <figure anchor="Role-id-subtree" title="Role-id Subtree">
                <artwork><![CDATA[
                           +-+-+-+-+-+-+-+-+
                           |   Role-id i   |
                           +-+-+-+-+-+-+-+-+
                                   |
                   +---------------------------------+
                   |                                 |
             +-+-+-+-+-+-+                     +-+-+-+-+-+-+
             |   Permit  |                     |   Deny    |
             +-+-+-+-+-+-+                     +-+-+-+-+-+-+
                   |                                 |
         +------------------+              +------------------+
         |                  |              |                  |
   +-+-+-+-+-+-+      +-+-+-+-+-+-+  +-+-+-+-+-+-+      +-+-+-+-+-+-+
   |access-type| ...  |access-type|  |access-type| ...  |access-type|
   |     p1    |      |     pn    |  |     d1    |      |     dn    |
   +-+-+-+-+-+-+      +-+-+-+-+-+-+  +-+-+-+-+-+-+      +-+-+-+-+-+-+
                ]]></artwork>
                </figure>

        </section>
    
    </section>

    <section anchor="data-model" title="Data Model">

           <section title="High-Level YANG">
                <t>
                    This section provides an overview of the high level YANG.
                </t>

                <section title="Definition of Symbols in Tree Diagrams">
                    <t>
                        A simplified graphical representation of the data model is used in this section.  The meaning of the symbols used in the following diagrams <xref target="i2rs-rib-data-model" /> is as follows:
                    </t>
                    <t>
                        <list>
                            <t>
                                Brackets "[" and "]" enclose list keys.
                            </t>
                            <t>
                                Abbreviations before data node names: "rw" means configuration (read-write) and "ro" state data (read-only).
                            </t>
                            <t>
                                Symbols after data node names: "?" means an optional node and "*" denotes a "list" and "leaf-list".
                            </t>
                            <t>
                                Parentheses enclose choice and case nodes, and case nodes are also marked with a colon (":").
                            </t>
                            <t>
                                Ellipsis ("...") stands for contents of subtrees that are not shown.
                            </t>
                        </list>
                    </t>
                </section>

                <section title="Registration Interface">
                    <figure anchor="high-level-i2nsf-regs-interface" title="High-Level YANG of I2NSF Registration Interface">
                        <artwork><![CDATA[
        module : ietf-i2nsf-regs-interface-model
          +--rw regs-req
          |  uses i2nsf-regs-req
          +--rw instance-mgnt-req
          |  uses i2nsf-instance-mgnt-req

                        ]]></artwork>
                    </figure>
                    <t>
                        Each of these sections mirror sections of <xref target="info-model" />.
                    </t>
                </section>
                <section title="Registration Request">
                    <t>
                        This section expands the i2nsf-regs-req in <xref target="high-level-i2nsf-regs-interface" />.
                    </t>

                    <figure anchor="high-level-i2nsf-regs-req" title="High-Level YANG of I2NSF Registration Request">
                        <artwork><![CDATA[
        Registration Request
          +--rw i2nsf-regs-req
            +--rw nsf-capability-information
            |  uses i2nsf-nsf-capability-information
            +--rw nsf-access-info
            |  uses i2nsf-nsf-access-info

                        ]]></artwork>
                    </figure>

                    <t>
                        Registration Request contains the capability information of newly created NSF to notify its capability to Security Controller. The request also contains Network Access Information so that the Security Controller can access the NSF.
                    </t>
                </section>

                <section title="Instance Management Request">
                    <t>
                        This section expands the i2nsf-instance-mgnt-req in <xref target="high-level-i2nsf-regs-interface" />.
                    </t>

                    <figure anchor="high-level-i2nsf-instance-mgnt-req" title="High-Level YANG of I2NSF Instance Mgnt Request">
                        <artwork><![CDATA[
        Instance Management Request
          +--rw i2nsf-instance-mgnt-req
            +--rw req-level uint16
            +--rw req-id uint64
            +--rw (req-type)?
              +--rw (instanciation-request)
                +--rw in-nsf-capability-information
                |  uses i2nsf-nsf-capability-information
              +--rw (deinstanciation-request)
                +--rw de-nsf-access-info
                |  uses i2nsf-nsf-access-info
              +--rw (updating-request)
                +--rw update-nsf-capability-information
                |  uses i2nsf-nsf-capability-information

                        ]]></artwork>
                    </figure>

                    <t>
                        Instance management request consists of two types: instanciation-request, deinstanciation-request, and updating-request. The instanciation-request is used to request generation of a new NSF instance with NSF Capability Information which specifies required NSF capability information. The deinstanciation-request is used to remove an existing NSF with NSF Access Information. The updating nsf request is used to updating a existing NSf information with NSF capabilities.
                    </t>
                </section>

                <section title="NSF Capability Information">
                    <t>
                        This section expands the i2nsf-nsf-capability-information in <xref target="high-level-i2nsf-regs-req" /> and <xref target="high-level-i2nsf-instance-mgnt-req" />.
                    </t>
                    <figure anchor="high-level-i2nsf-nsf-capability-information" title="High-Level YANG of I2NSF NSF Capability Information">
                        <artwork><![CDATA[
        NSF Capability Information
          +--rw i2nsf-nsf-capability-information
            +--rw i2nsf-capability
            |  uses ietf-i2nsf-capability
            +--rw performance-capability
            |  uses i2nsf-nsf-performance-caps
                        ]]></artwork>
                    </figure>

                    <t>
                        In <xref target="high-level-i2nsf-nsf-capability-information" />, ietf-i2nsf-capability refers module ietf-i2nsf-capability in <xref target="i2nsf-capability-dm" />. We add the performance capability because it is absent in <xref target="i2nsf-capability-dm" /> and <xref target="netmod-acl-model"/>
                    </t>
                </section>

                <section title="NSF Access Information">
                    <t>
                        This section expands the i2nsf-nsf-access-info in <xref target="high-level-i2nsf-regs-req" /> and <xref target="high-level-i2nsf-instance-mgnt-req" />.
                    </t>

                    <figure anchor="high-level-i2nsf-nsf-info" title="High-Level YANG of I2NSF NSF Access Informantion">
                        <artwork><![CDATA[
        NSF Access Information
          +--rw i2nsf-nsf-access-info
            +--rw nsf-address  inet:ipv4-address
            +--rw nsf-port-address inet:port-number
                        ]]></artwork>
                    </figure>

                    <t>
                        This information is used by other components to access an NSF.
                    </t>
                </section>

                <section title="NSF Performance Capability">
                    <t>
                        This section expands the i2nsf-nsf-performance-caps in <xref target="high-level-i2nsf-nsf-capability-information" />.
                    </t>

                    <figure anchor="high-level-i2nsf-nsf-performance-caps" title="High-Level YANG of I2NSF NSF Performance Capability">
                          <artwork><![CDATA[
        NSF Performance Capability
          +--rw i2nsf-nsf-performance-caps
           +--rw processing
           |   +--rw processing-average uint16
           |   +--rw processing-peak uint16   
           +--rw bandwidth
           |   +--rw outbound 
           |   |  +--rw outbound-average uint16
           |   |  +--rw outbound-peak uint16
           |   +--rw inbound
           |   |  +--rw inbound-average uint16
           |   |  +--rw inbound-peak uint16

                        ]]></artwork>
                    </figure>

                    <t>
                        When the Security Controller requests the Developer Management System to create a new NSF instance, the performance capability is used to specify the performance requirements of the new instance.
                    </t>
                </section>

                <section title="Role-Based ACL(Access Control List)">
                    <t>
                        This section expands the ietf-netmod-acl-model in <xref target="netmod-acl-model" />.
                    </t>
                    <figure anchor="role-based-acl" title="Role-Based ACL">
                        <artwork><![CDATA[
        Role-Based ACL
          +--rw role-based-acl
               uses ietf-netmod-acl-model
                        ]]></artwork>
                    </figure>

                    <t>
                        In <xref target="netmod-acl-model" />, ietf-netmod-acl-model refers module ietf-netmod-acl-model in <xref target="netmod-acl-model" />. We add the role-based ACL because it is absent in <xref target="i2nsf-capability-dm" />.
                    </t>
                </section>
            </section>

                <section title="YANG Modules">
                    <t>
                        This section introduces a YANG module for the information model of the required data for the registration interface between Security Controller and Developer's Management System, as defined in <xref target="info-model" />.
                    </t>

            <figure anchor="data-model-i2nsf-regs-interface" title="Data Model of I2NSF Registration Interface">
                    <artwork><![CDATA[
            <CODE BEGINS> file "ietf-i2nsf-regs-interface@2018-07-26.yang"
                module ietf-i2nsf-regs-interface {
                  namespace 
                   "urn:ietf:params:xml:ns:yang:ietf-i2nsf-regs-interface";
                  prefix
                    regs-interface;
                  import ietf-inet-types{
                   prefix inet;
                  }
                        
                  organization
                   "IETF I2NSF (Interface to Network Security Functions) 
                    Working Group";

                  contact
                   "WG Web: <http://tools.ietf.org/wg/i2nsf>
                   WG List: <mailto:i2nsf@ietf.org>

                   WG Chair: Adrian Farrel
                   <mailto:Adrain@olddog.co.uk>

                   WG Chair: Linda Dunbar
                   <mailto:Linda.duhbar@huawei.com>

                   Editor: Sangwon Hyun 
                   <mailto:swhyun77@skku.edu>

                   Editor: Jaehoon Paul Jeong
                   <mailto:pauljeong@skku.edu>

                   Editor: Taekyun Roh
                   <mailto:tkroh0198@skku.edu>

                   Editor: Sarang Wi
                   <mailto:dnl9795@skku.edu>

                   Editor: Jung-Soo Park
                   <mailto:pjs@etri.re.kr>";

                  description
                    "It defines a YANG data module for Registration Interface.";
                  revision "2018-07-26"{
                    description "The second revision";
                    reference
                    "draft-ietf-i2nsf-capability-data-model-01";
                  } 
                list interface-container{
                    key "interface-name";
                    description
                    "i2nsf-reg-interface-container";        
                    leaf interface-name{
                      type string;
                      description
                      "interface name";
                    }
                    container i2nsf-regs-req {
                     description
                     "The capability information of newly
                     created NSF to notify its 
                     capability to Security Controller";
                     container nsf-capability-information {
                      description
                      "nsf-capability-information";
                      uses i2nsf-nsf-capability-information;
                     }  
                    container nsf-access-info {
                     description
                     "nsf-access-info";
                     uses i2nsf-nsf-access-info;
                    }     
                    container ietf-netmod-acl-model{
                     description
                     "netmod-acl-model";
                     uses ietf-netmod-acl-model;
                    }
                   }        
                    container i2nsf-instance-mgnt-req {
                     description
                     "Required information for instanciation-request, 
                     deinstanciation-request and updating-request";
                     leaf req-level {
                      type uint16;
                      description
                      "req-level";
                    }
                     leaf req-id {
                      type uint64;
                      mandatory true;
                      description
                      "req-id";
                     }
                     choice req-type {
                      description
                      "req-type";
                      case instanciation-request {
                       description
                       "instanciation-request";
                      container in-nsf-capability-information {
                        description
                        "nsf-capability-information";
                        uses i2nsf-nsf-capability-information;
                       }
                      }
                      case deinstanciation-request {
                       description
                       "deinstanciation-request";
                       container de-nsf-access-info {
                         description
                         "nsf-access-info";
                         uses i2nsf-nsf-access-info;
                        }
                      }       
                      case updating-request {
                       description
                        "updating nsf's information";
                        container update-nsf-capability-information {
                         description
                         "nsf-capability-information";
                         uses i2nsf-nsf-capability-information;
                        }
                      }
                     }
                    }
                }   
                grouping i2nsf-nsf-performance-caps {
                    description
                    "NSF performance capailities";
                    container processing{
                      description
                      "processing info";
                      leaf processing-average{
                       type uint16;
                       description
                       "processing-average";
                      }
                      leaf processing-peak{
                       type uint16;
                       description
                       "processing peak";
                      }
                    }
                    container bandwidth{
                      description
                      "bandwidth info";
                      container inbound{
                       description
                       "inbound";
                       leaf inbound-average{
                        type uint16;
                        description
                        "inbound-average";
                       }
                       leaf inbound-peak{
                        type uint16;
                        description
                        "inbound-peak";
                       }
                      } 
                      container outbound{
                       description
                       "outbound";
                       leaf outbound-average{
                        type uint16;
                        description
                        "outbound-average";
                       }
                       leaf outbound-peak{
                        type uint16;
                        description
                        "outbound-peak";
                       }
                      }
                    }
                }   
                grouping i2nsf-nsf-capability-information {
                  description
                  "Detail information of an NSF";
                  container performance-capability {
                   uses i2nsf-nsf-performance-caps;
                   description 
                   "performance-capability";
                  }
                  container i2nsf-capability {
                   description
                   "It refers draft-ietf-i2nsf-capability-data-model-01.txt 
                   later";
                  }
                }
                grouping ietf-netmod-acl-model {
                  description
                  "Detail information";
                  container role-based-acl {
                   description
                   "It refers draft-ietf-netmod-acl-model-19.txt
                   later";
                  }
                }
                grouping i2nsf-nsf-access-info {
                  description
                  "NSF access information";
                  leaf nsf-address {
                   type inet:ipv4-address;
                   mandatory true;
                   description
                   "nsf-address";
                  }
                  leaf nsf-port-address {
                   type inet:port-number;
                   description
                   "nsf-port-address";
                  }
                }   
            }

            <CODE ENDS>
                            ]]></artwork>
                        </figure>
                    
                    <section title="XML Example of Registration Interface Data Model">
                    <t>
                        Requirement: Registering the IDS NSF with VoIP/VoLTE security capability using Registration interface.
                    </t>
                    <t>
                        Here is the configuration xml for this Registration Interface:
                    </t>
                    <figure anchor="i2nsf-regs-interface-example" title="Registration Interface example">
                    <artwork><![CDATA[
            <?xml version="1.0" encoding="UTF-8"?>
            <rpc xmlns="urn:ietf:params:netconf:base:1.0" message-id="1">
              <edit-config>
                <target>
                  <running/>
                </target>
                <config>
                <i2nsf-regs-req>
                  <i2nsf-nsf-capability-information>
                    <ietf-i2nsf-capability>
                      <nsf-capabilities>
                       <nsf-capabilities-id>1</nsf-capabilities-id>
                        <con-sec-control-capabilities>
                         <content-security-control>
                          <ids>
                           <ids-support>true</ids-support>
                           <ids-fcn nc:operation="create">
                            <ids-fcn-name>ids-service</ids-fcn-name>
                           </ids-fcn>
                          </ids>
                          <voip-volte>
                           <voip-volte-support>true</voip-volte-support>
                           <voip-volte-fcn nc:operation="create">
                            <voip-volte-fcn-name>
                             ips-service
                            </voip-volte-fcn-name>
                           </voip-volte-fcn>
                          </voip-volte>
                         </content-security-control>
                       </con-sec-control-capabilities>
                      </nsf-capabilities>
                    </ietf-i2nsf-capability>
                    <i2nsf-nsf-performance-caps>
                      <processing>
                       <processing-average>1000</processing-average>
                       <processing-peak>5000</processing-peak>
                      </processing>
                      <bandwidth>
                       <outbound>
                        <outbound-average>1000</outbound-average>
                        <outbound-peak>5000</outbound-peak>
                       </outbound>
                       <inbound>
                        <inbound-average>1000</inbound-average>
                        <inbound-peak>5000</inbound-peak>
                       </inbound>
                      </bandwidth>
                    </i2nsf-nsf-performance-caps>
                  </i2nsf-nsf-capability-information>
                  <nsf-access-info>
                   <nsf-address>10.0.0.1</nsf-address>
                   <nsf-port-address>145</nsf-port-address>
                  </nsf-access-info>
                </i2nsf-regs-req>
                </config>
              </edit-config>
            </rpc>
                    ]]></artwork>
                    </figure>
                </section>


                </section>

    </section>

    <section title="Security Considerations">
        <t>
            This document introduces no additional security threats and SHOULD follow the security requirements as stated in <xref target="RFC8329"/>.
        </t>        
    </section>

    <section title="Acknowledgments">
        <t>
            This work was supported by Institute for Information &amp; communications Technology Promotion(IITP) grant funded by the Korea government(MSIP) (No.R-20160222-002755, Cloud based Security Intelligence Technology Development for the Customized Security Service Provisioning).
        </t>
    </section>
    
</middle>

<back>

<references title="Normative References">
    <reference anchor="RFC2119">
        <front>
            <title>Key words for use in RFCs toIndicate Requirement Levels</title>
            <author initials="S." surname="Bradner" />
            <date month="March" year="1997" />
        </front>
        <seriesInfo name="RFC" value="2119" />
    </reference>

    <reference anchor="RFC6020">
        <front>
            <title>YANG - A Data Modeling Language for the Network Configuration Protocol (NETCONF)</title>
            <author initials="M." surname="Bjorklund" />
            <date month="October" year="2010" />
        </front>
        <seriesInfo name="RFC" value="6020" />
    </reference>
</references>

<references title="Informative References">


    <reference anchor="capability-im">
        <front>
            <title>Information Model of NSFs Capabilities</title>
            <author initials="L." surname="Xia" />
            <author initials="J." surname="Strassner" />
            <author initials="C." surname="Basile" />
            <author initials="D." surname="Lopez" />
            <date month="July" year="2018" />
        </front>
        <seriesInfo name="Internet-Draft" value="draft-i2nsf-capability-02" />
    </reference>

    <reference anchor="RFC8329">
        <front>
            <title>Framework for Interface to Network Security Functions</title>
            <author initials="D." surname="Lopez"/>
            <author initials="E." surname="Lopez"/>
            <author initials="L." surname="Dunbar"/>
            <author initials="J." surname="Strassner"/>
            <author initials="R." surname="Kumar"/>
            <date month="February" year="2018" />
        </front>
        <seriesInfo name="RFC" value="8329" />
    </reference>


    <reference anchor="i2nsf-terminology">
        <front>
            <title> Interface to Network Security Functions (I2NSF) Terminology</title>
            <author initials="S." surname="Hares"/>
            <author initials="J." surname="Strassner"/>
            <author initials="D." surname="Lopez"/>
            <author initials="L." surname="Xia"/>
            <author initials="H." surname="Birkholz"/>
            <date month="July" year="2018" />
        </front>
        <seriesInfo name="Internet-Draft" value="draft-ietf-i2nsf-terminology-06" />
    </reference>

    <reference anchor="nsf-triggered-steering">
        <front>
            <title> Service Function Chaining-Enabled I2NSF Architecture </title>
            <author initials="S." surname="Hyun" />
            <author initials="J." surname="Jeong" />
            <author initials="J." surname="Park" />
            <author initials="S." surname="Hares" />
            <date month="July" year="2018" />
        </front>
        <seriesInfo name="Internet-Draft" value="draft-hyun-i2nsf-nsf-triggered-steering-06" />
    </reference>

    <reference anchor="i2nsf-capability-dm">
        <front>
            <title>I2NSF Capability YANG Data Model</title>
            <author initials="S." surname="Hares"/>
            <author initials="J." surname="Jeong"/>
            <author initials="J." surname="Kim"/>
        <author initials="R." surname="Moskowitz"/>
        <author initials="Q." surname="Lin"/>
            <date month="July" year="2018" />
        </front>
        <seriesInfo name="Internet-Draft" value="draft-ietf-i2nsf-capability-data-model-01" />
    </reference>

    <reference anchor="supa-policy-info-model">
        <front>
            <title>Generic Policy Information Model for Simplified Use of Policy Abstractions (SUPA)</title>
            <author initials="J." surname="Strassner"/>
            <author initials="J." surname="Halpern"/>
            <author initials="S." surname="van der Meer"/>
            <date month="May" year="2017" />
        </front>
        <seriesInfo name="Internet-Draft" value="draft-ietf-supa-generic-policy-info-model-03" />
    </reference>

    <reference anchor="supa-policy-data-model">
        <front>
            <title>Generic Policy Data Model for Simplified Use of Policy Abstractions (SUPA)</title>
            <author initials="J." surname="Halpern"/>
            <author initials="J." surname="Strassner"/>
            <author initials="S." surname="van der Meer"/>
            <date month="June" year="2017" />
        </front>
        <seriesInfo name="Internet-Draft" value="draft-ietf-supa-generic-policy-data-model-04" />
    </reference>

    <reference anchor="i2rs-rib-data-model">
        <front>
            <title>A YANG Data Model for Routing Information Base (RIB)</title>
            <author initials="L." surname="Wang"/>
        <author initials="M." surname="Chen"/>
            <author initials="A." surname="Dass"/>
            <author initials="H." surname="Ananthakrishnan"/>
            <author initials="S." surname="Kini"/>
            <author initials="N." surname="Bahadur"/>
            <date month="May" year="2018" />
        </front>
        <seriesInfo name="Internet-Draft" value="draft-ietf-i2rs-rib-data-model-15" />
    </reference>
    
     <reference anchor="netmod-acl-model">
        <front>
            <title>Network Access Control List (ACL) YANG Data Model</title>
            <author initials="M." surname="Jethanandani" />
            <author initials="L." surname="Huang" />
            <author initials="S." surname="Agarwal" />
            <author initials="D." surname="Blair" />
            <date month="April" year="2018" />
        </front>
        <seriesInfo name="Internet-Draft" value="draft-ietf-netmod-acl-model-19" />
    </reference>

    <reference anchor="draft-ietf-nvo3-vxlan-gpe">
        <front>
            <title>Generic Protocol Extension for VXLAN</title>
            <author initials="F." surname="Maino, Ed." />
            <author initials="L." surname="Kreeger, Ed." />
            <author initials="U." surname="Elzur, Ed." />
            <date month="April" year="2018" />
        </front>
        <seriesInfo name="Internet-Draft" value="draft-ietf-nvo3-vxlan-gpe-06" />
    </reference>

</references>

</back>

<!-- <vspace blankLines="100"/> -->
<!-- page break to put addresses onto one page-->

</rfc>

