-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added support for config generation for ceos (#173)
* adjusted the method comment * move node dir creation out of srl scope * removed alpine case * added a map of def cfg template locations * fixed unnecessary config rewrite in ceos case #141 * added config generation for ceos * removed comments * added config file mount for ceos * added creation of node dir for nos kinds only * added mgmt iface to ceos * mount whole /flash dir to ceos * save containerJSON struct within the node * used new err to elimintae race condition * added ceos config * removed CJSON from node struct * added postdeploy actions
- Loading branch information
Showing
7 changed files
with
145 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
hostname {{ .ShortName }} | ||
username admin privilege 15 secret admin | ||
! | ||
interface Management0 | ||
{{ if .MgmtIPv4Address }}ip address {{ .MgmtIPv4Address }}/{{.MgmtIPv4PrefixLength}}{{end}} | ||
{{ if .MgmtIPv6Address }}ipv6 address {{ .MgmtIPv6Address }}/{{.MgmtIPv6PrefixLength}}{{end}} | ||
! | ||
management api gnmi | ||
transport grpc default | ||
! | ||
management api netconf | ||
transport ssh default | ||
! | ||
management api http-commands | ||
no shutdown | ||
! | ||
end |