Chapter 1 What is Network Automation?

For diagrams, tables, or exact code formatting, .

JOHN W. CAPOBIANCOPRINTED PAGE 21
name: RED_Zone 
   
   30: 
    name: GREEN_Zone 
 
   50: 
    name: SECURITY 
  
 
host_virtual_interfaces: 
  Vlan2: 
   description: "In-BandManagement" 
   ip_address: "192.168.1.1 255.255.255.0" 
   state_enabled: true 
  
host_port_channels: 
  Port-channel1: 
    port_channel: 1 
    description: "Distribution Uplink" 
    encapsulation: dot1q 
    switchport_mode: trunk 
    switchport_nonegotiate: true 
    vlans: 2,3,10,11,20,30,50
state_enabled: true 
    members:  
      GigabitEthernet1/0/48: 
        power_inline: false 
        srr_queue_share: true 
        srr_queue_shape: true 
        priority_queue: out 
        trust_dscp: true 
        lacp: active 
        service_policy: 
          input: QoS-IN 
  
    state_enabled: true 
 
      GigabitEthernet2/0/48: 
        power_inline: false 
        srr_queue_share: true 
        srr_queue_shape: true 
        priority_queue: out 
        trust_dscp: true 
        lacp: active 
        service_policy: 
          input: QoS-IN 
 
    state_enabled: true 
  
host_interfaces: 
  GigabitEthernet1/0/1: 
    type: OPZone 
    description: Standard OPZone Interface 
    vlan: 10 
    voice_vlan: 11 
 
state_enabled: true 
  
 
  GigabitEthernet1/0/2: