Skip to content

Commit

Permalink
Merge pull request #1476 from srl-labs/ceoscredentials
Browse files Browse the repository at this point in the history
add ceos default credentials
  • Loading branch information
hellt committed Jul 23, 2023
2 parents 56005c0 + 3945772 commit 54295f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nodes/ceos/ceos.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,15 @@ var (
cfgTemplate string

saveCmd = "Cli -p 15 -c wr"

defaultCredentials = nodes.NewCredentials("admin", "admin")
)

// Register registers the node in the NodeRegistry.
func Register(r *nodes.NodeRegistry) {
r.Register(kindnames, func() nodes.Node {
return new(ceos)
}, nil)
}, defaultCredentials)
}

type ceos struct {
Expand Down

0 comments on commit 54295f7

Please sign in to comment.