Skip to content

Commit

Permalink
Added long names of vr-sros and srl
Browse files Browse the repository at this point in the history
  • Loading branch information
Bzhash committed Mar 14, 2024
1 parent 715c7ca commit 3241ba3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clab/config/transport/ssh.go
Expand Up @@ -86,7 +86,7 @@ func HostKeyCallback(callback ...ssh.HostKeyCallback) SSHTransportOption {

func NewSSHTransport(node *types.NodeConfig, options ...SSHTransportOption) (*SSHTransport, error) {
switch node.Kind {
case "vr-sros", "srl":
case "vr-sros", "srl", "nokia_sros", "nokia_srlinux":
c := &SSHTransport{}
c.SSHConfig = &ssh.ClientConfig{}

Expand All @@ -99,9 +99,9 @@ func NewSSHTransport(node *types.NodeConfig, options ...SSHTransportOption) (*SS
}

switch node.Kind {
case "vr-sros":
case "vr-sros", "nokia_sros":
c.K = &VrSrosSSHKind{}
case "srl":
case "srl", "nokia_srlinux":
c.K = &SrlSSHKind{}
}
return c, nil
Expand Down

0 comments on commit 3241ba3

Please sign in to comment.