• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Python API for Fog -- pyFog

Scheduled Pinned Locked Moved
General
3
3
2.4k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    jcsocal
    last edited by Apr 12, 2014, 4:17 PM

    I was looking for an API fog so I can automate some tasks. Since I was unable to find anything, I started to write one myself. The folks on the freenode irc channel recommended I post this to the forum, so here it is.

    [url]https://github.com/JC-SoCal/pyFog[/url]

    Right now I have 3 functions which I needed for my automation: wol (Wake on lan), upload, and deploy.

    Please let me know if this is useful or helpful. Also, if there is a function you need, I can try to implement it.

    Thanks,
    JC
    @JC_SoCal

    1 Reply Last reply Reply Quote 0
    • M
      moss
      last edited by Apr 15, 2014, 2:29 PM

      Although my Python skills are limited (but improving!) this could be really useful, I had looked to do something similar a little while ago but didn’t really know where to start.
      Thanks!

      1 Reply Last reply Reply Quote 0
      • D
        Dave Wolf
        last edited by Jul 23, 2014, 11:07 AM

        JC,

        Thanks for sharing this information! We were looking for an easy way to automate up/downloads of images that we use for automated testing and your solution was a great start for us. I have very little Python experience, but was able to make the modifications needed to get your example working with FOG 1.1.2. Many thanks for your work!

        Cheers,
        Dave.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        172

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project