EditWYSIWYGAttachPrintable
r11 - 2008-05-05 - 11:00:13 - MartinBjoerklundYou are here: TWiki >  Main Web > YangExamples

IF-MIB

This is the standard IF-MIB from RFC 2863.

The following is an example of how YANG's augment statement can be used to declare a sparse extension.

SNMPv2-TC and IANAifType-MIB

YANG Standard derived types

These are the standard YANG modules, from the specification.

NETCONF Monitoring Data Model

This example is the monitoring data model from draft-ietf-netconf-monitoring-01.txt

ExecD

This is an example of how YANG's submodules can be used to structure a somewhat larger module into logical units. The example is the configuration of a set of services on a Linux-based networking device. There is a master module and a set of submodules:

  • execd.yang: The master module which defines the namespace and includes all submodules
  • execd-types.yang: A submodule which contains reusable types. Several other submodules include this one.
  • execd-interfaces.yang: A submodule for configuration and status of network interfaces.
  • execd-routes.yang: A submodule for configuration of static routes.
  • execd-syslog.yang: A submodule for configuration of logging to remote syslog servers.
  • execd-dns.yang: A submodule for configuration of the DNS resolver.
  • execd-ntp.yang: A submodule for configuration and status of the NTP daemon.
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r17 | r13 < r12 < r11 < r10 | More topic actions...
 
YANG
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback