Chapter 8 Data Models and Dynamic Templates
For diagrams, tables, or exact code formatting, .
JOHN W. CAPOBIANCOPRINTED PAGE 135
TenGigabitEthernet1/1/6:
type: unused
TenGigabitEthernet1/1/7:
type: unused
TenGigabitEthernet1/1/8:
type: unused
TenGigabitEthernet1/1/9:
type: unused
TenGigabitEthernet1/1/10:
type: unused
TenGigabitEthernet1/1/11:
type: unused
TenGigabitEthernet1/1/12:
type: unused
TenGigabitEthernet2/1/4:
type: unused
TenGigabitEthernet2/1/5:
type: unused
TenGigabitEthernet2/1/6:
type: unused
TenGigabitEthernet2/1/7:
type: unused
TenGigabitEthernet2/1/8:
type: unused
TenGigabitEthernet2/1/9:
type: unused
TenGigabitEthernet2/1/10:
type: unused
TenGigabitEthernet2/1/11:
type: unused
TenGigabitEthernet2/1/12:
type: unusedCreate Templates The next step is to build dynamic templates. Now that a data dictionary, comprised of key-pair values along with structured lists, exists, templates can be created. The Jinja2 templates substitutes portions of configuration commands with dynamic data from the dictionary for a device or group of devices.
