diff --git a/type/__bird_ospf/man.rst b/type/__bird_ospf/man.rst index 9b9a20f..f3f4c9a 100644 --- a/type/__bird_ospf/man.rst +++ b/type/__bird_ospf/man.rst @@ -39,6 +39,12 @@ instance-id An OSPF instance ID, allowing several OSPF instances to run on the same links. +OPTIONAL MULTIPLE PARAMETERS +---------------------------- + +stubnet + Add an optionless stubnet definition to the configuration. + SEE ALSO -------- cdist-type__bird_core(7) diff --git a/type/__bird_ospf/manifest b/type/__bird_ospf/manifest index 0e219ae..211e91d 100755 --- a/type/__bird_ospf/manifest +++ b/type/__bird_ospf/manifest @@ -58,6 +58,7 @@ $([ -n "${instance_id?}" ] && printf "\tinstance id %s;\n" "${instance_id?}") area 0 { $(sed -e 's/^/\t\tinterface "/' -e 's/$/";/' "${__object:?}/parameter/interface") +$(sed -e 's/^/\t\tsubnet /' -e 's/$/;/' "${__object:?}/parameter/subnet") }; } EOF diff --git a/type/__bird_ospf/parameter/optional_multiple b/type/__bird_ospf/parameter/optional_multiple new file mode 100644 index 0000000..ed3f25a --- /dev/null +++ b/type/__bird_ospf/parameter/optional_multiple @@ -0,0 +1 @@ +stubnet