| 1 |
blockdiag components-bagpipe { |
| 2 |
span_width = 64; |
| 3 |
node_height = 100; |
| 4 |
|
| 5 |
shadow_style=none; |
| 6 |
default_shape = roundedbox; |
| 7 |
|
| 8 |
group bgpvpn { |
| 9 |
label="BGPVPN service plugin"; |
| 10 |
color=red; |
| 11 |
|
| 12 |
api[label="BGPVPN API",color="lightyellow"]; |
| 13 |
db[shape=flowchart.database,label="Neutron DB",color="lightyellow"]; |
| 14 |
driver[label="bagpipe driver",color="lightyellow"]; |
| 15 |
|
| 16 |
api -> driver ; |
| 17 |
api -> db[folded]; |
| 18 |
driver -> db[folded]; |
| 19 |
} |
| 20 |
|
| 21 |
group compute { |
| 22 |
label="compute node"; |
| 23 |
color=orange; |
| 24 |
|
| 25 |
agent[label="OpenVSwitch Agent\n+ Bagpipe BGPVPN\nextension",color=grey,textcolor=darkorange]; |
| 26 |
vswitch[label="OVS br-int/br-tun",color=lightgrey]; |
| 27 |
mplsvswitch[label="OVS br-mpls",color="darkorange"]; |
| 28 |
bgpspeaker[label="bagpipe-bgp",color="darkorange"]; |
| 29 |
|
| 30 |
agent -> bgpspeaker[label="REST"]; |
| 31 |
agent -> vswitch[folded]; |
| 32 |
vswitch <-> mplsvswitch[label="packets"]; |
| 33 |
bgpspeaker -> mplsvswitch[folded]; |
| 34 |
} |
| 35 |
|
| 36 |
group routers { |
| 37 |
color=lightgrey; |
| 38 |
shape=line; |
| 39 |
style=dashed; |
| 40 |
|
| 41 |
bgppeers[label="BGP Peers\nor Route Reflectors",stacked,color=green]; |
| 42 |
mplsrouters[label="MPLS routers"]; |
| 43 |
|
| 44 |
bgppeers -- mplsrouters[style=dotted,folded]; |
| 45 |
} |
| 46 |
|
| 47 |
/*admin_or_tenant [shape=actor,label="admin, tenant"]; |
| 48 |
admin_or_tenant -> api[color=blue];*/ |
| 49 |
|
| 50 |
driver <-> agent [label="RPCs"]; |
| 51 |
|
| 52 |
bgpspeaker <-> bgppeers[color=green,label="BGP",textcolor=green]; |
| 53 |
|
| 54 |
mplsvswitch <-> mplsrouters[label="MPLS\nor ..",folded]; |
| 55 |
} |