MCPcopy Create free account

hub / github.com/crocuda/virshle / functions

Functions552 in github.com/crocuda/virshle

↓ 4 callersMethodshutdown
(&self)
virshle_rest/src/server/methods.rs:586
↓ 4 callersMethodshutdown
(&mut self)
virshle_core/src/hypervisor/vmm/api.rs:212
↓ 4 callersMethodtemplate
(&mut self)
virshle_rest/src/client/methods.rs:84
↓ 4 callersMethodtry_into
(self)
virshle_core/src/peer/mod.rs:71
↓ 4 callersFunctionuuid_to_duid
Convert Vm uuid to predictable dhcp duid-uuid.
virshle_core/src/network/utils.rs:59
↓ 4 callersFunctionvm_bulk_results_to_hashmap
( vms: Vec<Vm>, results: Vec<Result<Result<Vm, VirshleError>, JoinError>>, )
virshle_rest/src/commons/utils.rs:87
↓ 3 callersMethod_create
Create a network on host (and ovs configuration).
virshle_core/src/hypervisor/vm/networks.rs:78
↓ 3 callersMethod_delete
Remove a network from host (and ovs configuration). WARNING: Silently fail (due to ".ok()").
virshle_core/src/hypervisor/vm/networks.rs:141
↓ 3 callersFunctionadd_color_used
(string: &str, percentage: &f64)
virshle_core/src/utils/display.rs:148
↓ 3 callersMethodbase_url
(&mut self, base_url: &str)
virshle_network/src/http/mod.rs:45
↓ 3 callersMethodboot
Bring the virtual machine up.
virshle_core/src/hypervisor/vmm/api.rs:175
↓ 3 callersMethodcreate
Create account record and persist into database.
virshle_core/src/config/user_data.rs:114
↓ 3 callersFunctiondelete
(name: &str)
virshle_core/src/network/ip/tap.rs:62
↓ 3 callersMethoddelete
* Remove network port from the vm switch. */
virshle_core/src/network/ovs/mod.rs:98
↓ 3 callersMethoddelete_all
Remove all networks associated to Vm from host (and ovs configuration).
virshle_core/src/hypervisor/vm/networks.rs:131
↓ 3 callersMethodfrom
(vm: &VmTemplate)
virshle_core/src/config/template/vm.rs:225
↓ 3 callersMethodget
(&mut self)
virshle_core/src/network/ovs/request.rs:74
↓ 3 callersMethodget_disks_dir
Return vm's disks directory path.
virshle_core/src/hypervisor/vm/getters.rs:68
↓ 3 callersMethodget_mount_dir
Return path where to mount vm pipelight-init disk to. This path is used to provision a pipelight-init disk (cloud-init alternative) with user defined
virshle_core/src/hypervisor/vm/getters.rs:82
↓ 3 callersMethodget_net_socket
* Return vm network socket path. */
virshle_core/src/hypervisor/vm/getters.rs:63
↓ 3 callersMethodget_percentage_reserved
(&self)
virshle_core/src/peer/info.rs:152
↓ 3 callersMethodinfo
Get info for locally running node "Self".
virshle_rest/src/server/methods.rs:96
↓ 3 callersMethodinfo
Get info about the vm.
virshle_core/src/hypervisor/vmm/api.rs:133
↓ 3 callersMethodis_saturated
RAM saturation
virshle_core/src/peer/info.rs:161
↓ 3 callersMethodmake_endpoint
(&mut self, endpoint: &str)
virshle_network/src/http/mod.rs:55
↓ 3 callersMethodping
Test if locally running node "Self" is responding to external requests
virshle_rest/src/server/methods.rs:92
↓ 3 callersFunctionreverse_human_bytes
Convert string to bytes.
virshle_core/src/hypervisor/disk/utils.rs:26
↓ 3 callersMethodsaturation_index
(&self)
virshle_core/src/peer/info.rs:156
↓ 3 callersMethodsend
( &mut self, endpoint: &str, request: &Request<Full<Bytes>>, )
virshle_network/src/http/mod.rs:138
↓ 3 callersFunctionserver
()
virshle_rest/src/e2e_tests/mod.rs:17
↓ 3 callersFunctionserver
()
virshle_rest/src/server/tests.rs:19
↓ 3 callersMethodto
()
virshle_core/src/database/entity/vm.rs:28
↓ 3 callersFunctionunwind
(result: Result<T, E>)
virshle_core/src/utils/testing.rs:104
↓ 3 callersMethodvmm
(&mut self)
virshle_rest/src/client/methods.rs:562
↓ 2 callersMethod_add_networks
Add networks: - push config to vmm process. This function does not create network on host.
virshle_core/src/hypervisor/vmm/api.rs:84
↓ 2 callersMethod_get_ipv4_leases
(&self)
virshle_core/src/network/dhcp/kea_old.rs:113
↓ 2 callersMethod_get_ipv4_leases_by_hostname
( &self, vm_name: &str, )
virshle_core/src/network/dhcp/kea_old.rs:74
↓ 2 callersMethod_get_ipv6_leases
(&self)
virshle_core/src/network/dhcp/kea_old.rs:140
↓ 2 callersMethod_get_ipv6_leases_by_hostname
( &self, vm_name: &str, )
virshle_core/src/network/dhcp/kea_old.rs:41
↓ 2 callersMethod_info
Get info about the vm as json.
virshle_core/src/hypervisor/vmm/api.rs:139
↓ 2 callersMethod_remove_networks
Remove networks: - remove config from vmm process. This function does not remove network device from host.
virshle_core/src/hypervisor/vmm/api.rs:69
↓ 2 callersMethodadd_init_disk
(&mut self, user_data: Option<UserData>)
virshle_core/src/hypervisor/vm/init.rs:172
↓ 2 callersMethodcreate
(&mut self, user_data: Option<UserData>)
virshle_core/src/hypervisor/vm/crud.rs:24
↓ 2 callersMethoddatabase
(&self)
virshle_core/src/config/init.rs:104
↓ 2 callersMethoddelete
(&mut self)
virshle_core/src/network/ovs/request.rs:70
↓ 2 callersMethoddelete_all
Delete
virshle_core/src/config/definition.rs:48
↓ 2 callersMethoddid
Get decentralized ID for locally running node "Self".
virshle_rest/src/server/methods.rs:101
↓ 2 callersMethoddirectories
Ensure virshle working directories exists.
virshle_core/src/config/init.rs:44
↓ 2 callersMethodensure
(&mut self)
virshle_rest/src/client/methods.rs:629
↓ 2 callersMethodensure
(&self)
virshle_rest/src/server/methods.rs:332
↓ 2 callersMethodensure_all
(&self)
virshle_core/src/hypervisor/vm/networks.rs:39
↓ 2 callersFunctionensure_switches
* Split host main network interface to provide connectivity to vms. * see: ./README.md */
virshle_core/src/network/ovs/mod.rs:217
↓ 2 callersFunctionfresh_db
Create a fresh database and ovewrite the old one.
virshle_core/src/database/connect.rs:36
↓ 2 callersFunctionget_db_url
()
virshle_core/src/database/connect.rs:18
↓ 2 callersFunctionget_fd
(name: &str)
virshle_core/src/network/ip/fd.rs:14
↓ 2 callersMethodget_ipv4_leases
(&self)
virshle_core/src/network/dhcp/kea_old.rs:108
↓ 2 callersFunctionget_main_interface
()
virshle_core/src/network/ip/mod.rs:124
↓ 2 callersMethodget_ports_by_type
(&self, _type: &OvsInterfaceType)
virshle_core/src/network/ovs/getters.rs:25
↓ 2 callersMethodget_random_unleased_ip
* Get a random an unused ip. */
virshle_core/src/network/dhcp/fake.rs:86
↓ 2 callersFunctionmap_title_to_content
( titleTag: string, contentTags: string[], vnodes: VNode[], )
docs/templates/js/code.ts:12
↓ 2 callersMethodnetwork
(&self)
virshle_core/src/config/init.rs:82
↓ 2 callersMethodone
( &mut self, lease: Lease, )
virshle_core/src/network/dhcp/kea/methods.rs:277
↓ 2 callersMethodopen
(&mut self)
virshle_network/src/http/mod.rs:123
↓ 2 callersMethodpeer
* For patch interface only. */
virshle_core/src/network/ovs/request.rs:159
↓ 2 callersMethodping_url
(&mut self, ping_url: &str)
virshle_network/src/http/mod.rs:42
↓ 2 callersFunctionrandom_name
()
virshle_core/src/hypervisor/rand/mod.rs:38
↓ 2 callersMethodremove_orphan_ports
* Remove ports from vm dedicated switch, * If a port is not related to an existing vm in database. */
virshle_core/src/network/ovs/mod.rs:191
↓ 2 callersMethodset_vsock_permissions
Widden vsock permissions to allow ssh connection from the owning group. Socket is not created on ch proc start, but after vm boot. So this function i
virshle_core/src/hypervisor/vm/mod.rs:131
↓ 2 callersMethodto_pipelight_toml_config
Convert user-data into a pipelight configuration file.
virshle_core/src/hypervisor/vm/init.rs:65
↓ 2 callersMethodtry_into
(self)
virshle_core/src/config/node.rs:35
↓ 2 callersMethodtry_into
(self)
virshle_core/src/config/load.rs:45
↓ 2 callersFunctionumount
Unmount init disk from host filesystem.
virshle_core/src/hypervisor/disk/utils.rs:144
↓ 2 callersMethodumount
(&self)
virshle_core/src/hypervisor/disk/mod.rs:108
↓ 2 callersFunctionup
* Bring interface up. */
virshle_core/src/network/ip/mod.rs:141
↓ 2 callersMethodwrite_init_files
* Write pipelight configuration file to init disk. */
virshle_core/src/hypervisor/disk/mod.rs:72
↓ 1 callersMethod_clean_directories
Clean orphan vm files if vm not in database.
virshle_core/src/config/init.rs:63
↓ 1 callersMethod_clean_leases
Clean dhcp leases
virshle_core/src/config/init.rs:92
↓ 1 callersMethod_delete_ipv4_leases
Delete a list of leases.
virshle_core/src/network/dhcp/kea_old.rs:256
↓ 1 callersMethod_delete_ipv6_leases
Delete a list of leases.
virshle_core/src/network/dhcp/kea_old.rs:225
↓ 1 callersMethod_first
(&mut self)
virshle_rest/src/client/methods.rs:325
↓ 1 callersMethod_many
(args: GetManyVmArgs)
virshle_rest/src/server/methods.rs:193
↓ 1 callersMethod_one
(args: GetVmArgs)
virshle_rest/src/server/methods.rs:168
↓ 1 callersMethod_self
(&mut self)
virshle_rest/src/client/methods.rs:314
↓ 1 callersFunction_umount
Unmount filesystem with ffi bindings. Not working yet for loopback devices, see: https://github.com/pop-os/sys-mount
virshle_core/src/hypervisor/disk/utils.rs:161
↓ 1 callersMethod_wait_until_socket_up
(&self)
virshle_core/src/hypervisor/vmm/api.rs:51
↓ 1 callersMethodadd_net
(&mut self, net_config: &NetConfig)
virshle_core/src/hypervisor/vmm/api.rs:234
↓ 1 callersMethodage
(&self)
virshle_core/src/hypervisor/vm/display.rs:56
↓ 1 callersMethodcan_create_vm
(&self, vm_template: &VmTemplate)
virshle_core/src/peer/info.rs:50
↓ 1 callersMethodclean
( &mut self, inet6: bool, inet4: bool, )
virshle_core/src/network/dhcp/kea/methods.rs:105
↓ 1 callersMethodclean_ipv4_leases
Remove leases if associated vm doesn't exist.
virshle_core/src/network/dhcp/kea_old.rs:168
↓ 1 callersMethodclean_ipv6_leases
Remove leases if associated vm doesn't exist.
virshle_core/src/network/dhcp/kea_old.rs:193
↓ 1 callersFunctionconnect_or_fresh_db
()
virshle_core/src/database/connect.rs:42
↓ 1 callersMethodconnect_to_socket
After ssh connection is open. Connect to socket at path: self.uri.path.
virshle_network/src/connection/ssh.rs:127
↓ 1 callersFunctionconvert_bad_json_to_good_json
* Internally used by `to_json` method. * * Flatten ovs-vsctl crazy json values into sane and usable values. * * BUG: OVS will return arrays for mis
virshle_core/src/network/ovs/convert.rs:105
↓ 1 callersMethodcreate
* Create an init disk on host filesystem. */
virshle_core/src/hypervisor/disk/mod.rs:92
↓ 1 callersMethodcreate_all
Create
virshle_core/src/config/definition.rs:35
↓ 1 callersFunctioncreate_disks
Copy template disks (if some) to vm storage directory and set file permissions.
virshle_core/src/config/template/vm.rs:141
↓ 1 callersMethodcreate_dpdk_port
* Add vm port into ovs config. */
virshle_core/src/network/ovs/mod.rs:57
↓ 1 callersMethodcreate_tap_port
* Add vm port into ovs config. */
virshle_core/src/network/ovs/mod.rs:41
↓ 1 callersMethodcreate_vms
(&mut self)
virshle_core/src/config/definition.rs:39
← previousnext →101–200 of 552, ranked by callers