def METHOD_NAME(self):
    """Test to deploy VM in a L2 network
    """
    network = Network.create(
        self.apiclient,
        self.services["l2-network"],
        zoneid=self.zone.id,
        networkofferingid=self.l2_network_offering.id
    )
    self.cleanup.append(network)
    vm = VirtualMachine.create(
        self.apiclient,
        self.services["virtual_machine"],
        serviceofferingid=self.service_offering.id
        networkids=network.id
    )
    self.cleanup.append(vm)
    self.assertEqual(
        vm.state,
        "Running",
        "Check VM deployed in edge zone with a L2 network is running"
    )