def test_vlan_g02(self):
		""" vlan_g02 """
		vlan = {
			"vconfig": [
				{
					"interface": "s0e2",
					"vlan_id": 10
				}
			]
		}
		self.maxDiff = None
		e = ml_w_vlan.set(None, vlan)
		self.assertTrue(e[0], e[1])
		f = open(os.path.join("running", "vlan.txt"), "r")
		e = f.readlines()
		f.close()
		if "json" == ml_system.CFG_TYPE:
			self.assertEqual(e, ['{"vconfig": [{"interface": "s0e2", "vlan_id": 10}]}'])
		if "jcfg" == ml_system.CFG_TYPE:
			self.assertEqual(e, ['vlan {\n', '    vconfig-array {\n', '        vconfig { #1\n', '            interface s0e2\n', '            vlan_id 10\n', '        }\n', '    }\n', '}\n'])
			def run(self):
				e = ml_w_vlan.set(None, vlan, threading.RLock())