Seems straight forward enough.  +1

    - Garrett

On 05/ 5/10 01:31 PM, Liane Praza wrote:
Template Version: @(#)sac_nextcase 1.70 03/30/10 SMI
This information is Copyright (c) 2010, Oracle and/or its affiliates. All 
rights reserved.
1. Introduction
     1.1. Project/Component Working Name:
         SMF networking type extensions
     1.2. Name of Document Author/Supplier:
         Author:  Antonello Cruz
     1.3  Date of This Document:
        05 May, 2010
4. Technical Description
     4.1. Details:
         This project aims to enable SMF to provide better
        infra-structure for networking configuration tools.
         This project is seeking minor binding.

        This project introduces a new type in libscf, SCF_TYPE_NET_ADDR,
        for generic address types. This case also propses to change the
        SCF base type for SCF_TYPE_NET_ADDR_V4 and SCF_TYPE_NET_ADDR_V6.
        Currently, their base type is SCF_TYPE_HOST and we are proposing
        it to be a generic SCF_TYPE_NET_ADDR. The base type for
        SCF_TYPE_NET_ADDR will be SCF_TYPE_HOST.

         These changes can only be incompatible if someone is using
         scf_type_base_type(3SCF) on either SCF_TYPE_NET_ADDR_V4 or
         SCF_TYPE_NET_ADDR_V6 and checking that it returns SCF_TYPE_HOST.
         In ON the only consumer of scf_type_base_type(3SCF) is SMF and
         it is used in a loop to make sure the final base type is
         SCF_TYPE_ASTRING.

         The SMF team thinks it is highly unlikely that there is a
         consumer of that interface outside ON that will break because of
         this.

        Additionally, this project will also implement checks to enforce
        the values of type SCF_TYPE_NET_ADDR, SCF_TYPE_NET_ADDR_V4 and
        SCF_TYPE_NET_ADDR_V6 are valid representations of addresses.

     4.2. Bug/RFE Number(s):
        6934227  SMF should validate net_address_v4 amd net_address_v6
                 property types
         6934233  A generic net_address SMF property type would be useful

     4.5. Interfaces:
         New libscf type and base types: see manpage diffs

         Imported interfaces:
             inet_pton(3SOCKET)  from libnsl.so.1

     4.6. Doc Impact:

--- scf_value_create.3scf.old   Wed Apr 28 09:35:41 2010
+++ scf_value_create.3scf.new   Wed Apr 28 15:40:03 2010
@@ -114,9 +114,11 @@
       SCF_TYPE_HOST        USTRING     either a hostname,  IPv4  address,  or
                                        IPv6 address
       SCF_TYPE_HOSTNAME            HOST        a fully-qualified domain name
-     SCF_TYPE_NET_ADDR_V4   HOST       a  dotted-quad   IPv4   address   with
+     SCF_TYPE_NET_ADDR      HOST        a valid SCF_TYPE_NET_ADDR_V4 or
+                                        SCF_TYPE_NET_ADDR_V6 address
+     SCF_TYPE_NET_ADDR_V4   NET_ADDR    a  dotted-quad  IPv4   address   with
                                        optional network portion
-     SCF_TYPE_NET_ADDR_V6   HOST       legal IPv6 address
+     SCF_TYPE_NET_ADDR_V6   NET_ADDR    legal IPv6 address

       The     scf_value_get_boolean(),    scf_value_get_count(),
       scf_value_get_integer(),             scf_value_get_time(),

6. Resources and Schedule
     6.4. Steering Committee requested information
        6.4.1. Consolidation C-team Name:
                ON
     6.5. ARC review type: FastTrack
     6.6. ARC Exposure: open


_______________________________________________
opensolaris-arc mailing list
[email protected]

Reply via email to