[Ovirt-devel] Re: [PATCH node] Networking configuration support.
apevec at redhat.com
Wed Nov 12 18:22:07 UTC 2008
Darryl L. Pierce wrote:
> +# Iterates over the list of network devices on the node and prompts the user
> +# to configure each.
Could we make it conceptually similar to WUI NIC configuration, so instead of iterating NICs, ask user to define networks and then assign NICs to networks (via VLANs/bonds/bridges).
Right now I'm confused how to replicate, using this tool, current default Node network config: eth0 ensalved to DHCP-ed ovirtbr0 ...
> + # Is this NIC shared?
> + while true; do
> + printf "Is $NIC a shared interface? (Y/N) "
> + read
> + case $REPLY in
> + Y|y) CONFIG="$CONFIG\nset $THIS_ROOT/TYPE bridge"; break ;;
What does it mean "shared" ?
> + if [ "$bridge" == "N" ]; then
> + printf "Is $NIC bridged? (Y/N) "
Where is bridge defined?
> +# Merge together all generated files and run augtool
> +cat /var/tmp/augtool-* > /var/tmp/config-augtool
> +augtool < /var/tmp/config-augtool
must appened "save" command at the end to actually save the changes
also service network restart for change to take effect
More information about the ovirt-devel