<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hey everyone,<br>
<br>
I was going through the different charms, their relations, and
ultimately the interfaces they provide/consume. One thing I noticed
was an inconsistency of relation names (or what I think is called
the "relation name"). I know there was chatter of eventually
solidifying interface specs and names, but would that include (what
I've been referring to as) relation names?<br>
<br>
Here's a few examples:<br>
<br>
We have a rockin' MySQL[1] charm which at it's core provides a db
relation using the mysql interface (db being the relation name).
There's another sweet charm, MongoDB[2], which provides a database
relation using the mongodb interface. I'm under the impression that
the relation names for these two charms _should_ be the same, right?<br>
<br>
If so, there are some other common "relation names" that I think
should be fixed or considered. I would assume that these would be
bugs opened for each charm it affects but another example would be
the nfs[3] charm which provides both an nfs relation and interface.
This causes a bit of a conflict with a few of the up-and-coming
shared filesystems (which nfs falls under that category). Those
other charms are using a shared-fs[4] relation name and either nfs,
mount, or another interface name.<br>
<br>
UDS will probably be the best place to open discussions about how to
handle this (if this is indeed an issue) but I wanted to start
poking to see if what I'm thinking makes sense and how to handle
this.<br>
<br>
Thanks!<br>
Marco Ceppi<br>
<br>
1:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://jujucharms.com/charms/precise/mongodb">http://jujucharms.com/charms/precise/mysql</a><br>
2:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://jujucharms.com/charms/precise/mongodb">http://jujucharms.com/charms/precise/mongodb</a><br>
3:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://jujucharms.com/charms/precise/mongodb">http://jujucharms.com/charms/precise/nfs</a><br>
4:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://jujucharms.com/%7Emarcoceppi/precise/gluster-client">http://jujucharms.com/~marcoceppi/precise/gluster-client</a>
</body>
</html>