From 989c17c136212d7f54dcdadcdcfd96209c54d2b2 Mon Sep 17 00:00:00 2001 From: trevor tao Date: Tue, 21 May 2019 16:22:56 +0800 Subject: [PATCH] Remove the quotes of True value in yaml file The quotes of the True value cause an error when deploying, it should be removed. Originally, the quotes was added to pass the yamllint check, which causes this issue. Change-Id: Ie7a262c66a3b56db00d1ccac6fc5a937d1a88988 Signed-off-by: trevor tao --- .coafile | 2 +- .yamllint.conf | 7 +++++++ src/use_cases/seba_on_arm/install/fabric.yaml | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .yamllint.conf diff --git a/.coafile b/.coafile index dbc38bc..ed2d780 100644 --- a/.coafile +++ b/.coafile @@ -33,7 +33,7 @@ bears = YAMLLintBear files = **.yaml, **.yml use_spaces = true ignore_length_regex = ^.*https?:// -max_line_length = 120 +yamllint_config = .yamllint.conf ignore = src/use_cases/ [all.Python] diff --git a/.yamllint.conf b/.yamllint.conf new file mode 100644 index 0000000..47b8f66 --- /dev/null +++ b/.yamllint.conf @@ -0,0 +1,7 @@ +extends: default + +rules: + line-length: + max: 120 + truthy: disable + document-start: disable diff --git a/src/use_cases/seba_on_arm/install/fabric.yaml b/src/use_cases/seba_on_arm/install/fabric.yaml index 1e7f0d9..962c97c 100644 --- a/src/use_cases/seba_on_arm/install/fabric.yaml +++ b/src/use_cases/seba_on_arm/install/fabric.yaml @@ -20,7 +20,7 @@ topology_template: driver: ofdpa3 ipv4Loopback: 100.100.0.201 ipv4NodeSid: 17 - isEdgeRouter: "True" + isEdgeRouter: True name: AGG_SWITCH ofId: of:0000000000000001 routerMac: 00:00:02:01:06:01 -- 2.16.6