Skip to content

Commit

Permalink
Update examples after refactoring (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzarski0 authored Mar 3, 2024
1 parent a729ad0 commit a27add9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 17 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ Configuring a Banner Feature Template using YAML:

```yaml
sdwan:
cedge_feature_templates:
cisco_banner:
edge_feature_templates:
banner_templates:
- name: FT-CEDGE-BANNER-01
description: Base banner template; support carrier returns
parameters:
login: "login banner: new\n"
motd: "motd banner:\r\nNo message today\n"
login: "login banner: new\n"
motd: "motd banner:\r\nNo message today\n"
```
#### `main.tf`
Expand Down Expand Up @@ -140,4 +139,4 @@ module "sdwan" {
## Modules

No modules.
<!-- END_TF_DOCS -->
<!-- END_TF_DOCS -->
11 changes: 5 additions & 6 deletions examples/banner_feature_template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ Note that this example will create resources. Resources can be destroyed with `t

```yaml
sdwan:
cedge_feature_templates:
cisco_banner:
edge_feature_templates:
banner_templates:
- name: FT-CEDGE-BANNER-01
description: Base banner template; support carrier returns
parameters:
login: "login banner: new\n"
motd: "motd banner:\r\nNo message today\n"
login: "login banner: new\n"
motd: "motd banner:\r\nNo message today\n"
```
#### `main.tf`
Expand All @@ -31,4 +30,4 @@ module "sdwan" {
yaml_files = ["banner_feature_template.yaml"]
}
```
<!-- END_TF_DOCS -->
<!-- END_TF_DOCS -->
9 changes: 4 additions & 5 deletions examples/banner_feature_template/banner_feature_template.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
sdwan:
cedge_feature_templates:
cisco_banner:
edge_feature_templates:
banner_templates:
- name: FT-CEDGE-BANNER-01
description: Base banner template; support carrier returns
parameters:
login: "login banner: new\n"
motd: "motd banner:\r\nNo message today\n"
login: "login banner: new\n"
motd: "motd banner:\r\nNo message today\n"

0 comments on commit a27add9

Please sign in to comment.