admin@glassfish.java.net

cli command ++

From: Carla Mott <carla.mott_at_oracle.com>
Date: Mon, 24 May 2010 15:47:46 -0700

Hi,

I'm working on a command where I want the resulting xml in domain.xml to
look like:
<nodes>
  <node name="ssh_node" host="gf1.sfbay.sun.com"
glassfish-home="/export/gf">
    <ssh-connector port="22">
      <ssh-auth type="key" username="dipol" keyfile="~/.ssh/id_dsa" />
    </ssh-connector>
  </node>
</nodes>

I can create nodes and node element but now am trying to figure out how
to add the ssh-connector and ssh-auth elements.

Is there an example that I can look at? I know there are other pieces
of code that do this but I'm not sure which one to use a a model.

Thanks,
Carla