diff options
| -rw-r--r-- | src/PVE/Network/SDN/Controllers/IsisPlugin.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/PVE/Network/SDN/Controllers/IsisPlugin.pm b/src/PVE/Network/SDN/Controllers/IsisPlugin.pm index 6e3574d..0ef9fb9 100644 --- a/src/PVE/Network/SDN/Controllers/IsisPlugin.pm +++ b/src/PVE/Network/SDN/Controllers/IsisPlugin.pm @@ -80,9 +80,12 @@ sub generate_controller_config { my @iface_config = ("ip router isis $isis_domain"); + my $altnames = PVE::Network::altname_mapping(); + my @ifaces = PVE::Tools::split_list($isis_ifaces); for my $iface (sort @ifaces) { - push(@{ $config->{frr_interfaces}->{$iface} }, @iface_config); + my $iface_name = $altnames->{$iface} // $iface; + push(@{ $config->{frr_interfaces}->{$iface_name} }, @iface_config); } return $config; |
