aboutsummaryrefslogtreecommitdiff
path: root/docs/images/whiteboard-object-model.dot
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2007-04-02 20:27:01 +0000
committerRob Austein <sra@hactrn.net>2007-04-02 20:27:01 +0000
commit3656ee007e36978a1dcedb6768bc1da7ee5bcb77 (patch)
tree9e3ae6c0c61ff554a16e5d91bbe43d9c379be4a9 /docs/images/whiteboard-object-model.dot
parente19d0ffbb3de5b3d4600f1f5dcdbce02c358dc3f (diff)
Reorganize clutter
svn path=/docs/images/prague-whiteboard-2007-03-21-02:29:14.jpg; revision=557
Diffstat (limited to 'docs/images/whiteboard-object-model.dot')
-rw-r--r--docs/images/whiteboard-object-model.dot61
1 files changed, 61 insertions, 0 deletions
diff --git a/docs/images/whiteboard-object-model.dot b/docs/images/whiteboard-object-model.dot
new file mode 100644
index 00000000..e1b89c61
--- /dev/null
+++ b/docs/images/whiteboard-object-model.dot
@@ -0,0 +1,61 @@
+// $URL$
+// $Id$
+
+// This is an attempt to capture
+// http://subvert-rpki.hactrn.net/docs/prague-whiteboard-2007-03-22-23:15:01.jpg
+
+// {arrowhead,arrowtail} shapes to use for database object relationships:
+// 1- none
+// m- crow
+// Color code:
+// Blue: visible in left-right protocol
+// Green: created on the fly
+
+digraph gsstsig_systems {
+ rotate=90; size="11,8.5"; splines=true; ratio=fill;
+ node [ shape=record ];
+
+ // Objects visible in left-to-right protocol
+ node [ color=blue ];
+ issuer [ label="Issuer cust_id" ];
+ parent [ label="Parent|{URL|key}" ];
+ repo [ label="Repository|{URL|key}" ];
+ child [ label="Child" ];
+ biz_sign [ label="Business signing context" ];
+
+ // Objects created on the fly by the RPKI engine
+ node [ color=green ];
+ ca [ label="CA|{CRL #|Last issued serial #}" ];
+ child_cert [ label="Child Certificate" ];
+ ee_cert [ label="EE certificate|{ROA}" ];
+ ca_key_pair [ label="CA key pair|{Latest CA certificate|Latest CRL}" ];
+
+ // One-many mappings
+ edge [ color=blue, arrowtail=none, arrowhead=crow ];
+ child -> biz_sign;
+ issuer -> child;
+ issuer -> parent;
+ parent -> biz_sign;
+ repo -> biz_sign;
+ repo -> parent;
+
+ // Many-many mappings
+ edge [ color=green, arrowtail=crow, arrowhead=crow ];
+ ca -> child;
+
+ // One-many mappings
+ edge [ color=green, arrowtail=none, arrowhead=crow ];
+ ca -> ca_key_pair;
+ child -> child_cert;
+ issuer -> ca;
+ parent -> ca;
+
+ // Weird one-many
+ edge [ color=green, arrowtail=none, arrowhead=crow, style=dashed ];
+ ca_key_pair -> child_cert;
+ ca_key_pair -> ee_cert;
+}
+
+// Local Variables:
+// compile-command: "neato -Tps2 whiteboard-object-model.dot | ps2pdf - whiteboard-object-model.pdf"
+// End: