|
1 | 1 | ## Install Notes |
2 | 2 |
|
3 | 3 | Netgrph was built on Ubuntu 14.04 LTS but should be portable to any other Python |
4 | | -3.4+ system. I have done limited testing at this point on other systems (MacOS), |
5 | | -so I highly recommend this OS right now. In the near future, I plan to ship a |
6 | | -set of ansible scripts for easy install, but at first this is what I have. |
| 4 | +3.4+ system. I have done testing on Ubuntu 16.04 and MacOS, and I highly |
| 5 | +recommend Ubuntu trusty or xenial for support purposes. I provide ansible |
| 6 | +scripts for an easy install on a base Ubuntu system, and will be creating a |
| 7 | +Docker file before long. |
7 | 8 |
|
8 | | -### Test Install Instructions |
| 9 | +### Ansible Install |
| 10 | +- See the README.md in docs/playbooks/ |
| 11 | +- Install ansible on your machine, and point the playbook towards localhost as |
| 12 | + documented, or a remote host if you are familiar with Ansible. |
| 13 | + |
| 14 | +### Manual Install Instructions |
9 | 15 |
|
10 | 16 | - For testing, you can install everything but the database under your user on any system |
11 | 17 | - If you do not have root access to your system, use virtualenv to satisfy the pip requirements |
@@ -56,17 +62,21 @@ sudo pip3 install -r requirements.txt |
56 | 62 | ./netgrph.py -nf all |
57 | 63 | ./netgrph.py -nf all -o tree |
58 | 64 | ./ngreport.py -dev ".*" |
| 65 | +./ngreport.py -vrf "perim|default" |
59 | 66 | ./netgrph.py abc4mdf |
60 | 67 | ./netgrph.py abc4mdf -o json |
61 | 68 | ./netgrph.py abc4mdf -o yaml |
62 | 69 | ./netgrph.py -sp abc2sw1 xyz2sw1 |
63 | 70 | ./netgrph.py -sp abc.* xyz.* -o csv |
| 71 | +./netgrph.py -rp 10.1.120.50 10.7.206.0/23 |
64 | 72 | ./netgrph.py 120 |
65 | 73 | ./netgrph.py 1246 |
66 | 74 | ./netgrph.py -fp 10.1.120.50 8.8.8.8 |
67 | 75 | ./netgrph.py -nlist test_group |
68 | 76 | ./netgrph.py -nlist test_group -o tree |
69 | 77 | ./netgrph.py -group ABC |
| 78 | +./ngreport.py -vrf "perim|default" |
| 79 | +./ngreport.py -vlans |
70 | 80 | ``` |
71 | 81 |
|
72 | 82 | ## Sample Reporting (to be expanded) |
@@ -98,6 +108,6 @@ ngupdate --clearNodes --hours 12 |
98 | 108 | ``` |
99 | 109 |
|
100 | 110 | ## Adding firewalls and third-party devices |
101 | | -- Examine the csv files in csv/ to understand the required datasources for importing third-party data |
| 111 | +- Examine the csv files in test/csv/ to understand the required datasources for importing third-party data |
102 | 112 | - Examine the cyp/buildfw.cyp for understanding how to insert a L2 firewall between VRFs |
103 | 113 | - Examine the cyp/sample-queries.cyp to start querying the Neo4j database directly for data |
0 commit comments