|
@@ -253,6 +253,10 @@ func SetNodeDefaults(node *models.Node) {
|
|
postup := parentNetwork.DefaultPostUp
|
|
postup := parentNetwork.DefaultPostUp
|
|
node.PostUp = postup
|
|
node.PostUp = postup
|
|
}
|
|
}
|
|
|
|
+ if node.PostDown == "" {
|
|
|
|
+ postdown := parentNetwork.DefaultPostDown
|
|
|
|
+ node.PostDown = postdown
|
|
|
|
+ }
|
|
if node.IsStatic == "" {
|
|
if node.IsStatic == "" {
|
|
node.IsStatic = "no"
|
|
node.IsStatic = "no"
|
|
}
|
|
}
|