Demo entry 6787235

Import Requests


Submitted by anonymous on Apr 11, 2019 at 04:11
Language: Python 3. Code size: 612 Bytes.

#! /usr/bin/python3
# - Provides a list of GNS3 projects running on a server allowing the user to query
# the project to see a list of nodes. The user can then choose whether to start the server or not.

# Import requests library.
import requests

#TODO Create function to return list of projects and accepts user input for selecting a project.

#TODO Create function that returns a list of nodes including their name, id, and console port.

#TODO Create a function that asks whether we want to start the nodes or not, if so then start them.

#TODO Call the functions and test.

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).