Chapter 8 Data Models and Dynamic Templates

For diagrams, tables, or exact code formatting, .

JOHN W. CAPOBIANCOPRINTED PAGE 131

The intent is to uniquely identify the device on the network, configure the following features and options according to corporate standards, and act as a functional building distribution switch in a specific location on the campus. All multicast, vrfs, vrf list, OSPF routing, VLANs, SVIs, STP root, port- channels, and the physical interfaces on the device must be coded in the data model.

--- 
 
host_defaults: 
  hostname: DIST01 
  site_id: 100 
  snmp_engineid: 10001 
  snmp_server_location: BUILDING100 
  boot: cat4500e-universalk9.SPA.03.06.06.E.152-2.E6.bin 
host_multicast: 
  pim: true 
  pim_dm_fallback: false 
  vrfs: 
    BLUE_ZONE: 
      rp_address: 10.100.255.254 
      multicast_routing: true 
 
host_vrfs: 
  global: 
    tag: 1 
    message_digest: true 
    stub: true 
    networks: 
      "1": 
        value: 
        - "172.18.100.0 0.0.0.255" 
        - "172.19.100.0 0.0.0.255" 
 
  GREEN_Zone: 
    tag: 10 
    message_digest: true 
    stub: true 
    networks: 
      "10": 
        value: 
        - "10.101.100.0 0.0.0.255" 
 
  RED_Zone: 
    tag: 20 
    message_digest: true 
    stub: true 
    networks: 
      "20": 
        value: 
        - "10.102.100.0 0.0.0.255" 
 
  BLUE_Zone: 
    tag: 30 
    message_digest: true 
    stub: true 
    networks: 
      "30":