Split create_virtual_machine into create_virtualmachine and create_secondary_ip