from django.urls import path from . import views app_name = "instances" urlpatterns = [ path("", views.index, name="index"), path("flavor/create/", views.flavor_create, name="flavor_create"), path("flavor//update/", views.flavor_update, name="flavor_update"), path("flavor//delete/", views.flavor_delete, name="flavor_delete"), path("/", views.instance, name="instance"), path("/poweron/", views.poweron, name="poweron"), path("/powercycle/", views.powercycle, name="powercycle"), path("/poweroff/", views.poweroff, name="poweroff"), path("/suspend/", views.suspend, name="suspend"), path("/resume/", views.resume, name="resume"), path("/force_off/", views.force_off, name="force_off"), path("/destroy/", views.destroy, name="destroy"), path("/migrate/", views.migrate, name="migrate"), path("/status/", views.status, name="status"), path("/stats/", views.stats, name="stats"), path("/osinfo/", views.osinfo, name="osinfo"), path("/rootpasswd/", views.set_root_pass, name="rootpasswd"), path("/add_public_key/", views.add_public_key, name="add_public_key"), path("/resizevm_cpu/", views.resizevm_cpu, name="resizevm_cpu"), path("/resize_memory/", views.resize_memory, name="resize_memory"), path("/resize_disk/", views.resize_disk, name="resize_disk"), path("/add_new_vol/", views.add_new_vol, name="add_new_vol"), path("/delete_vol/", views.delete_vol, name="delete_vol"), path("/add_owner/", views.add_owner, name="add_owner"), path("/add_existing_vol/", views.add_existing_vol, name="add_existing_vol"), path("/edit_volume/", views.edit_volume, name="edit_volume"), path("/detach_vol/", views.detach_vol, name="detach_vol"), path("/add_cdrom/", views.add_cdrom, name="add_cdrom"), path("/detach_cdrom//", views.detach_cdrom, name="detach_cdrom"), path("/unmount_iso/", views.unmount_iso, name="unmount_iso"), path("/mount_iso/", views.mount_iso, name="mount_iso"), path("/snapshot/", views.snapshot, name="snapshot"), path("/delete_snapshot/", views.delete_snapshot, name="delete_snapshot"), path("/revert_snapshot/", views.revert_snapshot, name="revert_snapshot"), path("/create_external_snapshot/", views.create_external_snapshot, name="create_external_snapshot"), path("/revert_external_snapshot/", views.revert_external_snapshot, name="revert_external_snapshot"), path("/delete_external_snapshot/", views.delete_external_snapshot, name="delete_external_snapshot"), path("/set_vcpu/", views.set_vcpu, name="set_vcpu"), path("/set_vcpu_hotplug/", views.set_vcpu_hotplug, name="set_vcpu_hotplug"), path("/set_autostart/", views.set_autostart, name="set_autostart"), path("/unset_autostart/", views.unset_autostart, name="unset_autostart"), path("/set_bootmenu/", views.set_bootmenu, name="set_bootmenu"), path("/unset_bootmenu/", views.unset_bootmenu, name="unset_bootmenu"), path("/set_bootorder/", views.set_bootorder, name="set_bootorder"), path("/change_xml/", views.change_xml, name="change_xml"), path("/set_guest_agent/", views.set_guest_agent, name="set_guest_agent"), path("/set_video_model/", views.set_video_model, name="set_video_model"), path("/change_network/", views.change_network, name="change_network"), path("/add_network/", views.add_network, name="add_network"), path("/delete_network/", views.delete_network, name="delete_network"), path("/set_link_state/", views.set_link_state, name="set_link_state"), path("/set_qos/", views.set_qos, name="set_qos"), path("/unset_qos/", views.unset_qos, name="unset_qos"), path( "/del_owner/", views.del_owner, name="del_owner" ), # no links to this one??? path("/clone/", views.clone, name="clone"), path("/update_console/", views.update_console, name="update_console"), path("/change_options/", views.change_options, name="change_options"), path( "/getvvfile/", views.getvvfile, name="getvvfile" ), # no links to this one??? path( "create//", views.create_instance_select_type, name="create_instance_select_type", ), path( "create////", views.create_instance, name="create_instance", ), path( "guess_mac_address//", views.guess_mac_address, name="guess_mac_address" ), path("guess_clone_name/", views.guess_clone_name, name="guess_clone_name"), path("random_mac_address/", views.random_mac_address, name="random_mac_address"), path("check_instance//", views.check_instance, name="check_instance"), path("/sshkeys/", views.sshkeys, name="sshkeys"), ]