|
| 1 | +# Networking Lab Scenarios |
| 2 | + |
| 3 | +This directory contains networking-focused lab scenarios designed for testing, development, and learning various network topologies and configurations without requiring a full OpenShift deployment. |
| 4 | + |
| 5 | +## Available Scenarios |
| 6 | + |
| 7 | +### devstack-nxsw-vxlan |
| 8 | +A spine-and-leaf Cisco NX-OS topology with VXLAN overlay capabilities, featuring: |
| 9 | +- 4 Cisco NX-OS switches (2 spine, 2 leaf) |
| 10 | +- Devstack node for OpenStack development |
| 11 | +- Ironic nodes for bare metal provisioning |
| 12 | +- VXLAN/EVPN ready configuration |
| 13 | + |
| 14 | +See [devstack-nxsw-vxlan/README.md](devstack-nxsw-vxlan/README.md) for detailed documentation. |
| 15 | + |
| 16 | +## Managing POAP Scripts |
| 17 | + |
| 18 | +All POAP scripts (`*-poap.py`) in networking lab scenarios include md5sum validation. Use the `manage-poap-md5sums.sh` script to automatically update md5sums after modifying any POAP scripts: |
| 19 | + |
| 20 | +```bash |
| 21 | +./scenarios/networking-lab/manage-poap-md5sums.sh |
| 22 | +``` |
| 23 | + |
| 24 | +This script: |
| 25 | +- Finds all `*-poap.py` files in networking-lab scenarios |
| 26 | +- Removes old md5sum lines |
| 27 | +- Calculates and adds new md5sum lines |
| 28 | +- Runs automatically via pre-commit hooks |
| 29 | + |
| 30 | +## Contributing |
| 31 | + |
| 32 | +When adding new networking lab scenarios: |
| 33 | +1. Create a descriptive directory name |
| 34 | +2. Follow the existing file structure |
| 35 | +3. Include comprehensive README documentation |
| 36 | +4. Document network topology with diagrams (SVG preferred) |
| 37 | +5. Provide example configurations and validation steps |
| 38 | +6. Include troubleshooting guidance |
| 39 | +7. If using POAP scripts, name them `*-poap.py` for automatic md5sum management |
| 40 | + |
| 41 | +## Related Documentation |
| 42 | + |
| 43 | +- [Main Scenarios README](../README.md) |
| 44 | +- [Hotstack Documentation](../../README.md) |
| 45 | +- [Switch Configuration Guide](../../docs/virtual_switches.md) |
0 commit comments