Added test cases to create and delete VLAN via IPMI

Change-Id: Ie48d72f39d74eedc19521fcdfd33b4aa4e0e2ffe
Signed-off-by: Anvesh Kumar Rayankula <anvesr77@in.ibm.com>
diff --git a/ipmi/test_ipmi_network_configuration.robot b/ipmi/test_ipmi_network_configuration.robot
index ab94df8..a9d75ba 100644
--- a/ipmi/test_ipmi_network_configuration.robot
+++ b/ipmi/test_ipmi_network_configuration.robot
@@ -92,6 +92,33 @@
     Valid Value  lan_config['802.1q VLAN ID']  ['${vlan_id}']
 
 
+Create VLAN Via IPMI
+    [Documentation]  Create and verify VLAN via IPMI.
+    [Tags]  Create_VLAN_Via_IPMI_And_Verify
+    [Teardown]  Run Keywords  FFDC On Test Case Fail  AND
+    ...  Create VLAN Via IPMI  off  AND  Restore Configuration
+
+    Create VLAN Via IPMI  ${vlan_id}
+
+    ${lan_config}=  Get LAN Print Dict  ${CHANNEL_NUMBER}  ipmi_cmd_type=inband
+    Valid Value  lan_config['802.1q VLAN ID']  ['${vlan_id}']
+    Valid Value  lan_config['IP Address']  ['${network_configurations[0]['Address']}']
+    Valid Value  lan_config['Subnet Mask']  ['${network_configurations[0]['SubnetMask']}']
+
+
+Create VLAN Via IPMI And Disable VLAN
+    [Documentation]  Disable VLAN and verify via IPMI.
+    [Tags]  Test_Disable_VLAN_Via_IPMI
+    [Teardown]  Run Keywords  FFDC On Test Case Fail  AND
+    ...  Create VLAN Via IPMI  off  AND  Restore Configuration
+
+    Create VLAN Via IPMI  ${vlan_id}
+    Create VLAN Via IPMI  off
+
+    ${lan_config}=  Get LAN Print Dict
+    Valid Value  lan_config['802.1q VLAN ID']  ['Disabled']
+
+
 *** Keywords ***
 
 Create VLAN Via IPMI