Serves as a basic TCP proxy between Android devices and Android VMs running in the cloud. Handles authentication, session management, and proxying messages.
npm install -g git+https://github.com/SVMP/svmp-server-cli
Set the following two variables:
overseer_url
- Full URL to the SVMP Overseerauth_token
- Admin-role JWT login token obtained from the Overseer'ssvmp-create-token
tooltrust_all_certs
- Set to true to disable cert validation checking when using self-signed certs for the Overseer
These can be set either as environment variables or in the YAML-format config file ~/.svmprc
.
svmp-server-cli [options] [command]
Commands:
list
List proxy Usersdevices
List supported device typesclear-vm-info <username>
Clear the Users VM Informationshow <username>
Show information about a useradd <username> <password> <email> <device_type>
Add a User to system. NOTE: this does NOT create a volume for the User! (Use this command if you aren't using a cloud platform)add-user-with-volume <username> <password> <email> <device_type>
Add a new User to the system and create a volume for the Uservm <username>
Create and start a VM for a user in the system.- `vm-add <vm_ip_address> Register an existing VM at a given IP address to the user. (For testing/dev ONLY.)
list-volumes
list available volumesvolume-create <username>
Create and assign a Volume to a user based on the gold snapshot id in config-localvolume-assign <username> <volume_id>
Does not attach Volume to VM, simply associates an existing user data volume with the specified user. delete Delete a User from the Proxyimages
List available images and flavors on your cloud platform; this information is needed when creating a VM
Copyright (c) 2012-2014, The MITRE Corporation, All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.