doc: interfaces: describe template inheritance
This commit is contained in:
parent
60d0ed34b8
commit
a55ef85776
1 changed files with 8 additions and 3 deletions
|
@ -47,6 +47,10 @@ with an address of *203.0.113.2* and gateway of *203.0.113.1*.
|
||||||
associated with the declaration will be stored inside
|
associated with the declaration will be stored inside
|
||||||
_object_.
|
_object_.
|
||||||
|
|
||||||
|
*template* _object_
|
||||||
|
Begins a new declaration for _object_, like *iface*, except
|
||||||
|
that _object_ is defined as a *template*.
|
||||||
|
|
||||||
# SUPPORTED KEYWORDS FOR OBJECT TRIPLES
|
# SUPPORTED KEYWORDS FOR OBJECT TRIPLES
|
||||||
|
|
||||||
Any keyword may be used inside an interface declaration block, but
|
Any keyword may be used inside an interface declaration block, but
|
||||||
|
@ -79,9 +83,10 @@ the system will only respond to certain keywords by default:
|
||||||
Interfaces associated with the parent are taken down at
|
Interfaces associated with the parent are taken down at
|
||||||
the same time as the parent.
|
the same time as the parent.
|
||||||
|
|
||||||
*inherit* _interface_
|
*inherit* _object_
|
||||||
Designates that the parent interface should inherit
|
Designates that the configured interface should inherit
|
||||||
configuration data from _interface_.
|
configuration data from _object_. Normally _object_
|
||||||
|
must be a *template*.
|
||||||
|
|
||||||
*use* _option_
|
*use* _option_
|
||||||
Designates that an option should be used. See _OPTIONS_
|
Designates that an option should be used. See _OPTIONS_
|
||||||
|
|
Loading…
Reference in a new issue