User Details
User Details
- User Since
- Dec 15 2018, 11:26 AM (279 w, 6 d)
Dec 15 2018
Dec 15 2018
memchk added a comment to T421: Add Pv6 prefix delegation support.
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?