Difference: DhcpTutorial (5 vs. 6)

Revision 62012-02-17 - MartinBjoerklund

Line: 1 to 1
 

Introduction

In this tutorial, we will introduce many YANG concepts by developing a

Line: 48 to 48
 
module dhcp {

Changed:
<
<
namespace "http://example.com/ns/dhcp";
>
>
namespace "http://yang-central.org/ns/example/dhcp";
  prefix dhcp;
Line: 60 to 60
 
  import ietf-yang-types { prefix yang; }
  import ietf-inet-types { prefix inet; }

Deleted:
<
<
import ietf-ieee-types { prefix ieee; }
 

Note the prefixes above. In order to refer to the yang-module from

Line: 325 to 324
 
module dhcp {

Changed:
<
<
namespace "http://example.com/ns/dhcp";
>
>
namespace "http://yang-central.org/ns/example/dhcp";
  prefix dhcp;

import ietf-yang-types { prefix yang; } import ietf-inet-types { prefix inet; }

Deleted:
<
<
import ietf-ieee-types { prefix ieee; }
  organization "yang-central.org";
Line: 454 to 452
 dhcp.conf file above, matching the YANG module:
Changed:
<
<
>
>
  <max-lease-time>7200</max-lease-time> <default-lease-time>600</default-lease-time>

 
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