Skip to content

[BUG] Graphite IPv6 literal URL is incorrectly formatted #3546

Description

@gitsakar

Describe the bug

[SUCCESS] graphite tool started
Open http://::1:8080/graphite/ in your browser

The URL should be http://[::1]:8080/graphite/

To Reproduce

Start netlab with graphite external tool enabled. The output log will show incorrect IPv6 literal URL.

Expected behavior

Output log should say:
Open http://[::1]:8080/graphite/ in your browser

Version

netlab version 26.06
executable location: /home/lab/.local/bin/netlab
package location: ['/home/lab/.local/lib/python3.14/site-packages/netsim']
user defaults: []

Required packages:
python-box: 7.4.1
Jinja2: 3.1.6
PyYAML: 6.0.3
netaddr: 1.3.0
requests: 2.34.2
filelock: 3.29.4
rich: 15.0.0

Optional packages:
ruamel.yaml: 0.19.1

Ansible components:
ansible: 11.10.0
ansible-core: 2.18.18
ansible-pylibssh: 1.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions