Chapter 8 Data Models and Dynamic Templates

For diagrams, tables, or exact code formatting, .

JOHN W. CAPOBIANCOPRINTED PAGE 144
router-id {{ host_defaults.site_id }}.{{ host_defaults.site_id }}.{{  
ost_defaults.site_id }}.{{ host_vrfs[host_vrf].tag }} 
{%          endif %} 
 ispf 
 auto-cost reference-bandwidth 10000 
 nsf ietf  
{%          if host_vrfs[host_vrf].summary_addresses is defined %} 
{%              for summary_address in host_vrfs[host_vrf].summary_addresses %} 
 summary-address {{ summary_address }} 
{%              endfor %} 
{%          endif %} 
 
{%          if platform_defaults.type == 4000 %} 
{%              if host_vrfs[host_vrf].tag != 1 %} 
 capability vrf-lite 
{%              endif %} 
{%          endif %} 
{%          if host_vrfs[host_vrf].area_0 is defined %} 
 area 0 authentication message-digest 
{%          endif %} 
{%          if host_vrfs[host_vrf].message_digest is defined %} 
 area {{ host_vrfs[host_vrf].tag }} authentication message-digest 
{%          endif %} 
{%          if host_vrfs[host_vrf].stub is defined %} 
{%              if host_defaults.hostname == "CORE" %} 
 area {{ host_vrfs[host_vrf].tag }} stub {{ host_vrfs[host_vrf].stub }} 
{%              else %} 
 area {{ host_vrfs[host_vrf].tag }} stub  
{%              endif %} 
{%          endif %} 
{%          if host_vrfs[host_vrf].summary is defined %} 
 area {{ host_vrfs[host_vrf].tag }} range {{ host_vrfs[host_vrf].summary }} cost {{ 
host_vrfs[host_vrf].summary_cost }} 
{%          endif %} 
{%          if platform_defaults.type == 4000 %} 
 passive-interface default 
{%              if host_vrfs[host_vrf].tag != 1 %} 
 no passive-interface Port-channel1.{{ host_vrfs[host_vrf].tag }} 
{%              else %} 
 no passive-interface Port-channel1 
{%              endif %} 
{%          endif %} 
{%          if host_vrfs[host_vrf].redistribute is defined %} 
 redistribute {{ host_vrfs[host_vrf].redistribute }} 
{%          endif %} 
{%          if host_vrfs[host_vrf].passive_interfaces is defined %} 
{%              for passive_interface in host_vrfs[host_vrf].passive_interfaces %} 
 passive-interface {{ passive_interface }} 
{%              endfor %} 
{%          endif %} 
{%          if host_vrfs[host_vrf].summary_addresses is defined %} 
{%              for summary_address in host_vrfs[host_vrf].summary_addresses %} 
 summary-address {{ summary_address }} 
{%              endfor %} 
{%          endif %} 
{%          if platform_defaults.type == 4000 %}