summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/Chapter8/Ansible-Playbook-Examples.rst8
-rw-r--r--docs/conf.py21
2 files changed, 28 insertions, 1 deletions
diff --git a/docs/Chapter8/Ansible-Playbook-Examples.rst b/docs/Chapter8/Ansible-Playbook-Examples.rst
index 9e4604c..ce57fd1 100644
--- a/docs/Chapter8/Ansible-Playbook-Examples.rst
+++ b/docs/Chapter8/Ansible-Playbook-Examples.rst
@@ -117,12 +117,13 @@ addresses were scrubbed):
[wp0ny:children]
oam
rdb
+ oamvip
Virtual IP addresses that can be used by multiple VMs, usually, used by the
active VM of an active-standby pair, are placed under a group named after the
VNFC (VM) type, plus "vip" string, example of such a group name "oamvip". An
inventory hosts file site also contains a (group) with all groups as children
-(see last three lines in above example), to load site specific variables like
+(see last four lines in above example), to load site specific variables like
NTP, DNS IP addresses, and other site specific variables, making them global
variables to be used by playbooks, namely, configure playbook.
@@ -728,6 +729,7 @@ With no names, only IP addresses, template "InventoryNames": "None" (Default)
[wp0ny:children]
oam
rdb
+ oamvip
With VM names and IP addresses, template inventory names setting
"InventoryNames": "VM"
@@ -752,6 +754,7 @@ With VM names and IP addresses, template inventory names setting
[wp0ny:children]
oam
rdb
+ oamvip
With VNFC names and IP addresses, template inventory names setting
"InventoryNames": "VNFC"
@@ -776,6 +779,7 @@ With VNFC names and IP addresses, template inventory names setting
[wp0ny:children]
oam
rdb
+ oamvip
@@ -862,6 +866,8 @@ Ansible Server.
[wp0ny:children]
oam
rdb
+ oamvip
+
Virtual IP addresses that can be used by multiple VMs, usually, used by the
active VM of an active-standby pair, are placed under a group named after the
diff --git a/docs/conf.py b/docs/conf.py
index 8f40e8b..314670a 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -13,3 +13,24 @@ html_last_updated_fmt = '%d-%b-%y %H:%M'
def setup(app):
app.add_stylesheet("css/ribbon_onap.css")
+
+
+from docutils.parsers.rst import directives
+
+needs_extra_options = {
+ "target": directives.unchanged,
+ "keyword": directives.unchanged,
+ "introduced": directives.unchanged,
+ "updated": directives.unchanged,
+ "impacts": directives.unchanged,
+ "validation_mode": directives.unchanged,
+ "validated_by": directives.unchanged,
+ "test": directives.unchanged,
+ "test_case": directives.unchanged,
+ "test_file": directives.unchanged,
+ "notes": directives.unchanged,
+}
+
+needs_id_regex = "^[A-Z0-9]+-[A-Z0-9]+"
+needs_id_required = True
+needs_title_optional = True