GithubHelp home page GithubHelp logo

ovasum's Introduction

ovasum

A very simple script to check if ova files are intact without needing to deploy them. The need for this arose when a drive containing ova files was overwritten, and there existed no tool to check the recovered ova files. An ova file is simply a tar file, it contains mf, ovf and vmdk files. The mf file contains the names and hashes of the ovf and vmdk files.

ovasum was designed to not have to unpack the files from the ova, and to stream the files when checking, to make a mess free and minimal RAM script.

This script is by no means complete or functional in every scenario, it was a quick hack that worked on the sample of ova files given, it will not work on all ova files until the mf parser is rewritten. I also haven't studied the ova standard (if it is a standard) so I do not know if this takes into account all aspects of an ova when verifying it.

TODO:

  • Refactor to make it less crap
  • Add proper exception handling
  • Rewrite the mf parser to be able to reliably parse any valid mf file
  • Create a nice data structure for the parsed manifest
  • Add timestamps to console output
  • Add progress bars for checking
  • Add colours to the pass and fail messages
  • Add summary for showing number of files passed and failed
  • Add ability to make a log file, specify with flag

ovasum's People

Contributors

markpash avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.