In T421#27132, @gadams wrote:
- Is there a way, in the embedded shell scripts in a node.def file, to get the type of the interface? I need to look up the dhcpv6-pd configuration nodes programmatically (in a Python program I've called /usr/libexec/vyos/conf_mode/dhcpv6_pd.py), so I need the path, such as 'interfaces ethernet eth0 dhcpv6-pd'. I can get the 'eth0' part as $VAR(../@), but how can I get the 'ethernet' part? Or is there a way to get to the dhcpv6-pd without it?
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search