| Solaris |
|
|
Copyright 1991-2006, Sun Microsystems, Inc
The Interface Taxonomy is a classification scheme for interfaces which is used to ascribe a stability classification to an interface.
Interface taxonomy classifications are provided to give guidance to users as to the appropriateness of an interface for a given task in a specific usage environment. Project teams typically propose to the ARC a stability classification for each of their new or changed interfaces. ARC opinions identify the stability classification accepted by the committee for each interface.
The stability classification identifies:
| Category | Software |
|---|---|
| Owner | SAC |
| Author | ARC-Chairs |
| Changes | ARC-Chairs |
| Authority | SAC |
| Policy Version | 3.1 |
| Status | Approved |
| Last Reviewed | Jun 14, 2006 Dec 5, 2001 |
| Effective | April, 1992 |
This document was written for software developers who are managing stability expectations for the components and features they are developing.
Consumers of these components and expectatons (peer developers, project and program management, ARC members and ISVs) also need to understand the concepts in this classification scheme.
This taxonomy is used extensively by the ARCs to ensure that newly created interfaces have explicit stability expectations and that those expectations are met over time as a component evolves.
Interface taxonomy stability classifications are provided to give guidance to users as to the appropriateness of an interface for a given task in a specific usage environment. Project teams typically propose to the ARC a stability classification for each of their new or changed interfaces. ARC opinions identify the stability classification accepted by the committee for each interface.
Stability classifications defined in this document should be spelled uniformly with initial capitals, to differentiate them from the common English words (e.g., Committed, Uncommitted, Project Private).
The interface taxonomy stability classifications in this document may be divided into two broad, distinct groups:
Previous versions of this document focused Public commitment levels exclusively on a guarantee as to when an interface would not change incompatibly. Over time, additional commitment levels were introduced to convey intent (rather than guarantee) or restrict the source of the change. These well intentioned additions were found to be counter-productive due to multiple interpretations and misinterpretations. This revision simplifies the taxonomy, reverting back to a state closer to its original form. Appendix A presents the classification levels deprecated by this revision and provides mapping details from those deprecated levels to the current levels.
This version also removes the association of "compatible changes" with stability/release taxonomy levels. That is, Committed/Stable interfaces could not change in a compatible way in other than a Minor release. This was intended to provide a mechanism for managing dependencies on new features (i.e., the new feature Foo(Committed) could be used in versions newer than r3.5). This capability was never effectively communicated to customers and was commonly ignored by developers, so it was dropped from this version of the taxonomy.
The following table summarizes the mapping of "Interface Taxonomy revision 1" levels to "revision 2" levels. The details are provided in the individual rationale that follows. Note in particular the caveats and special conditions related to the deprecated Evolving classification.
| Old Classification | New Classification | Comments |
|---|---|---|
| Public | Committed | Name change |
| Stable | Committed | Name change |
| Standard | Committed | Include a reference to the controlling specification |
| Evolving | Committed | All ON/PSARC cases |
| Evolving | Uncommitted | Except ON/PSARC cases |
| Unstable | Uncommitted | Name change |
| External | Volatile | Name change with expansion of allowed usage |
| Obsolete | (Obsolete) | Was a classification, now a modifier |
| *Private | *Private | Unchanged |
| Specification | Open | |
| Incompatible Change | major release (X.0) | |
| ARC review of Specs | Yes | |
| Examples | Compiler command line options, hardware interconnects (SBus, PCI, USB...), RPC, POSIX utilities We publish the specification of these interfaces, typically as manual pages or other product documentation. We also tell customers we will remain compatible with them. (Scott McNealy's principle that "Compatibility is a constraint, not a goal") The intention of a Committed interface is to enable arbitrary third parties to develop applications to these interfaces, release them, and have confidence that they will run on all releases of the product after the one in which the interface was introduced, and within the same Major release. Even at a Major release, incompatible changes are expected to be rare, and to have strong justifications. Committed interfaces are often proposed to be industry standards, as was the case with RPC. Also, interfaces defined and controlled as industry standards are most often treated as Committed interfaces. These are interfaces whose specification is often under the provider's control or which are specified by a clearly versioned document controlled by a well-defined organization. If the interface specification is not under the implementation provider's control, the provider must be willing to fork from the interface specification if required to maintain compatibility. In the case of interface specifications controlled by a standards body, the commitment must be to a clearly identified version of the specification, minimizing the likelihood of an incompatible change (but it can happen through formal spec interpretations). Also, if the interface specification is not under the control of the interface implementation provider, then the controlling body and/or public, versioned document must be be noted in the documentation. This is particularly important for specifications controlled by recognized standards organizations. Although a truely exceptional event, incompatible changes are possible in any release if the associated defect is serious enough as outlined in the EXEMPTIONS section of this document or in a Minor release by following the End of Feature process. | |
| Uncommitted (formerly "Unstable") | ||
| Specification | Open | |
| Incompatible Change | minor release (x.Y), with impact assessment | |
| ARC review of Specs | Yes | |
| Examples | SUNW* package abbreviations, some config utils No guarantees are made about either source or binary compatibility of these interfaces from one Minor release to the next. The most drastic incompatible change of removal of the interface in a Minor release is allowed. Uncommitted interfaces are generally not appropriate for use by release-independent products. Uncommitted is not a license for gratuitous change. Any incompatible changes to the interface should be motivated by true improvement to the interface which may include justifiable ease of use considerations. The general expectation is that Uncommitted interfaces are not likely to change incompatibly and if such changes occur they will be small in impact and should often have a mitigation plan. Uncommitted interfaces generally fall into one of the following subcategories: |
| Volatile (encompasses External) | ||
| Specification | Open | |
| Incompatible Change | Micro release (x.y.Z) or Patch | |
| ARC review of Specs | A precise reference is normally recorded | |
| Examples | Gimp user interface, IETF internet-draft Volatile interfaces may change at any time and for any reason. Use of the Volatile interface stability level allows interface providers to quickly track a fluid, rapidly evolving specification. In many cases, this is preferred to providing additional stability to the interface, as it may better meet the expectations of the consumer. The most common application of this taxonomy level is to interfaces that are controlled by a body other than the final implementation provider, but unlike specifications controlled by standards bodies or communities we place trust in, it can not be asserted that an incompatible change to the interface specification would be exceedingly rare. In some cases it may not even be possible to clearly identify the controlling body. Although not prohibited by this taxonomy, the Volatile classification is not typically applied to interfaces where the specification is controlled by the implementation provider. It should be noted that in some cases it will be preferable to apply a less fluid interface classification to an interface even if the controlling body is separate from the implementor. Use of the Uncommitted classification extends the stability commitment over micro/patch releases, allowing use of additional support models for software that depends upon these interfaces, at the potential cost of less frequent updates. Committed should be considered for required, core interfaces. If instability in the interface definition can't be reconciled with the requirement for stability, then alternate solutions should be considered. This classification is typically used for free or open source software (FOSS), also referred to as community software, and similar models where it is deemed more important to track the community with minimal latency than to provide stability to our customers. When applying this classification level to community software, particular attention should be paid to the considerations presented in the preceding paragraph. It also may be appropriate to apply the Volatile classification level to interfaces in the process of being defined by trusted or widely accepted organization. These are generically referred to as draft standards. An "IETF internet draft" is a well understood example of a specification under development. There may also cases where Volatile is appropriate for experimental interfaces, but in most cases Uncommitted should be considered first. Irrespective of the control of the specification, the Volatile classification must not be applied to "core" interfaces (those that must be used) for which no alternate (and more stable) interface exists. Volatile interfaces must also adhere to Sun internal standards in the following areas: |
| Not-an-interface | ||
| Specification | None | |
| Incompatible Change | Micro release (x.y.Z) or Patch | |
| Arc review of Specs | None | |
| Examples | CLI output, error text In the course of reviewing or documenting interfaces, the situation often occurs that an attribute will be present which may be inferred to be an interface, but actually is not. A couple of common examples of this are output from CLIs intended only for human consumption and the exact layout of a GUI. This classification is simply a convenience term to be used to clarify such situations where such confusion is identified as likely. Failure to apply this term to an attribute is no indication that said attribute is some form of interface. It only indicates that the potential for confusion was not identified. |
| Sun Private | ||
| Specification | Closed | |
| Incompatible Change | minor release (x.Y) | |
| ARC review of Specs | Yes | |
| Examples | trap 40 (gethrtime) These are stable interfaces which one consolidation depends on and another consolidation provides. As changes to these interfaces must be coordinated among all providers and users of the interface, the expectation is that they are extremely stable. Some internal kernel interfaces are Sun Private interfaces. Sun Private interfaces are strongly discouraged. Coordinating changes to these interfaces within a consolidation is usually feasible, but coordinating changes among different consolidations released asynchronously is extremely difficult. Interface versioning is advised for Sun Private interfaces. Interfaces are occasionally made Sun Private in order to gain some experience with them before opening them up to wider use as Committed interfaces. Making such interfaces Consolidation Private would be preferable, however, as evolution is then far easier. An ARC will review and archive these interfaces, with special attention to how the interface could evolve, if necessary. Any proposed change to the interface must be ARC approved. Contracted Sun Private This stability level is the same as Sun Private, except that a contract has been put in place between the provider and consumer of the interface. The contract describes special arrangements made for the stability of the interface. This can be used, for example, to allow exposure of the interface to a Sun Partner. An ARC must review, approve, and archive a contract between the provider and consumer of the interface. Any change to the contract, the interface, or the specification requires reapproval. | |
| Committed Private | ||
| Specification | Closed | |
| Incompatible Change | major release (X.0) | |
| ARC review of Specs | Yes | |
| Examples | UFS media format, Calendar Manager RPC protocol For some otherwise-private interfaces, we must maintain compatibility from release to release, in order to meet the customer's expectations for compatibility of the programs using these interfaces. However, we don't want customers to depend on these interfaces directly, and we don't want to directly expose these interfaces to customers. These interfaces are classified as Committed Private. Our commitment is that a customer's "normal" use of system facilities should not allow them to see any incompatible changes to these interfaces. Since these interfaces typically span machines by being embodied in media or protocols (and since customers cannot upgrade all their machines simultaneously), these interfaces can't be changed with the freedom of a private interface. Yet, changes to the details of the interface can be dramatic, provided the commitment to the customer is maintained. In general, Committed Private interfaces must be versioned. An ARC must review and archive the specification, and will at least assure that the interface can satisfy its purpose and support the evolution described in the previous paragraph. Any proposed change to or new dependency on the interface must be ARC approved. Contracted Committed Private This stability level is the same as Committed Private, except that a contract has been put in place between the provider and consumer of the interface. The contract describes special arrangements made for the stability of the interface. This can be used, for example, to allow exposure of the interface to a Sun Partner. An ARC must review, approve, and archive a contract between the provider and consumer of the interface. Any change to the contract, the interface, or the specification requires reapproval. Partner Private This stability level is no longer in use. Interfaces previously classified as Partner Private should be treated according to the closest matching stability level in the current taxmonomy, probably either Contracted Consolidation Private or Contracted Project Private, depending on the stability of the interface outside of the contract. | |
| Consolidation Private | ||
| Specification | Closed | |
| Incompatible Change | micro release (x.y.Z) or "jumbo patch" | |
| ARC review of Specs | Not necessary | |
| Examples | libdeskset, kernel nameslists These are interfaces internal to the consolidation that one piece of a consolidation depends on and another piece of the same consolidation provides. Changes to these interfaces must be coordinated among all providers and users of the interface. Many internal kernel interfaces are Consolidation Private interfaces. Generally these are interfaces that have proven convenient for building the consolidation, but which change often enough that we're not willing to document them for external use nor to commit to their stability. libdeskset is an example of such an interface. Though the libkvm API is Public, the undocumented names that can be accessed through that interface are Consolidation or Project Private. An ARC may review and archive these interfaces, or may leave the consolidation to monitor their own internal commitments. If a Consolidation Private interface is reviewed by the ARC, ask that ARC if they want to review later changes to that interface. Importing the interface by any project outside the Consolidation would require negotiating a "contract" with the interface providers. An ARC must review and approve the classification change to Contracted Consolidation Private and the terms of the contract. Contracted Consolidation Private (formerly Contract Private, but so was what is now Contracted Project Private) This stability level is the same as Consolidation Private, except that a contract has been put in place between the provider and consumer of the interface. The contract describes special arrangements made for the stability of the interface. This can be used, for example, to allow exposure of the interface to a specific consumer in a different consolidation. An ARC must review, approve, and archive a contract between the provider and consumer of the interface. Any change to the contract, the interface, or the specification requires reapproval. Contract Private This stability level is no longer in use, but was in use for many years. Interfaces previously classified as Contract Private should be treated according to the closest matching stability level in the current taxmonomy, probably either Contracted Consolidation Private or Contracted Project Private, depending on the stability of the interface outside of the contract. | |
| Project Private | ||
| Specification | Closed | |
| Incompatible Change | micro release (x.y.Z) | |
| ARC review of Specs | No | |
| Examples | Metamucil ioctls, nfssys system call, uadmin cpu control functions Project Private interfaces usually occur when a project must communicate between its components across a boundary in the system. For instance, Metamucil includes several new ioctls to perform operations on UFS filesystems. The Metamucil ufsdump program uses these ioctls. The ioctls are private interfaces since they are intended to be used only by the Metamucil product. If the Metamucil product needs to change these ioctls in the future, they can do so without coordinating with any other projects, since no other projects may use these ioctls. Likewise, the nfssys system call is used to communicate between the kernel- and user-level portions of NFS. Project Private interfaces also occur in libraries where one module needs to call a private routine in another module in the same library. These internal routines have been visible to users of the library (although normally they are named with an underscore prefix to distinguish them as private) only due to deficiencies in our library construction tools (corrected by Solaris 2.5's "symbol-hiding" loader). Also, Project Private interfaces may be provisional or in transition. The uadmin cpu control functions are Project Private because they will change form before appearing as Standard interfaces, and in the meantime we don't want anyone depending on them. Sadly, many kernel procedures are Project Private interfaces (instead of Internal interfaces) because they are visible to dynamically loaded kernel modules. Once an interface is classified Project Private by an ARC, changes to that interface need not be ARC approved. Any use of the interface from outside the project would involve negotiating a "contract" with the interface providers; an ARC must review and approve the classification change to Contracted Project Private and the terms of the contract. Contracted Project Private (formerly Contract Private, but so was what is now Contracted Consolidation Private) This stability level is the same as Project Private, except that a contract has been put in place between the provider and consumer of the interface. The contract describes special arrangements made for the stability of the interface. This can be used, for example, to allow exposure of the interface to a specific consumer in a different consolidation. An ARC must review, approve, and archive a contract between the provider and consumer of the interface. Any change to the contract, the interface, or the specification requires reapproval. | |
| Internal | ||
| Specification | None (or solely internal to the project) | |
| Incompatible Change | micro release (x.y.Z) | |
| ARC review of Specs | No ("don't ask, can't tell") | |
| Examples | procedures internal to any program (not in lib) Internal interfaces are not visible by any means to customers -- or anyone outside the project's build -- without source code. Library interfaces, system calls, network protocols, and file formats cannot be internal interfaces. Internal interfaces need not be reviewed or classified by an ARC. |
Modifiers may prefix a compatibility level to modify its meaning. ===
Example: If a Propect Private interface needs to be used by another entity within a consolidation, but it is not appropriate for it to be used by everyone else in that consolidation, it would use Contracted Project Private with a specified list of contractees instead of the more general Consolidation Private.
The other common usage is to allow a Sun product to use an Uncommitted or Volatile interface supplied by another consolidation.
A boilerplate contract form exists (targeted at interface being Consolidation Private).
The minimal requirements of a contract are that it identifies the functional supplier and proposed consumers of the interface in terms of product (not management) structure and states the process to coordinate change in the event of an incompatible change to the interface. In rare cases, the process may be as minimal as notification.
Contracts are reviewed, approved and archived by the ARCs just as projects are.
An interface becomes "Contracted" with the approval of the first contract. It is worth noting the intent to allow contracts to be written against an interface as part of the initial submission, but the Contracted modifier is only officially applied with approval of the first contract.
| Former Classification | Release Type | Obsolescence allowed? | Notification Needed? | Removal Allowed? |
|---|---|---|---|---|
| Committed | Major | Yes | Maybe* | Yes |
| Minor | Yes | Yes | Yes | |
| Micro | Yes | Yes | No | |
| Patch | No | -na- | No | |
| Uncommitted | Major | Yes | No | Yes |
| Minor | Yes | Maybe* | Yes | |
| Micro | Yes | Yes | No | |
| Patch | No | -na- | No | |
| Volatile | Major | Yes | No | Yes |
| Minor | Yes | No | Yes | |
| Micro | Yes | No | Yes | |
| Patch | Yes | No | Yes ________ |
[*] For some interfaces, the ARC may find such a communication program appropriate before removing an interface, even if the release level nominally allows such a change.
________
The standard program to communicate a change in commitment requires:
The application uses interface which has been declared obsolete and may not be present in versions of <product> of released after <date>. Please notify your support person. See XXX for more information.
One suggested method is to use syslog(3), with a level of "LOG_WARNING". A method for turning off the warning message should also be provided. Common sense should apply in determining how often the warning should appear.
Interface Stability Considerations
When a project team proposes (or an ARC reviews) an interface's stability classification, consider and discuss with the ARC:
|Standard
| Specification | Open | |
| Incompatible Change | major release (X.0) | |
| ARC review of Specs | A precise reference is normally recorded | |
| Examples | POSIX, ANSI-C, ABI, SCD, SVID, XPG, X11, DKI, VMEbus, Ethernet, NFS protocol, DPS Most of these interfaces are defined by a formal standard, and controlled by a standards organization. Incompatible changes to these interfaces are rare. This stability classification can also apply to interfaces that have been adopted (without a formal standard) by an "industry convention" (X/Open, MIT X-Consortium, OMG), or even by a single-source (Adobe's Display PostScript, Novell's NetWare Protocols, Legato's network backup protocols, Berkeley's sendmail) if we expect that the de facto standard is unlikely to change incompatibly. If possible, there should still be a reference to a standard specification or reference system ... although there may be cases where no such citation is possible. Customers are normally pointed to the same specification. Support is only provided for specific version(s) of a standard, and support for a particular version does not guarantee that support will be provided for other versions. Sometimes bugs are corrected or interpretation is clarified in a standard; we may make incompatible changes to react to these, but will evaluate the impact of doing so and will announce a compatibility and migration strategy. (PSARC/1995/224's Advisory Information section provides guidelines for implementing a preliminary draft of a new standard.) Some standards lack bindings to a specific programming language; if the project team chose names, numbers, extensions, or other implementation-specific details, they should be called out for architectural review. |
|Evolving (formerly "Uncommitted", but so was what is now "Unstable")
| Specification | Open | |
| Incompatible Change | minor release (x.Y), with impact assessment | |
| ARC review of Specs | Yes | |
| Examples | core and .il file formats, Solaris DDI & DGA; many GUIs, admin utils, config files, daemons; most of PAM An Evolving interface is subject to incompatible change at a major or minor release, but we should expect to change an Evolving interface only carefully, and probably slowly. As the interface evolves, we will make reasonable efforts to ensure that all changes are source and binary compatible. An ARC should review the interface specification (especially with respect to ability to absorb expected evolution compatibly). Adequate customer documentation should also exist. The intention of an Evolving interface is to enable ISV's to exploit new technology, and it should be expected that they will ship products that depend on these interfaces. As a result, any incompatible change to an Evolving interface requires an assessment of potential customer impact, and a notification and migration plan. Elements of such a plan might include: |
|External
| Specification | Open | |
| Incompatible Change | micro release (x.y.Z) | |
| Arc review of Specs | A precise reference is normally recorded | |
| Examples | Freeware These interfaces are controlled by a body outside of Sun, but unlike Standard, it can not be asserted that an incompatible change to the interface would be exceedingly rare. In some cases it may not even be possible to clearly identify the controlling body. This classification is typically used for community software, freeware, open source and the like. Use of the External interface stability level allows freeware interfaces provided by Sun to quickly track the fluid, external specification. In many cases, this is preferred to providing additional stability to the interface, as it tends to track the expectations of the community. Generally, ancillary characteristics of External interfaces (such as documentation) should adhere more closely to the expectations of the user community than to Sun internal standards. However, External interfaces should adhere to Sun internal standards in the following areas: |
|Obsolete
| Specification | Open, along with warning of obsolescence | |
| Incompatible Change | minor release (x.Y) | |
| ARC review of Specs | Normally downgraded from a higher stability; ARC approval of interface or feature removal is also required. | |
| Examples | RFS, System-V LP protocol An interface that is "deprecated" and/or no longer in general use. An existing interface may be downgraded from some other status (such as Stable or Standard) to Obsolete to encourage customers to migrate from that interface before it will be removed (or incompatibly changed). |
Interface
SAC uses the term "interface" broadly, to mean any part of any specification that defines the interactions among hardware or software components, between invocations of the components, or between humans and these components. An interface normally includes both syntax and semantics.
This includes Graphical User Interfaces (GUIs); commands, daemons, and their options; functional interfaces such as an Application Programming Interface (API); data structure or class declarations shared between components; protocol specifications; file formats (inputs accepted, configuration files, and output file formats); mandated file names; defaults; and package abbreviations. See your ARC's questionnaire.
An implementation of an interface also has behavioral artifacts, such as performance under certain conditions, which are not specified, and are therefore not part of the "interface". The developers of the implementation do not assume anyone is depending on these undocumented features; a client should not depend on these artifacts (or should get their dependencies made an explicit part of the specification). However, the capacity of an interface or its gross performance characteristics could be deemed an implicit part of its interface semantics.
Specification
An interface specification documents the purpose, syntax, semantics, and limitations of the interface. The specification's purpose includes understanding the interface, implementing or maintaining it, determining compatibility (say, between releases). The specification may be the same document used by clients, consumers, or importers of the interface, or a separate document with that specific point-of-view might be more suitable.
Open specification:
An interface specification is Open if it is published, customers are free to use it (i.e., build internal or commercial products that use our implementation of the interface), and others are free to provide alternative implementations, without licensing or legal restrictions. Interfaces with Open specifications may be called "Open Interfaces".
Closed specification
An interface specification is Closed if we do not want arbitrary customers (of all types) to build products using it, and we do not want others to build alternative implementations. Therefore, specifications for Private interfaces should not be published to customers. Closed interfaces should only be documented to limited internal and external audiences. Note that exposing the source code or participating in an open source project is not considered "publishing a spec". The question is one of intent - do we want others to build dependencies on these interfaces? If so, they should be Open, otherwise they should be Closed.
Consolidation (aka Component)
A Consolidation is collection of software elements that are always delivered together as a self-consistant entity. Consolidations are reusable, sharable things that form the basis for the complicated software platforms that we deliver. Consolidations are the unit of software that are integrated together to form Products, and are exposed as part of Sun PLC Phase 3 (Develop, Integrate, Test)
Products are made up of one or more Consolidations; Consolidations are made up of one or more Elements, and Elements evolve over time as Projects are initiated to change them.
Consolidations let us take advantage of Software Modularity and Reuse - in a very real sense, they are the building blocks that we use to build systems and solutions for our customers.
Changes are made to consolidations. It is the job of a Gatekeeper to manage the flow of changes as they are integrated into a consolidation. At the beginning, the first change is to create a consolidation. However, once a consolidation exists, it spends the rest of its existance being changed. Bugfixes, code restructuring, performance improvements and the addition of new features all impact the evolution of consolidations. Since a consolidation is presumed to have the means to keep itself self-consistant and to not deliver broken versions of itself, the scope of a Consolidation Private change within a consolidation can be quite large.
Consolidations do not usually live in isolation - they usually depend on other consolidations, or they do something useful so other consolidations come to depend on them. This dependency introduces a risk - the risk that something you depend upon might change in the future and break your consolidation. Or, more likely, you may wish to do something to your consolidation that might break components that depend on you.
Distribution
A collection of software arranged for use by others; consists of one or more "consolidations" or "products." Sun's Solaris is one distribution which includes OpenSolaris/ON, JDS/GNome, CDE, Mozilla, Java as well as other consolidations.
Documentation
This document uses the term "documentation" solely to mean an interface or product description suitable for customers (i.e., those outside Sun who have not signed nondisclosure agreements, but have purchased our products or perhaps accepted free Sun software). The terms "product documentation" or "customer documentation" are often used to stress this meaning.
Element
The persistant thing that remains in a component as a result of making a change. The term is not a formal definition, but it exists so that we don't have to overload the term "project" to mean both the ephimeral process of making a change and the artifacts that remain as the result of making such a change.
Interface Change
This document defines a "change" to an interface to include both compatible addition and incompatible change. Except for Project Private, Consolidation Private, and Internal interfaces, all interface changes must be ARC reviewed and approved. A compatible addition is normally permitted in a minor (X.Y) release; adding features in a micro (X.Y.Z) release, or in patches makes it hard for ISVs to determine when they can start depending on the existance of a new feature.
Incompatible change
A change to an interface or its implementation is incompatible if it can render previously valid programs invalid. "Valid" does not cover programs which depend on unspecified "artifacts of the implementation". A bug fix or performance decreases, in extreme circumstances, could be an incompatible change. The taxonomy describes the minimum release requirements for an incompatible change to an interface. (Sometimes, a new interface can be offered without removing the old one; that would not be incompatible by this definition.)
Partner
A company, that builds a product that works with and complements Sun products, with whom we have a formal contractual relationship.
Private
An interface specification that is private to a group can be changed in incompatible ways by coordinating such change only within the group. No other groups need be contacted when making such an incompatible change. The descriptions in this document note whether the various flavors of Private interface require architectural review.
Note that a Private interface might still be visible to or accessible by other groups. Of course, use of interfaces private to another group carries great stability risks, so ARCs do not normally allow a project to use another's private interfaces.
Private is different than "secret". An interface would be "secret" if (some) others are *not allowed* to learn about and use the interface. Sun Private interfaces are probably "secret".
An otherwise-Private interface is "Internal" (the last classification in this document) if others are (physically or practically) *unable* to use it. Therefore, there are several flavors of Private interfaces, depending on who *may* use it; but only one flavor of Internal.
Product
Software Products are components we provide to customers. We typically sell them for revenue and support them. But, because of the wide association with Sun's good name, software provided to customers for free could still be termed a product. Such software could be made available to download (e.g., over the Internet), or might be shipped as a "free" bonus with another product.
None of the obvious definitions for "product" is an exact fit. A CD is a product, except that some CDs contain multiple products. A price list item is a product, except that multiple stocking units (SKUs) correspond to the same release of the same product (e.g., basic product, right-to-use, educational price). Some products contain other components that may also be available as separate products (e.g., Solaris Workgroup Server includes Solstice Backup and Solstice AdminSuite products).
A product release (often merely called a release) is a specific version of a product, such as Solaris Backup 4.2. See "Major, minor, and micro product releases" definitions below.
Project
A project is an atomic addition or change to Sun's product components (typically software, but possibly hardware, documentation, etc.). A product is made up of one or more projects. A project may depend on other projects, and others depend on it.
The term "project" is sometimes used to refer to the SDF Implementation Team (I-Team), though "project team" is preferred.
Note that even when an ARC approves a project, the project is still unsuitable for other projects to depend on. Until a Steering Committee approves the Project's Plan, the project does not have a commitment to a specific tradeoff of functionality, schedule, resources, and quality.
Consolidation
Software components that are built and delivered together. Products are often composed of multiple consolidations; for example, Solaris has an OS/Net ("ON") consolidation, the Open Windows ("OW") and/or CDE consolidation, Admin consolidation, and others (Platform Support, Diag, Docs, L10n, Graphics?). For very complex products, we bundle multiple Consolidations together to make a "Wad of Stuff" (WOS), also known as a W-Consolidation.
Developer Products delivers various compilers and tools (sold and licensed separately and in various combinations) on a single installation medium, which allows their cross-product consolidation(s) to avoid inter-product version incompatibility for their Consolidation Private interfaces.
Import and Export
This document doesn't use the terms Import and Export, but ARC opinions list the interfaces of a project, along with the stability classification from this Taxonomy, sorted by Import or Export.
The project that defines an interface is said to "export" it, and other projects that can use the defined interface but cannot add to or modify it are said to "import" it. In particular, note that it is not critical which project produces data in a particular format, and which consumes it. For example, a file format may be defined by the project that writes it (e.g., a log file) or reads it (e.g., a Makefile).
End of Feature (EOF) policy
Before removing a committed feature from the system, a project must first reclassify the feature or interface as Obsolete (see below) and warn customers. After those steps, a later project can actually remove the feature, but not before a period of one year from the customer warning. Both projects must be ARC approved.
Major, minor, and micro product releases; and patches
A major release is versioned with a .0 suffix (form x.0 or x.0.0), such as 2.0 or 11.0. A minor release has a nonzero suffix (form x.Y or x.Y.0 for nonzero Y), such as 2.1 or 3.12. Changes suitable for a minor release may also be made in a major release. A micro release has two suffixes (form x.y.Z for nonzero Z), such as 1.0.1 or 11.3.2. Changes suitable for a micro release may also be made in a major or minor release. See the Release Taxonomy for more information.
Most interfaces do not have version numbers. And we do not release "interfaces"; we release products that include Consolidations that contain Elements that export interfaces (and import other interfaces). An incompatible change to a Committed interface, if allowed at all, would require a Major Consolidation release. The ARC opinion approving the project to make the incompatible change would say (in Section 2, Decision and Precedence Information): This project is suitable for delivery in a major release of <consolidation name>.
Interface versioning
If an interface's producer and consumer are not always built and delivered in unison, the interface should generally be versioned by adding version numbers that are exchanged between the parties. Versioning an interface allows an interface incompatibility to be detected. A multi-part version number (akin to the product release versioning above) is recommended. Sometimes, a fall-back to an earlier interface level (common between the provider and the consumer) is possible. For example, a client newer client attempts to speak protocol 1.1, but a down-rev server answers that it can only handle 1.0, so the client must limit itself to that compatible subset. It has often been helpful for *both* ends to know the version number of the other end, so they can adapt appropriately.
Interface version numbers do not undergo a major or minor increment merely because the product that ships it does so.
Contracted Stability Levels
Exceptions to the terms of a classification are allowed in the form of a "contract" between the provider and consumer of the interfaces. See the Policy Details for more information.
Violating existing stability expectations
Although being absolutely stable tends to be good thing for isotopes, relationships and interfaces, there are times when it is in the best interest of both the supplier and consumer to break a stability commitment. The following is a list of situations where the ARCs have allowed projects to violate an interface stability commitment:
| Case | Type | Name | Comment |
|---|---|---|---|
| PSARC/1992/021 | Unknown | Contract Private | |
| PSARC/1993/226 | OnePager | "Obsolete" Interface Taxonomy addition | Obsolete |
| PSARC/1994/084 | FastTrack | Improvement of Obsolete classification | Improved Obsolete |
| PSARC/1994/167 | FastTrack | Committed Private interface classification | Committed Private |
| LSARC/1993/100 | FastTrack | ACL support for dump and restore | Deprication of Permanent, Add notation on Import, Export |
| PSARC/1995/347 | OnePager | PC Share Reservation Fcntl Interface | Clarification of Contract Private |
| PSARC/1995/351 | FastTrack | Publishing Commitment Levels | Stable, Evolving, and Unstable |
| PSARC/1998/001 | OnePager | Partner-Private Interfaces | Partner Private |
| PSARC/2001/313 | FastTrack | External Interface Taxonomy | External |
| PSARC/2001/421 | FastTrack | Contracted Stability Levels | Contracted Stability Levels |
| PSARC/2005/220 | FastTrack | New Public Taxonomy | New Public Taxonomy |
| Document | Description |
|---|---|
| attributes(5) | Solaris 2.6 added support for documenting stability levels |
All incompatible changes should be carefully considered and reconsidered. Alternatives that keep backward compatibility should be explored. In the past, simply asking engineers to use their best judgement and consider backwards compatibility did not achieve adequate compatibility. Some poor decisions were made and customers were greatly dissatisfied. The ARC process, and interface stability classifications in particular, attempt to prevent such errors from being made in the future. Key process steps are:
{{{___________________________________}}}
| ATTRIBUTE TYPE | ATTRIBUTE VALUE|
|{{{___________________________________}}}
| Stability Level| Uncommitted |
|{{{________________}}}|{{{_________________}}}|
utility name & command line options Committed Attribute=Value output format Committed reported attributes Uncommitted diagnostic messages Not-An-Interface
The attributes(5) manpage explains the attributes, including the (Open) Stability Levels which might appear on external manpages, and which set expectations for what kinds of changes are likely to be introduced into what types of release. These explanations include some legal "wiggle room," so they may appear more lax than this document; this document should be assumed authoritative.
If a project team is unwilling to accept these standard boilerplate commitments, the team must obtain an ARC-approved exemption and ensure that the proposed documentation will adequately set customer expectations.
White papers, user's guides, or other documentation describing interfaces must also include stability classifications. These documents should either explain Sun's stability classifications using the text Legal already approved or reference the attributes(5) manpage (from Solaris 2.6 or later or on docs.sun.com).
| Version | Date | By | Description |
|---|---|---|---|
| 3.1 | 06/07/26 | plocher | includes jek3's changes to the public stability levels: Committed, Uncommitted, Volatile, Not-An-Interface, Obsolete |
| 2.11 | 03/04/23 | plocher | updated comments re: engineering alias for Obsolete notifications |
| 2.10 | 02/12/04 | plocher | changed Owner=SAC |
| 2.9 | 02/11/22 | plocher | Added Owner=SAC to BPs |
| 2.8 | 02/07/27 | plocher | added Type=Policy |
| 2.7 | 02/07/18 | plocher | converted to "best practice" format |
| 2.6 | 01/12/05 | andy | changes from PSARC/2001/313 and PSARC/2001/421 |
| 2.5 | 98/05/05 | markk | eliminate leading blanks |
| 2.4 | 98/05/05 | markk | corrected a bad line wrap |
| 2.3 | 98/05/05 | markk | added partner private per 1998/001 |
| 2.2 | 97/10/23 | stanton | Added reference to Solaris 2.6's attributes(5) manpage. |
| 2.1 | 96/05/06 | stanton | Bumped version number to reflect important term change (even though it was a few versions back). |
| 1.18 | 96/05/06 | stanton | Relaxed SPF protection factor with Marty's approval. All Sun engineers (and probably other Sun employees) need to know. |
| 1.17 | 96/04/25 | stanton | Added more propoganda about why we bother to establish stability classifications for interfaces; added Considerations from projects, including library projects; changed "Private" back to "Closed" for specifications; added definitions. Evolving I/Fs are not necessarily under Sun's control or becoming Stable. |
| 1.16 | 96/02/13 | stanton | Ready for SAC review; still has open issues. |
| 1.15 | 96/01/25 | stanton | Merged in exactly the text from Mark Kampe (Jan 18, 1996). |
| 1.14 | 95/12/08 | stanton | Added definition of "Consolodation" (unapproved). |
| 1.13 | 95/02/16 | stanton | Reacting to someone's (Glenn's?) comments -- ARC approval is *always* required for non-private interface changes. |
| 1.12 | 94/11/11 | stanton | Extended discussion of Standard classification to address single-source third-party specifications. |
| 1.11 | 94/11/11 | stanton | Altered the wording to imply that Permanent is an obsolete classification. |
| 1.10 | 94/11/01 | stanton | Added Committed Private from PSARC/1994/167, and a note about Permanent from LSARC/1993/100. Also added definitions for Import and Export. |
| 1.9 | 94/05/31 | chessin | updated to include PSARC/1994/084 |
| 1.8 | 94/01/28 | chessin | put in *real* definition of Obsolete, as approved by PSARC/1993/26; the "summary" lost significant information. Also restored SCCS keywords. |
| 1.7 | 93/06/14 | stanton | Added Contract Private (per PSARC/1992/021) to Frame and ASCII versions. Arguably needs definition for "import" and "export" since they don't mean "consume" and "produce" (respectively), but something closer to "utilize" and "define". |
| 1.6 | 93/06/14 | stanton | Updated to match Frame "it.doc" version 1.1 by adding Obsolete, approved as PSARC/1993/226. Still needs addition of Contract Private, approved with PSARC/1992/021. |
| 1.5 | 92/09/03 | shannon | final approved version was never checked in |
| 1.4 | 92/04/21 | lhatt | removed header and renamed file to interface.taxonomy |
| 1.3 | 92/04/14 | lhatt | Integrate changes from Bill Shannon. |
| 1.2 | 92/04/14 | lhatt | Changes from product to consolidation. |
| 1.1 | 92/04/14 | lhatt | CodeManager Uniquification: doc/interface.taxonomy/interface.taxonomy.txt date and time created 92/04/14 09:56:00 by lhatt |
Terms of Use
|
Privacy
|
Trademarks
|
Copyright Policy
|
Site Guidelines
|
Site Map
|
Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
© 2012, Oracle Corporation and/or its affiliates.