summaryrefslogtreecommitdiffstats
path: root/openvswitch-ovs2_4-ixgbe-vlan.xml
diff options
context:
space:
mode:
authorBill Peck <bpeck@redhat.com>2013-01-18 13:44:34 -0500
committerBill Peck <bpeck@redhat.com>2013-01-18 13:44:34 -0500
commite80b82d10a95ab81e1a4c39476a62fce8d10365e (patch)
tree5a7e9b1f003796db4b03b966dbcfc995d34ed35f /openvswitch-ovs2_4-ixgbe-vlan.xml
parent8d25e703eeaf3f7bd2aa03ca2f91ac3487836a09 (diff)
downloadtests-e80b82d10a95ab81e1a4c39476a62fce8d10365e.zip
tests-e80b82d10a95ab81e1a4c39476a62fce8d10365e.tar.gz
tests-e80b82d10a95ab81e1a4c39476a62fce8d10365e.tar.xz
more test plans. Cover tg3 and ixgbe
Diffstat (limited to 'openvswitch-ovs2_4-ixgbe-vlan.xml')
-rw-r--r--openvswitch-ovs2_4-ixgbe-vlan.xml533
1 files changed, 533 insertions, 0 deletions
diff --git a/openvswitch-ovs2_4-ixgbe-vlan.xml b/openvswitch-ovs2_4-ixgbe-vlan.xml
new file mode 100644
index 0000000..4565311
--- /dev/null
+++ b/openvswitch-ovs2_4-ixgbe-vlan.xml
@@ -0,0 +1,533 @@
+<job retention_tag="120days">
+ <whiteboard>
+ ixgbe openvswitch vlan100 and vlan200
+ </whiteboard>
+ <recipeSet priority="High">
+ <recipe kernel_options="" kernel_options_post="" ks_meta="" role="None" whiteboard="rhel6u4_1 rhel6u4_2 rhel6u4_3">
+ <guestrecipe guestargs=" -s 10 --hvm --kvm" guestname="rhel6u4_1" kernel_options="" kernel_options_post="" ks_meta="" whiteboard="rhel6u4_1" role="None">
+ <autopick random="false"/>
+ <watchdog panic="None"/>
+ <packages/>
+ <ks_appends>
+ <ks_append><![CDATA[
+cat <<EOF >/etc/sysconfig/network-scripts/ifcfg-eth1
+DEVICE=eth1
+ONBOOT=yes
+TYPE="Ethernet"
+HOTPLUG=no
+IPADDR=192.168.2.1
+NETMASK=255.255.255.0
+EOF
+ ]]></ks_append>
+ </ks_appends>
+ <repos>
+ <repo name="openvswitch" url="http://file.bos.redhat.com/~bpeck/openvswitch/"/>
+ </repos>
+ <distroRequires>
+ <and>
+ <distro_family op="=" value="RedHatEnterpriseLinux6"/>
+ <distro_tag op="=" value="STABLE"/>
+ <distro_variant op="=" value="Server"/>
+ <distro_arch op="=" value="x86_64"/>
+ </and>
+ </distroRequires>
+ <hostRequires>
+ <system_type value="Virtual"/>
+ </hostRequires>
+ <partitions/>
+ <task name="/distribution/install" role="STANDALONE">
+ <params/>
+ </task>
+ <task name="/distribution/command" role="SERVERS">
+ <params>
+ <param name="CMDS_TO_RUN" value="sleep 300"/>
+ </params>
+ </task>
+ <task name="/distribution/get_task" role="STANDALONE">
+ <params>
+ <param name="GITURIS" value="git://git2.engineering.redhat.com/users/bpeck/tests.git?master#kernel/networking/ping git://git2.engineering.redhat.com/users/bpeck/tests.git?master#kernel/networking/netperf"/>
+ <param name="VALID_ADDRS" value="192.168.2.1 192.168.2.2 192.168.2.4 192.168.2.5"/>
+ <param name="INVALID_ADDRS" value="192.168.2.3 192.168.2.6"/>
+ </params>
+ </task>
+ <task name="/distribution/reservesys">
+ <params>
+ <param name="RESERVE_IF_FAIL" value="True"/>
+ </params>
+ </task>
+ </guestrecipe>
+ <guestrecipe guestargs=" -s 10 --hvm --kvm" guestname="rhel6u4_2" kernel_options="" kernel_options_post="" ks_meta="" whiteboard="rhel6u4_u2" role="None">
+ <autopick random="false"/>
+ <watchdog panic="None"/>
+ <packages/>
+ <ks_appends>
+ <ks_append><![CDATA[
+cat <<EOF >/etc/sysconfig/network-scripts/ifcfg-eth1
+DEVICE=eth1
+ONBOOT=yes
+TYPE="Ethernet"
+HOTPLUG=no
+IPADDR=192.168.2.2
+NETMASK=255.255.255.0
+EOF
+ ]]></ks_append>
+ </ks_appends>
+ <repos>
+ <repo name="openvswitch" url="http://file.bos.redhat.com/~bpeck/openvswitch/"/>
+ </repos>
+ <distroRequires>
+ <and>
+ <distro_family op="=" value="RedHatEnterpriseLinux6"/>
+ <distro_tag op="=" value="STABLE"/>
+ <distro_variant op="=" value="Server"/>
+ <distro_arch op="=" value="x86_64"/>
+ </and>
+ </distroRequires>
+ <hostRequires>
+ <system_type value="Virtual"/>
+ </hostRequires>
+ <partitions/>
+ <task name="/distribution/install" role="STANDALONE">
+ <params/>
+ </task>
+ <task name="/distribution/command" role="SERVERS">
+ <params>
+ <param name="CMDS_TO_RUN" value="sleep 300"/>
+ </params>
+ </task>
+ <task name="/distribution/get_task" role="STANDALONE">
+ <params>
+ <param name="GITURIS" value="git://git2.engineering.redhat.com/users/bpeck/tests.git?master#kernel/networking/ping git://git2.engineering.redhat.com/users/bpeck/tests.git?master#kernel/networking/netperf"/>
+ <param name="VALID_ADDRS" value="192.168.2.1 192.168.2.2 192.168.2.4 192.168.2.5"/>
+ <param name="INVALID_ADDRS" value="192.168.2.3 192.168.2.6"/>
+ </params>
+ </task>
+ <task name="/distribution/reservesys">
+ <params>
+ <param name="RESERVE_IF_FAIL" value="True"/>
+ </params>
+ </task>
+ </guestrecipe>
+ <guestrecipe guestargs=" -s 10 --hvm --kvm" guestname="rhel6u4_3" kernel_options="" kernel_options_post="" ks_meta="" whiteboard="rhel6u4_3" role="None">
+ <autopick random="false"/>
+ <watchdog panic="None"/>
+ <packages/>
+ <ks_appends>
+ <ks_append><![CDATA[
+cat <<EOF >/etc/sysconfig/network-scripts/ifcfg-eth1
+DEVICE=eth1
+ONBOOT=yes
+TYPE="Ethernet"
+HOTPLUG=no
+IPADDR=192.168.2.3
+NETMASK=255.255.255.0
+EOF
+ ]]></ks_append>
+ </ks_appends>
+ <repos>
+ <repo name="openvswitch" url="http://file.bos.redhat.com/~bpeck/openvswitch/"/>
+ </repos>
+ <distroRequires>
+ <and>
+ <distro_family op="=" value="RedHatEnterpriseLinux6"/>
+ <distro_tag op="=" value="STABLE"/>
+ <distro_variant op="=" value="Server"/>
+ <distro_arch op="=" value="i386"/>
+ </and>
+ </distroRequires>
+ <hostRequires>
+ <system_type value="Virtual"/>
+ </hostRequires>
+ <partitions/>
+ <task name="/distribution/install" role="STANDALONE">
+ <params/>
+ </task>
+ <task name="/distribution/command" role="SERVERS">
+ <params>
+ <param name="CMDS_TO_RUN" value="sleep 300"/>
+ </params>
+ </task>
+ <task name="/distribution/get_task" role="STANDALONE">
+ <params>
+ <param name="GITURIS" value="git://git2.engineering.redhat.com/users/bpeck/tests.git?master#kernel/networking/ping git://git2.engineering.redhat.com/users/bpeck/tests.git?master#kernel/networking/netperf"/>
+ <param name="INVALID_ADDRS" value="192.168.2.1 192.168.2.2 192.168.2.4 192.168.2.5"/>
+ <param name="VALID_ADDRS" value="192.168.2.3 192.168.2.6"/>
+ </params>
+ </task>
+ <task name="/distribution/reservesys">
+ <params>
+ <param name="RESERVE_IF_FAIL" value="True"/>
+ </params>
+ </task>
+ </guestrecipe>
+ <autopick random="false"/>
+ <watchdog panic="None"/>
+ <packages/>
+ <ks_appends>
+ <ks_append><![CDATA[
+yum -y install openvswitch
+
+# Turn on openvswitch
+chkconfig --add openvswitch
+
+cat <<EOF >/etc/sysconfig/network-scripts/ifcfg-ovsbridge1
+DEVICE=ovsbridge1
+ONBOOT=yes
+DEVICETYPE=ovs
+TYPE=OVSBridge
+HOTPLUG=no
+OVSBOOTPROTO="static"
+IPADDR=192.168.2.21
+NETMASK=255.255.255.0
+EOF
+#cat <<EOF >/etc/sysconfig/network-scripts/ifcfg-ovsbridge2
+#DEVICE=ovsbridge2
+#ONBOOT=yes
+#DEVICETYPE=ovs
+#TYPE=OVSBridge
+#HOTPLUG=no
+#OVSBOOTPROTO="static"
+#IPADDR=192.168.66.21
+#NETMASK=255.255.255.0
+#EOF
+
+
+cat <<EOF >/etc/sysconfig/network-scripts/ifcfg-p6p1
+DEVICE=p6p1
+DEVICETYPE=ovs
+TYPE=OVSPort
+HWADDR=A0:36:9F:08:2B:C4
+ONBOOT=yes
+NM_CONTROLLED=no
+BOOTPROTO=none
+OVS_BRIDGE=ovsbridge1
+OVS_OPTIONS="trunk=100,200"
+EOF
+
+#cat <<EOF >/etc/sysconfig/network-scripts/ifcfg-p6p2
+#DEVICE=p6p2
+#HWADDR=A0:36:9F:08:2B:C6
+#TYPE=Ethernet
+#UUID=91fd6c7d-5ecd-4cfd-af05-45be6e448c46
+#ONBOOT=no
+#NM_CONTROLLED=yes
+#BOOTPROTO=dhcp
+#EOF
+ ]]></ks_append>
+ </ks_appends>
+ <repos>
+ <repo name="openvswitch" url="http://file.bos.redhat.com/~bpeck/openvswitch/"/>
+ <!-- <repo name="openvswitch" url="http://download.devel.redhat.com/brewroot/repos/rh-folsom-rhel-6-build/latest/x86_64/">-->
+ </repos>
+ <distroRequires>
+ <and>
+ <distro_family op="=" value="RedHatEnterpriseLinux6"/>
+ <distro_tag op="=" value="STABLE"/>
+ <distro_variant op="=" value="Server"/>
+ <distro_arch op="=" value="x86_64"/>
+ </and>
+ </distroRequires>
+ <hostRequires>
+ <and>
+ <system>
+ <name op="=" value="qe-dell-ovs2.lab.bos.redhat.com"/>
+ <arch op="=" value="x86_64"/>
+ </system>
+ <key_value key="HVM" op="=" value="1"/>
+ </and>
+ <system_type value="Machine"/>
+ </hostRequires>
+ <partitions/>
+ <task name="/distribution/install" role="STANDALONE">
+ <params/>
+ </task>
+ <task name="/distribution/virt/install" role="SERVERS">
+ <params>
+ <param name="KILLTIMEOVERRIDE" value="59280"/>
+ </params>
+ </task>
+ <task name="/distribution/get_task" role="STANDALONE">
+ <params>
+ <param name="GITURIS" value="git://git2.engineering.redhat.com/users/bpeck/tests.git?master#kernel/networking/openvswitch/libvirt/add_interface"/>
+ <param name="SWITCHES" value="ovsbridge1"/>
+ <param name="VLANS_ovsbridge1" value="vlan100 vlan200"/>
+ <param name="vlan100" value="rhel6u4_1 rhel6u4_2"/>
+ <param name="vlan200" value="rhel6u4_3"/>
+ <!-- <param name="GITURIS" value="git://git2.engineering.redhat.com/users/bpeck/tests.git?master#kernel/networking/openvswitch/br_to_vswitch git://git2.engineering.redhat.com/users/bpeck/tests.git?master#kernel/networking/openvswitch/libvirt/add_interface"/> -->
+ <!-- <param name="GITURIS" value="git://git2.engineering.redhat.com/users/bpeck/tests.git?master#kernel/networking/openvswitch/create_vlan"/> -->
+ <!-- <param name="VLANS" value="100 101"/> -->
+ </params>
+ </task>
+ <task name="/distribution/virt/start" role="STANDALONE">
+ <params/>
+ </task>
+ <task name="/distribution/reservesys">
+ <params>
+ <param name="RESERVE_IF_FAIL" value="True"/>
+ </params>
+ </task>
+ </recipe>
+ <recipe kernel_options="" kernel_options_post="" ks_meta="" role="None" whiteboard="rhel6u4_4 rhel6u4_5 rhel6u4_6">
+ <guestrecipe guestargs=" -s 10 --hvm --kvm" guestname="rhel6u4_4" kernel_options="" kernel_options_post="" ks_meta="" whiteboard="rhel6u4_4" role="None">
+ <autopick random="false"/>
+ <watchdog panic="None"/>
+ <packages/>
+ <ks_appends>
+ <ks_append><![CDATA[
+cat <<EOF >/etc/sysconfig/network-scripts/ifcfg-eth1
+DEVICE=eth1
+ONBOOT=yes
+TYPE="Ethernet"
+HOTPLUG=no
+IPADDR=192.168.2.4
+NETMASK=255.255.255.0
+EOF
+ ]]></ks_append>
+ </ks_appends>
+ <repos>
+ <repo name="openvswitch" url="http://file.bos.redhat.com/~bpeck/openvswitch/"/>
+ </repos>
+ <distroRequires>
+ <and>
+ <distro_family op="=" value="RedHatEnterpriseLinux6"/>
+ <distro_tag op="=" value="STABLE"/>
+ <distro_variant op="=" value="Server"/>
+ <distro_arch op="=" value="x86_64"/>
+ </and>
+ </distroRequires>
+ <hostRequires>
+ <system_type value="Virtual"/>
+ </hostRequires>
+ <partitions/>
+ <task name="/distribution/install" role="STANDALONE">
+ <params/>
+ </task>
+ <task name="/distribution/command" role="SERVERS">
+ <params>
+ <param name="CMDS_TO_RUN" value="sleep 300"/>
+ </params>
+ </task>
+ <task name="/distribution/get_task" role="STANDALONE">
+ <params>
+ <param name="GITURIS" value="git://git2.engineering.redhat.com/users/bpeck/tests.git?master#kernel/networking/ping git://git2.engineering.redhat.com/users/bpeck/tests.git?master#kernel/networking/netperf"/>
+ <param name="VALID_ADDRS" value="192.168.2.1 192.168.2.2 192.168.2.4 192.168.2.5"/>
+ <param name="INVALID_ADDRS" value="192.168.2.3 192.168.2.6"/>
+ </params>
+ </task>
+ <task name="/distribution/reservesys">
+ <params>
+ <param name="RESERVE_IF_FAIL" value="True"/>
+ </params>
+ </task>
+ </guestrecipe>
+ <guestrecipe guestargs=" -s 10 --hvm --kvm" guestname="rhel6u4_5" kernel_options="" kernel_options_post="" ks_meta="" whiteboard="rhel6u4_5" role="None">
+ <autopick random="false"/>
+ <watchdog panic="None"/>
+ <packages/>
+ <ks_appends>
+ <ks_append><![CDATA[
+cat <<EOF >/etc/sysconfig/network-scripts/ifcfg-eth1
+DEVICE=eth1
+ONBOOT=yes
+TYPE="Ethernet"
+HOTPLUG=no
+IPADDR=192.168.2.5
+NETMASK=255.255.255.0
+EOF
+ ]]></ks_append>
+ </ks_appends>
+ <repos>
+ <repo name="openvswitch" url="http://file.bos.redhat.com/~bpeck/openvswitch/"/>
+ </repos>
+ <distroRequires>
+ <and>
+ <distro_family op="=" value="RedHatEnterpriseLinux6"/>
+ <distro_tag op="=" value="STABLE"/>
+ <distro_variant op="=" value="Server"/>
+ <distro_arch op="=" value="x86_64"/>
+ </and>
+ </distroRequires>
+ <hostRequires>
+ <system_type value="Virtual"/>
+ </hostRequires>
+ <partitions/>
+ <task name="/distribution/install" role="STANDALONE">
+ <params/>
+ </task>
+ <task name="/distribution/command" role="SERVERS">
+ <params>
+ <param name="CMDS_TO_RUN" value="sleep 300"/>
+ </params>
+ </task>
+ <task name="/distribution/get_task" role="STANDALONE">
+ <params>
+ <param name="GITURIS" value="git://git2.engineering.redhat.com/users/bpeck/tests.git?master#kernel/networking/ping git://git2.engineering.redhat.com/users/bpeck/tests.git?master#kernel/networking/netperf"/>
+ <param name="VALID_ADDRS" value="192.168.2.1 192.168.2.2 192.168.2.4 192.168.2.5"/>
+ <param name="INVALID_ADDRS" value="192.168.2.3 192.168.2.6"/>
+ </params>
+ </task>
+ <task name="/distribution/reservesys">
+ <params>
+ <param name="RESERVE_IF_FAIL" value="True"/>
+ </params>
+ </task>
+ </guestrecipe>
+ <guestrecipe guestargs=" -s 10 --hvm --kvm" guestname="rhel6u4_6" kernel_options="" kernel_options_post="" ks_meta="" whiteboard="rhel6u4_6" role="None">
+ <autopick random="false"/>
+ <watchdog panic="None"/>
+ <packages/>
+ <ks_appends>
+ <ks_append><![CDATA[
+cat <<EOF >/etc/sysconfig/network-scripts/ifcfg-eth1
+DEVICE=eth1
+ONBOOT=yes
+TYPE="Ethernet"
+HOTPLUG=no
+IPADDR=192.168.2.6
+NETMASK=255.255.255.0
+EOF
+ ]]></ks_append>
+ </ks_appends>
+ <repos>
+ <repo name="openvswitch" url="http://file.bos.redhat.com/~bpeck/openvswitch/"/>
+ </repos>
+ <distroRequires>
+ <and>
+ <distro_family op="=" value="RedHatEnterpriseLinux6"/>
+ <distro_tag op="=" value="STABLE"/>
+ <distro_variant op="=" value="Server"/>
+ <distro_arch op="=" value="i386"/>
+ </and>
+ </distroRequires>
+ <hostRequires>
+ <system_type value="Virtual"/>
+ </hostRequires>
+ <partitions/>
+ <task name="/distribution/install" role="STANDALONE">
+ <params/>
+ </task>
+ <task name="/distribution/command" role="SERVERS">
+ <params>
+ <param name="CMDS_TO_RUN" value="sleep 300"/>
+ </params>
+ </task>
+ <task name="/distribution/get_task" role="STANDALONE">
+ <params>
+ <param name="GITURIS" value="git://git2.engineering.redhat.com/users/bpeck/tests.git?master#kernel/networking/ping git://git2.engineering.redhat.com/users/bpeck/tests.git?master#kernel/networking/netperf"/>
+ <param name="INVALID_ADDRS" value="192.168.2.1 192.168.2.2 192.168.2.4 192.168.2.5"/>
+ <param name="VALID_ADDRS" value="192.168.2.3 192.168.2.6"/>
+ </params>
+ </task>
+ <task name="/distribution/reservesys">
+ <params>
+ <param name="RESERVE_IF_FAIL" value="True"/>
+ </params>
+ </task>
+ </guestrecipe>
+ <autopick random="false"/>
+ <watchdog panic="None"/>
+ <packages/>
+ <ks_appends>
+ <ks_append><![CDATA[
+yum -y install openvswitch
+
+# Turn on openvswitch
+chkconfig --add openvswitch
+
+cat <<EOF >/etc/sysconfig/network-scripts/ifcfg-ovsbridge1
+DEVICE=ovsbridge1
+ONBOOT=yes
+DEVICETYPE=ovs
+TYPE=OVSBridge
+HOTPLUG=no
+OVSBOOTPROTO="static"
+IPADDR=192.168.2.41
+NETMASK=255.255.255.0
+EOF
+#cat <<EOF >/etc/sysconfig/network-scripts/ifcfg-ovsbridge2
+#DEVICE=ovsbridge2
+#ONBOOT=yes
+#DEVICETYPE=ovs
+#TYPE=OVSBridge
+#HOTPLUG=no
+#OVSBOOTPROTO="static"
+#IPADDR=192.168.66.41
+#NETMASK=255.255.255.0
+#EOF
+
+cat <<EOF >/etc/sysconfig/network-scripts/ifcfg-p6p1
+DEVICE=p6p1
+DEVICETYPE=ovs
+TYPE=OVSPort
+HWADDR=A0:36:9F:08:2D:34
+UUID=1c5be512-f3f9-4bf2-941e-dbed6c27118e
+ONBOOT=yes
+NM_CONTROLLED=no
+BOOTPROTO=none
+OVS_BRIDGE=ovsbridge1
+EOF
+
+#cat <<EOF >/etc/sysconfig/network-scripts/ifcfg-p6p2
+#DEVICE=p6p2
+#HWADDR=A0:36:9F:08:2D:36
+#TYPE=Ethernet
+#UUID=06569135-c76b-43ea-9329-5266f78d0e22
+#ONBOOT=no
+#NM_CONTROLLED=yes
+#BOOTPROTO=dhcp
+ ]]></ks_append>
+ </ks_appends>
+ <repos>
+ <repo name="openvswitch" url="http://file.bos.redhat.com/~bpeck/openvswitch/"/>
+ <!-- <repo name="openvswitch" url="http://download.devel.redhat.com/brewroot/repos/rh-folsom-rhel-6-build/latest/x86_64/">-->
+ </repos>
+ <distroRequires>
+ <and>
+ <distro_family op="=" value="RedHatEnterpriseLinux6"/>
+ <distro_tag op="=" value="STABLE"/>
+ <distro_variant op="=" value="Server"/>
+ <distro_arch op="=" value="x86_64"/>
+ </and>
+ </distroRequires>
+ <hostRequires>
+ <and>
+ <system>
+ <name op="=" value="qe-dell-ovs4.lab.bos.redhat.com"/>
+ <arch op="=" value="x86_64"/>
+ </system>
+ <key_value key="HVM" op="=" value="1"/>
+ </and>
+ <system_type value="Machine"/>
+ </hostRequires>
+ <partitions/>
+ <task name="/distribution/install" role="STANDALONE">
+ <params/>
+ </task>
+ <task name="/distribution/virt/install" role="SERVERS">
+ <params>
+ <param name="KILLTIMEOVERRIDE" value="59280"/>
+ </params>
+ </task>
+ <task name="/distribution/get_task" role="STANDALONE">
+ <params>
+ <param name="GITURIS" value="git://git2.engineering.redhat.com/users/bpeck/tests.git?master#kernel/networking/openvswitch/libvirt/add_interface"/>
+ <param name="SWITCHES" value="ovsbridge1"/>
+ <param name="VLANS_ovsbridge1" value="vlan100 vlan200"/>
+ <param name="vlan100" value="rhel6u4_4 rhel6u4_5"/>
+ <param name="vlan200" value="rhel6u4_6"/>
+ <!-- <param name="GITURIS" value="git://git2.engineering.redhat.com/users/bpeck/tests.git?master#kernel/networking/openvswitch/br_to_vswitch git://git2.engineering.redhat.com/users/bpeck/tests.git?master#kernel/networking/openvswitch/libvirt/add_interface"/> -->
+ <!-- <param name="GITURIS" value="git://git2.engineering.redhat.com/users/bpeck/tests.git?master#kernel/networking/openvswitch/create_vlan"/> -->
+ <!-- <param name="VLANS" value="100 101"/> -->
+ </params>
+ </task>
+ <task name="/distribution/virt/start" role="STANDALONE">
+ <params/>
+ </task>
+ <task name="/distribution/reservesys">
+ <params>
+ <param name="RESERVE_IF_FAIL" value="True"/>
+ </params>
+ </task>
+ </recipe>
+ </recipeSet>
+</job>