Giter VIP home page Giter VIP logo

dxskytap's People

Contributors

careyrp avatar dxbuildmaster avatar dxsarmit avatar emuzykin avatar varsures avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dxskytap's Issues

Makefile OS Dependent

Makefile contains paths which include "/". These will not work on Windows. I am not sure how this should be handled.

.skytap_config hardcoded

It would be nice if ".skytap_config" was not hardcoded but rather defined as a constant at the top of the file. It is located in init.py

Add feature: import & export vms

Add feature to library to upload (import) VM from a local file.
Add feature to library to download (export) VM to a local file.

Logging Not Lazy

In Connect._log_header_body(), the self.logger.debug() calls should pass the string parameters in as arguments to debug(). In the current implementation, the replacement occurs regardless of the logging level. If it were changed, the replacement would only occur when the message is logged.

New Style Class Constructor Call

New style classes should call the parent constructor like this:
super(ChildClass, self).init()
rather than:
ParentClass.init()

A new style class is basically any class that inherits.

Multiple Statements On Same Line

There are 2 instances of multiple statements per line:
In Configuration.check_state() and VirtualMachine.check_state()

Please put each statement on a separate line for readability

skytapCert.pem

Should this file be included in the repo? Is there anything DX specific in it?

Add feature: create & delete disks

To create a disk on a VM, use a PUT command to modify your particular VM resource using the following syntax:
{"hardware":
{"disks":
{"new": [8092] }
}
}
To delete a disk on a VM, use a PUT command to modify your particular VM resource. Use the syntax below, specifying the disk to be deleted by the unique disk ID:
{"hardware":
{"disks":
{"existing":
{"disk-924270-2248764-scsi-0-1":
{"id": "disk-924270-2248764-scsi-0-1", "size": null}
}
}
}
}
Use this information to add the ability to create/delete additional disks to the dxskytap library.

Use os.path.join() instead of hardcoding "/"

In the Skytap constructor, the following code exists:
filepath = os.getenv('HOME') + "/.skytap_config"

I believe this should be:
os.path.join(os.getenv('HOME'), ".skytap_config")

The current code will not work on Windows.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.