Difference: DhcpTutorial (4 vs. 5)

Revision 52010-05-29 - LadaLhotka

Line: 1 to 1
 

Introduction

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

Line: 58 to 58
 import the standard YANG modules:


Changed:
<
<
import yang-types { prefix yang; } import inet-types { prefix inet; } import ieee-types { prefix ieee; }
>
>
import ietf-yang-types { prefix yang; } import ietf-inet-types { prefix inet; } import ietf-ieee-types { prefix ieee; }
 

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

Line: 328 to 328
  namespace "http://example.com/ns/dhcp"; prefix dhcp;
Changed:
<
<
import yang-types { prefix yang; } import inet-types { prefix inet; } import ieee-types { prefix ieee; }
>
>
import ietf-yang-types { prefix yang; } import ietf-inet-types { prefix inet; } import ietf-ieee-types { prefix ieee; }
  organization "yang-central.org";
Line: 459 to 459
  <default-lease-time>600</default-lease-time>

Changed:
<
<
10.254.239.0/35
>
>
10.254.239.0/27
  <dynamic-bootp/> 10.254.239.10
Line: 472 to 472
  <max-lease-time>1200</max-lease-time>
Added:
>
>
<shared-networks>
  <shared-network> 224-29
Changed:
<
<
10.17.224.0/32
>
>
10.17.224.0/24
  10.17.224.10 10.17.224.250
Line: 485 to 486
  </dhcp-options>
Changed:
<
<
10.0.29.0/32
>
>
10.0.29.0/24
  10.0.29.10 10.0.29.230
Line: 495 to 496
  </dhcp-options> </shared-network>
Added:
>
>
</shared-networks>
 
 
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