From 95a6ddc5ce394eb353473f4b2c7d58829e8a33e9 Mon Sep 17 00:00:00 2001 From: Jeffrey Han Date: Fri, 15 Apr 2022 11:21:55 -0700 Subject: [PATCH] fix(tgnms): clean up README.md Summary: Remove some content from top-level `README.md`. Reviewed By: aclave1 Differential Revision: D35662680 fbshipit-source-id: 36900bd8ae22390f1e3f794b774a4cc7cef38389 --- README.md | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/README.md b/README.md index 25a2b8ec6..1c140fb8b 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,6 @@ nms install -f config.yml # Developer Guide ## [Developer Guide for `tgnms`](https://github.com/terragraph/tgnms/blob/main/tgnms/fbcnms-projects/tgnms/README.md) -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ## Overal Architecture ![image](readme_images/ArchitectureOverview.png) @@ -95,35 +94,6 @@ nms upgrade -f config.yml -c -i -h my-e2e-contr docker service update --with-registry-auth --image ``` -## Clearing topology from controller -You may want to do this because your testing or playing around with the topology and you want to delete the nodes/links/sites afterwards: -1. Find the IP of the controller your network is on and login to it. -2. Determine how the controller was hosted. - 1. **K8s**: has ~/.kube folder (TODO: log steps after you do them) - - ```yaml - cd /opt/terragraph/gfs/e2e//data - mv topology.conf{,$(date "+%y%m%d")} - # then delete the controller pod and itll bring itself back up. - ``` - - 2. **Swarm**: has docker stuff - - ```yaml - cd /opt/terragraph/gfs/e2e//data - mv topology.conf{,$(date "+%y%m%d")} - docker service ls # find the service ending in e2e_controller - docker service update --force - ``` - - 3. **Sytemd**: has systemctl list-units | grep e2e ⇒ someone compiled e2e and ran it with systemd - - ```yaml - cd /root/data - mv topology.conf{,$(date "+%y%m%d")} - systemctl restart e2e_controller - ``` - ## License TGNMS has an MIT-style license as can be seen in the [LICENSE](LICENSE) file.