| < draft-chen-netmod-enterprise-yang-namespace-02.txt | draft-chen-netmod-enterprise-yang-namespace-03.txt > | |||
|---|---|---|---|---|
| NETMOD I. Chen | NETMOD I. Chen | |||
| Internet-Draft Kuatro Technologies | Internet-Draft Kuatro Technologies | |||
| Intended status: Informational October 13, 2016 | Intended status: Informational October 13, 2016 | |||
| Expires: April 16, 2017 | Expires: April 16, 2017 | |||
| Grammar for Enterprise YANG Module Namespace | Grammar for Enterprise YANG Module Namespace | |||
| draft-chen-netmod-enterprise-yang-namespace-02 | draft-chen-netmod-enterprise-yang-namespace-03 | |||
| Abstract | Abstract | |||
| This document defines the grammar to create enterprise YANG module | This document defines the grammar to create enterprise YANG module | |||
| namespaces that are globally unique, as required by the YANG modeling | namespaces that are globally unique, as required by the YANG modeling | |||
| language. | language. | |||
| Status of This Memo | Status of This Memo | |||
| This Internet-Draft is submitted in full conformance with the | This Internet-Draft is submitted in full conformance with the | |||
| skipping to change at page 4, line 13 ¶ | skipping to change at page 4, line 13 ¶ | |||
| document is expected to remain as described above. | document is expected to remain as described above. | |||
| 4. Usage Example | 4. Usage Example | |||
| Suppose a vendor has a registered domain name "example.com". This | Suppose a vendor has a registered domain name "example.com". This | |||
| vendor has also chosen to place all of its YANG modules under the | vendor has also chosen to place all of its YANG modules under the | |||
| "yang" sub-domain. Following the enterprise YANG module namespace | "yang" sub-domain. Following the enterprise YANG module namespace | |||
| grammar described in this document, the vendor ends up with the | grammar described in this document, the vendor ends up with the | |||
| patterns below. | patterns below. | |||
| <reverse-dns> = com:example <sub-domain> = yang <namespace> = | <reverse-dns> = com:example | |||
| urn:rdns:com:example:yang:<module-name> <module-name> = | ||||
| example-<function> | <sub-domain> = yang | |||
| <namespace> = urn:rdns:com:example:yang:<module-name> | ||||
| <module-name> = example-<function> | ||||
| As a result, this vendor's OSPF YANG module has the namespace | As a result, this vendor's OSPF YANG module has the namespace | |||
| "urn:rdns:com:example:yang:example-ospf". | "urn:rdns:com:example:yang:example-ospf". | |||
| 5. Security Considerations | 5. Security Considerations | |||
| TBD. | TBD. | |||
| 6. IANA Considerations | 6. IANA Considerations | |||
| End of changes. 2 change blocks. | ||||
| 4 lines changed or deleted | 8 lines changed or added | |||
This html diff was produced by rfcdiff 1.48. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ | ||||