Skip to content

Commit

Permalink
Merge pull request #10 from menckend/menckend-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
menckend authored Oct 17, 2024
2 parents eed368c + 4bd96e0 commit 34072e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dcnodatg/dcnodatg.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ def p_to_v(**kwargs):

# Set GNS3 URL
gns3_url = 'http://'+servername+':3080/v2/'
gns3_url_noapi = 'http://'+servername+':3080/static/web-ui/server/1/projects/'

# Get all of the docker image templates from the GNS3 server so we can figure out
# which template_id value maps to a specific EOS version when we start building
Expand Down Expand Up @@ -395,7 +396,7 @@ def p_to_v(**kwargs):
gns3_worker.invoker(servername, gns3_url, switch_vals,
allconfigs, gnsprj_id, connections_to_make)
# Done!
return 'GNS3 project URL is: ' + gns3_url + 'projects/' + gnsprj_id
return 'GNS3 project URL is: ' + gns3_url_noapi + gnsprj_id


if __name__ == '__main__':
Expand Down

0 comments on commit 34072e0

Please sign in to comment.