Skip to content
Snippets Groups Projects
Commit 9ebd4e4d authored by Alessandro Franceschi's avatar Alessandro Franceschi
Browse files

Added example for vlan interface configuration Fix #315

parent c930953b
No related branches found
No related tags found
No related merge requests found
...@@ -250,6 +250,16 @@ ...@@ -250,6 +250,16 @@
# parameter.The Red Hat Enterprise Linux (7 )installation program currently # parameter.The Red Hat Enterprise Linux (7 )installation program currently
# uses this to configure the layer mode (layer2) and the relative port # uses this to configure the layer mode (layer2) and the relative port
# number (portno) of qeth devices. # number (portno) of qeth devices.
#
# @example Configure a vlan interface:
#
# network::interface { 'ens18.252':
# method => 'static',
# ipaddress => '10.10.10.10',
# netmask => '255.255.255.0',
# type => 'vlan',
# }
#
define network::interface ( define network::interface (
$enable = true, $enable = true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment