StarlingX Ansible Playbooks
Go to file
Tee Ngo 8fa6359ba0 Fix URL and IP address validators
The current URL and IP address validators ported from
config controller have some defficiencies.

This commit leverages django URLValidator for URL validation
and supplements the existing domain name/ip address validation
with Ansible ipaddr filter test to catch missing/future formats.

Verify the validation tasks with the following input
  - http://[2001:db8::1]:3128
  - https://test.abc.com
  - ::1
  - localhost
  - 127.0.0.1
  - fe80::100/10
  - 2001:db8:1::/64
  - "[2001:db8::1]:8080"
  - 128.224.150.0/23
  - test.abc.com
  - test.abc.com:3000
  - 2001:db8:?::/32 (failed case)

Closes-Bug: 1833710
Change-Id: Ib3345b41ab932cd434906725f709a8b9a0195e3f
Signed-off-by: Tee Ngo <Tee.Ngo@windriver.com>
2019-06-21 14:09:55 -04:00
playbookconfig Fix URL and IP address validators 2019-06-21 14:09:55 -04:00
.gitignore Fixing up tox -e cover for stx-config 2018-12-20 08:53:15 -06:00
.gitreview Added .gitreview 2019-06-15 14:03:07 -05:00
.zuul.yaml Initial zuul / TOX setup 2019-06-15 14:03:17 -05:00
centos_iso_image.inc Clean up repo import 2019-06-15 14:21:19 -05:00
centos_pkg_dirs Clean up repo import 2019-06-15 14:21:19 -05:00
CONTRIBUTORS.wrs Clean up repo import 2019-06-15 14:21:19 -05:00
LICENSE Clean up repo import 2019-06-15 14:21:19 -05:00
README.rst Clean up repo import 2019-06-15 14:21:19 -05:00
test-requirements.txt Initial zuul / TOX setup 2019-06-15 14:03:17 -05:00
tox.ini Clean up repo import 2019-06-15 14:21:19 -05:00

stx-ansible-playbooks

StarlingX Bootstrap and Deployment Playbooks