Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Numbered Headings
number-formatcustom
h1Appendix [h1.upper-greek]:
h2Appendix [h1.upper-greek].[h2.decimal]:

 Example use of Namespace

Example Request is for Namespace String: "mef-global". The following figure illustrates where the namespace request is used in the YANG module.

  • The name of the module "mef-global" is the namespace string being requested. 
  • The full path of the namespace is then specified in line number 2, and it specifies where in the tree the namespace string is going to be used. 
  • A brief description of where the namespace is going to be used is specified in the description section of this module and could be cut and pasted in the request for namespace application.
Code Block
languagexml
linenumberstrue
module mef-global {
  namespace "urn:mef:yang:mef-global";
  prefix mef-global;
  import ietf-yang-types {
    prefix yang;
  }
  import ietf-inet-types {
    prefix inet;
  }
  import mef-types {
    prefix mef-types;
  }
  organization "MEF Forum";
  contact
    "Web URL: http://mef.net/
     E-mail:  namespace@mef.net
     Postal:  MEF Forum
              12130 Millenium Dr Suite 2-182167
              Los Angeles, CA 90094
              U.S.A.
     Phone:   +1 310-642-2800
     Fax:     +1 310-642-2808";
  description
    "This module defines the shared profiles and related lists
     to be referenced when configuring MEF Services. Service
     Providers are expected to define a set of profiles for
     Service Attributes associated with Bandwidth, L2CP, CoS,
     and so on. These are expected to be slowly changing as
     they reflect the Products offered by the Service Providers
     to their Subscribers.


...