Commit ef351be0 authored by Mahesh Jethanandani's avatar Mahesh Jethanandani
Browse files

Ported over VnfmInterfaceInfo definitions from SOL001

parent 6b8c6407
Loading
Loading
Loading
Loading
+114 −12
Original line number Original line Diff line number Diff line
@@ -2621,8 +2621,112 @@ submodule etsi-nfv-vnf {
           information element";
           information element";
      }
      }


      leaf vnfm-interface-info {
      container vnfm-interface-info {
        leaf interface-name {
          type string {
            pattern 'vnf-[lcm|pm|fm]';
          }
          description
            "Identifies an interface produced by the VNFM.";
        }

        container details {
          container uri-components {
            leaf scheme {
              type yang:uri;
              description
                "Corresponds to the scheme component of a URI, as
                 per IETF RFC 3986.";
              reference
                "RFC 3986: URI Generic Syntax.";
            }

            container authority {
              leaf userinfo {
                type string;
                description
                  "Corresponds to the userinfo field of the authority
                   component of a URI, as per IETF RFC 3986.

                   For HTTP and HTTPS URIs, the provisions in
                   sections 2.7.1 and 2.7.2 of IETF RFC 7230 apply,
                   respectively.";
                reference
                  "RFC 3986: URI Generic Syntax.";
              }

              leaf host {
                type yang:host;
                description
                  "Corresponds to the host field of the authority
                   component of a URI, as per IETF RFC 3986.";
                reference
                  "RFC 3986: URI Generic Syntax.";
              }

              leaf port {
                type yang:port-number;
                description
                  "Corresponds to the port field of the authority
                   component of a URI, as per IETF RFC 3986.";
                reference
                  "RFC 3986: URI Generic Syntax.";
              }
              description
                "Corresponds to the authority component of a URI,
                 as per IETF RFC 3986.";
              reference
                "RFC 3986: URI Generic Syntax.";
            }

            leaf path {
              type string;
              description
                "Corresponds to the path component of a URI, as per
                 IETF RFC 3986.";
              reference
                "RFC 3986: URI Generic Syntax.";
            }

            leaf query {
              type string;
              description
                "Corresponds to the query component of a URI, as per
                 IETF RFC 3986.";
              reference
                "RFC 3986: URI Generic Syntax.";
            }

            leaf fragment {
              type string;
              description
                "Corresponds to the fragment component of a URI, as per
                 IETF RFC 3986.";
              reference
                "RFC 3986: URI Generic Syntax.";
            }
            description
              "Provides components to build a Uniform Resource
               Identifier (URI) where to access the interface end
               point.";
          }

          leaf-list interface-specific-data {
            type string;
            type string;
            description
              "Provides additional details that are specific to the
               type of interface considered.";
          }
          description
            "Provide additional data to access the interface
             endpoint (e.g. API URI prefix).";
        }

        leaf credentials {
          type string;
          description
            "Provides credential enabling access to the interface.";
        }
        description
        description
          "Contains information enabling access to the NFV-MANO
          "Contains information enabling access to the NFV-MANO
           interfaces produced by the VNFM (e.g. URIs and
           interfaces produced by the VNFM (e.g. URIs and
@@ -2632,8 +2736,7 @@ submodule etsi-nfv-vnf {
           information element";
           information element";
      }
      }


      leaf vnfm-oauth-server-info {
      container vnfm-oauth-server-info {
	type string;
        description
        description
          "Contains information to enable discovery of the
          "Contains information to enable discovery of the
           authorization server protecting access to
           authorization server protecting access to
@@ -2643,8 +2746,7 @@ submodule etsi-nfv-vnf {
           information element";
           information element";
      }
      }


      leaf vnf-oauth-server-info {
      container vnf-oauth-server-info {
	type string;
        description
        description
          "Contains information to enable discovery of the
          "Contains information to enable discovery of the
           authorization server to validate the access tokens
           authorization server to validate the access tokens