Update node location tags for fabric
Change-Id: I498c87da7ee27823c9dcf439f08b92e688034d23
(cherry picked from commit 089c9d3db2c441504c18061e6c76b20814fcb5ae)
diff --git a/docs/quickstart_physical.md b/docs/quickstart_physical.md
index a0cb39c..d8cdcc4 100644
--- a/docs/quickstart_physical.md
+++ b/docs/quickstart_physical.md
@@ -776,6 +776,28 @@
... etc.
```
+### Update physical host locations in XOS
+
+To correctly configure the fabric when VMs and containers
+are created on a physical host, XOS needs to associate the `location` tag of each physical host (from the fabric configuration)
+with its Node object in XOS. This step needs to be done after new physical compute nodes are
+provisioned on the POD. To update the node locations in XOS:
+
+```
+ssh ubuntu@xos
+cd ~/service-profile/cord-pod
+rm fabric.yaml
+make fabric.yaml
+```
+
+Edit `fabric.yaml`, updating the `value` field under `<hostname>_location_tag` to
+reflect the `location` of the host from the fabric configuration created in the
+previous step. Then run:
+
+```
+make fabric
+```
+
### Connect Switches to the controller
We need to manually connects the switches to ONOS after the network config is applied.
This can be done by running following ansible script on the head node.
@@ -788,6 +810,7 @@
This step is complete when each compute node can ping the fabric IP address of all the other nodes.
+
## Getting Help
If it seems that something has gone wrong with your setup, there are a number of ways that you