-
Notifications
You must be signed in to change notification settings - Fork 7
Backend
Pavel Zinin edited this page Jul 2, 2019
·
5 revisions
/backend/:
vmemperor.py - entry point
auth/ - Authentication: see AuthenticatorDevelopment
constants/ - some global variables
customtask/ - XenAPI-like task for CreateVM and other non-XenAPI processes
handlers/graphql - see GraphQLAPI
handlers/rest - see Methods
singleton/ - Python singleton used for XenAdapterPool
templates/ - Linux distribution installation templates
tornadoql/ - GraphQL implementation for Tornado
utils/ - utils for obtaining user and quota info
xenadapter/ - classes corresponding for XenAPI classes (listed in __init__.py), XenObject metaclass and XenAPI event queue
xentools/ - XenAPI helpers
xentools/os.py - auto-installation helper
eventloop.py - thread launcher (see diagram above)
authentication.py - authentication base class
connman.py - RethinkDB connection manager
XenAPI.py - taken from Citrix source
createdbs.py - DB initialization code.
All paths relative to /backend