summaryrefslogtreecommitdiff
path: root/src/op-mode/vyos-list-interfaces.py
blob: 59c9dffad841d61d0f07b409aa0f022255be91bf (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/env python3

import netifaces

if __name__ == '__main__':
    interfaces = netifaces.interfaces()

    print(" ".join(interfaces))