Skip to content

File Structure

Jacob Hartman edited this page Oct 15, 2016 · 1 revision

File Structure

  • lib
    • common - Common library
    • drivers - Modules for hypervisor drivers
    • handlers - Modules for handling requested actions
      • disk_handler.js - Module for handling hard disk operations, such as adding and removing virtual disk images
      • iso_handler.js - Module for handling ISO files
      • network_handler.js - Module for handling network-related requests, such as interfaces and interface groups
      • status_handler.js - Module for handling requests for server info and status
      • switch_handler.js - Module for handling requests for switches, e.g. creating and deleting switches
      • vm_handler.js - Module for handling requests for virtual machines, e.g. virtual machine management and configuration
    • transports - Modules for transports to carry out interactions between a front-end server and the vm server
    • util - Modules for functionality for use in other modules
    • startup.js - Module for the preparation and starting of the vm server
  • doc - Documentation
  • test - Mocha unit tests
  • config.js - Server configuration
  • vm-server.js - Main server module

Clone this wiki locally