:
Region A Region B
ZTP
Server
API
Server
Switch
etcd
Switch
etcd
Sync Agent
watch switch data
Service
Sync Agent
watch switch status
Slide 23
Slide 23 text
:
Region A Region B
ZTP
Server
API
Server
Switch
etcd
Switch
etcd
Sync Agent
Service
Request
Update switch data
Configure switch
Sync Agent
API
Fetch switch data
Covert switch data
NAPALM base
data model
Slide 24
Slide 24 text
:
Region A Region B
ZTP
Server
API
Server
Switch
etcd
Switch
etcd
Sync Agent
Service
Request
Update switch data
Configure switch
Sync Agent
API
Fetch switch data
Covert switch data
Cumulus
Ansible
Data model
Ansible Inventory
Slide 25
Slide 25 text
API
Server
Switch1
etcd
Server
Controller
Sync Agent
Switch2
Sync Agent
Slide 26
Slide 26 text
API
Server
Switch1
etcd
Sync Agent
ServerA Switch2
Sync Agent
Server
Controller
API Request
10.0.0.1/32
{
“hostname”: “ServerA”,
“address”: “10.0.0.1/32”,
“ip_version”: 4,
}
if1
Slide 27
Slide 27 text
API
Server
Switch1
etcd
Sync Agent
ServerA Switch2
Sync Agent
Server
Controller
10.0.0.1/32
Key: “/servers/config/ServerA”
{
“hostname”: “ServerA”,
“prefixes”: [“10.0.0.1/32”],
}
if1
Slide 28
Slide 28 text
API
Server
Switch1
etcd
Sync Agent
ServerA Switch2
Sync Agent
Server
Controller
10.0.0.1/32
LLDP
Watch LLDP database
if1
Slide 29
Slide 29 text
API
Server
Switch1
etcd
Sync Agent
ServerA Switch2
Sync Agent
Server
Controller
10.0.0.1/32
LLDP
Fetch Server information
Key: “/servers/config/ServerA”
Key: “/servers/config/ServerA”
{
“hostname”: “ServerA”,
“prefixes”: [“10.0.0.1/32”],
}
if1
Slide 30
Slide 30 text
API
Server
Switch1
etcd
Sync Agent
ServerA Switch2
Sync Agent
Server
Controller
10.0.0.1/32
if1
Update prefix filter (Ansible)
ip prefix-list filter-if1-in permit 10.0.0.1/32