I don't think this has anything to do with the "group" commands, but this is what I have,
groups {
node0 {
system {
host-name covfw0;
}
interfaces {
fxp0 {
unit 0 {
family inet {
address 172.18.4.250/24;
}
}
}
}
}
node1 {
system {
host-name covfw1;
}
interfaces {
fxp0 {
unit 0 {
family inet {
address 172.18.4.251/24;
}
}
}
}
}
}
Now what makes me think that those are OK is that when I put in,
apply-groups node0
Which is what I have as a workaround, it works fine.
But if I change that to "${NODE}", which is what it will need to be to get node1 to work correctly, I get,
{primary:node0}[edit]
root@covfw0# delete apply-groups node0
{primary:node0}[edit]
root@covfw0# set apply-groups "${NODE}"
{primary:node0}[edit]
root@covfw0# show apply-groups
## Last changed: 2011-02-02 11:57:23 UTC
apply-groups "${NODE}"; ## '${NODE}' is not defined
{primary:node0}[edit]
root@covfw0# commit check
[edit]
'apply-groups "${NODE}"'
Configuration group '${NODE}' is not defined
error: configuration check-out failed: (missing statements)
{primary:node0}[edit]
root@covfw0#