• 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

      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

        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

          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

          159

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project