| 1 |
blockdiag components-bagpipe { |
| 2 |
span_width = 64 |
| 3 |
node_height = 100 |
| 4 |
|
| 5 |
shadow_style=none |
| 6 |
default_shape = roundedbox |
| 7 |
|
| 8 |
group neutron { |
| 9 |
label="Neutron" |
| 10 |
color=red |
| 11 |
|
| 12 |
api[label="API\n(e.g Core)",color="lightyellow"] |
| 13 |
db[shape=flowchart.database,label="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 |
/* api_user [shape=actor,label="admin, tenant"] |
| 22 |
api_user -> api[color=blue] */ |
| 23 |
|
| 24 |
group computeA { |
| 25 |
label="compute node" |
| 26 |
color=orange |
| 27 |
|
| 28 |
agent_a[label="Neutron Agent\n+ bagpipe extension",color=grey,textcolor=darkorange] |
| 29 |
vswitch_a[label="vswitch\n(OVS)",color=lightgrey] |
| 30 |
bgpspeaker_a[label="bagpipe-bgp",color="darkorange"] |
| 31 |
|
| 32 |
agent_a -> bgpspeaker_a[label="REST"] |
| 33 |
agent_a -> vswitch_a[folded] |
| 34 |
bgpspeaker_a -> vswitch_a[folded] |
| 35 |
} |
| 36 |
|
| 37 |
group computeB { |
| 38 |
label="compute node" |
| 39 |
color=orange |
| 40 |
|
| 41 |
agent_b[label="Neutron Agent\n+ bagpipe extension",color=grey,textcolor=darkorange] |
| 42 |
vswitch_b[label="vswitch\n(OVS)",color=lightgrey] |
| 43 |
bgpspeaker_b[label="bagpipe-bgp",color="darkorange"] |
| 44 |
|
| 45 |
agent_b -> bgpspeaker_b[label="REST"] |
| 46 |
agent_b -> vswitch_b[folded] |
| 47 |
bgpspeaker_b -> vswitch_b[folded] |
| 48 |
} |
| 49 |
|
| 50 |
group routers { |
| 51 |
color=lightgrey |
| 52 |
shape=line |
| 53 |
style=none |
| 54 |
|
| 55 |
bgppeers[label="BGP Peers\nand/or\nRoute Reflector",stacked,color=green]; |
| 56 |
} |
| 57 |
|
| 58 |
bgpspeaker_a, bgpspeaker_b <-> bgppeers [color=green, |
| 59 |
label="BGP", |
| 60 |
textcolor=green] |
| 61 |
|
| 62 |
/*vswitch_b <-> vswitch_a [label="VXLAN", folded] |
| 63 |
vswitch_a, vswitch_b <-> mplsrouters[label="MPLS\n(over-x)"]*/ |
| 64 |
|
| 65 |
driver <-> agent_a, agent_b [label="RPCs"]; |
| 66 |
|
| 67 |
/*vswitch_a <-> mplsrouters [label="MPLS\n(over-x)"] |
| 68 |
vswitch_b <-> mplsrouters [label="MPLS\n(over-x)"]*/ |
| 69 |
|
| 70 |
} |