Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yi-tseng/stratum-ocp-2020-demo-config
https://github.com/yi-tseng/stratum-ocp-2020-demo-config
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/yi-tseng/stratum-ocp-2020-demo-config
- Owner: Yi-Tseng
- Created: 2020-01-27T23:46:21.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-13T02:06:12.000Z (almost 5 years ago)
- Last Synced: 2024-10-15T09:50:44.070Z (2 months ago)
- Language: Python
- Size: 88.9 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSES/Apache-2.0.txt
Awesome Lists containing this project
README
Stratum pipeline for Trellis (OCP demo)
====Run `git submodule update --init` after clone to pull fabric-tofino repo.
## Repo structure
This repo is structured as follows:
* `netcfg` Network configs for ONOS
* `vhosts` vhost script and configurations for each device## VHosts
vhosts directory includes following configs:
* co-srv: hosts for central office, which simulate one dummy service and one NAT
* fo-leaf1: we uses internal interface from BF2556X which attached to the ASIC to simulate two dummy hosts with DHCP client.
* fo-leaf2: same as `fo-leaf1`, but we simulate a DHCP Server and a Simple DNS server
* fo-srv: two dummy services.> Dummy service: empty network namespace
To run vhost script, simply sopy the vhost.py to the device and run `vhost.py prov [json file]`
Use `vhost.py --help` for more information (or ask Charles)
## Commands
| Make command | Description |
|----------------------|------------------------------------------------------- |
| `make fabric-tofino-pipeconf` | Builds Fabric pipeconf oar file for tofino |
| `make fabric-tofino-pipeconf-install` | Installs fabric pipeconf to ONOS |
| `make onos-cli` | Access the ONOS CLI (password: `rocks`, Ctrl-D to exit)|
| `make onos-log` | Show the ONOS log |
| `make netcfg` | Push netcfg.json file (network config) to ONOS |