Skip to content

Commit

Permalink
Fix AutoYaST profile validation
Browse files Browse the repository at this point in the history
* Fix for bsc#954412.
* Add the missing 'firewall' element.
  • Loading branch information
imobachgs committed Nov 17, 2015
1 parent ace7478 commit a6f2221
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion src/autoyast-rnc/networking.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ interface =
element bonding_slave7 { text }? &
element bonding_slave8 { text }? &
element bonding_slave9 { text }? &
element bonding_module_opts { text }? &
element aliases { Anything }? &
broadcast? &
network? &
Expand All @@ -75,7 +76,13 @@ interface =
wireless? &
wifi_settings? &

dhclient_set_down_link?
bridge_settings? &
vlan_settings? &

dhclient_set_down_link? &
dhclient_set_default_route? &

element firewall { "yes" | "no" }?
}


Expand Down Expand Up @@ -112,6 +119,7 @@ remote_ipaddr = element remote_ipaddr { text }
bootproto = element bootproto { text }
broadcast = element broadcast { text }
dhclient_set_down_link = element dhclient_set_down_link { text }
dhclient_set_default_route = element dhclient_set_default_route { "yes" | "no" }
ipaddr = element ipaddr { text }
prefixlen = element prefixlen { text }
usercontrol = element usercontrol { text }
Expand Down Expand Up @@ -183,6 +191,24 @@ wireless_wpa_identity = element wireless_wpa_identity { text }
wireless_wpa_password = element wireless_wpa_password { text }
wireless_wpa_psk = element wireless_wpa_psk { text }

#
# Bridge
#
bridge_settings = (
element bridge { "yes" | "no" }? &
element bridge_ports { text }? &
element bridge_stp { "on" | "off" }? &
element bridge_forwarddelay { text }?
)

#
# VLAN
#
vlan_settings = (
element etherdevice { text }? &
element vlan_id { text }?
)

#
# MODULES
#
Expand Down

0 comments on commit a6f2221

Please sign in to comment.