kosmos-specs/specs/mitaka/sysarch/erd-diagram.dot

91 lines
2.3 KiB
Plaintext

digraph "models_diagram" {
graph[overlap=false, splines=true, fontname="sans-serif", fontsize=10 ]
node [ fontname="sans-serif"fontsize=10 ];
edge [ fontname="sans-serif"fontsize=10 ];
"LB" [shape=record, label="{\
loadbalancers|
id :uuid\l\
project_id :string\l\
domain_id :string\l\
name :string\l\
description :string\l\
fqdn :string\l\
zone_name :string\l\
flavor :enum\l\
appliance_id :string\l\
pool_ids :uuid\l\
}"]
"Pools" [shape=record, label="{\
pools|\l\
id :uuid\l\
project_id :string\l\
domain_id :string\l\
name :string\l\
description :string\l\
}"]
"PoolMembers" [shape=record, label="{\
pool_members|\l\
id :uuid\l\
project_id :string\l\
domain_id :string\l\
pool_id :string\l\
name :string\l\
description :string\l\
type :enum\l\
}"]
"PoolMemberParameters" [shape=record, label="{\
pool_member_parameters|\l\
id :uuid\l\
project_id :string\l\
domain_id :string\l\
pool_member_id :string\l\
key :enum\l\
value :string\l\
}"]
"Monitors" [shape=record, label="{\
monitors|\l\
id :uuid\l\
project_id :string\l\
domain_id :string\l\
name :string\l\
description :string\l\
type :string\l\
target :string\l\
auth :bool\l\
}"]
"MonitorParameters" [shape=record, label="{\
monitor_parameters|\l\
id :uuid\l\
project_id :string\l\
domain_id :string\l\
monitor_id :uuid\l\
key :enum\l\
value :string\l\
}"]
"PoolsMonitor" [shape=record, label="{\
pools_monitors|\l\
pool_id :uuid\l\
monitor_id :uuid\l\
}"]
{ rank=same; "LB", "Pools" }
{ rank=same; "PoolsMonitor" "PoolMembers" }
{ rank=same; "Monitors" "PoolMemberParameters" "MonitorParameters" }
"LB" -> "Pools" [arrowtail=odot, arrowhead=crow, dir=both]
"Pools" -> "PoolsMonitor" [arrowtail=odot, arrowhead=crow, dir=both]
"PoolsMonitor" -> "Monitors" [arrowtail=crow, arrowhead=odot, dir=both]
"Monitors" -> "MonitorParameters" [arrowtail=odot, arrowhead=crow, dir=both]
"Pools" -> "PoolMembers" [arrowtail=odot, arrowhead=crow, dir=both]
"PoolMembers" -> "PoolMemberParameters" [arrowtail=odot, arrowhead=crow, dir=both]
}