From a27add98d4fca2623c20b5ca32346a5225f8d0ba Mon Sep 17 00:00:00 2001 From: tzarski0 <92273798+tzarski0@users.noreply.github.com> Date: Sun, 3 Mar 2024 20:46:28 +0100 Subject: [PATCH] Update examples after refactoring (#15) --- README.md | 11 +++++------ examples/banner_feature_template/README.md | 11 +++++------ .../banner_feature_template.yaml | 9 ++++----- 3 files changed, 14 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index e620f38..025a785 100644 --- a/README.md +++ b/README.md @@ -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` @@ -140,4 +139,4 @@ module "sdwan" { ## Modules No modules. - \ No newline at end of file + diff --git a/examples/banner_feature_template/README.md b/examples/banner_feature_template/README.md index 4aeb7eb..d3b135c 100644 --- a/examples/banner_feature_template/README.md +++ b/examples/banner_feature_template/README.md @@ -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` @@ -31,4 +30,4 @@ module "sdwan" { yaml_files = ["banner_feature_template.yaml"] } ``` - \ No newline at end of file + diff --git a/examples/banner_feature_template/banner_feature_template.yaml b/examples/banner_feature_template/banner_feature_template.yaml index 3df8608..16f87fa 100644 --- a/examples/banner_feature_template/banner_feature_template.yaml +++ b/examples/banner_feature_template/banner_feature_template.yaml @@ -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"