Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.0%) to scientific vocabulary
Last synced: 6 months ago
·
JSON representation
·
Repository
Basic Info
- Host: GitHub
- Owner: rfchang
- Language: P4
- Default Branch: main
- Size: 3.75 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 3
- Releases: 0
Created about 3 years ago
· Last pushed over 2 years ago
Metadata Files
Readme
Citation
README.md
The CRAM Model Sample Implementations
Instructions:
- Navigate to: https://github.com/jafingerhut/p4-guide/blob/master/bin/README-install-troubleshooting.md
- Download the 2022-Nov-01, Ubuntu 20.04, 2.3 GBytes VM image
- Import the VM image into VirtualBox 6.1.40 on Windows 10
- Clone this Git repository into /home/p4
- Copy the bsic and resail directories into /home/p4/tutorials/exercises
bash cd ~ cp -r cram/bsic/ tutorials/exercises/ cp -r cram/resail/ tutorials/exercises/ - Generate the control plane files
bash cd /home/p4/tutorials/exercises/bsic/ mkdir sim-topo python3 bsicgen.py ipv6.txt (may take around 10 minutes) mv *.json sim-topo/ cd /home/p4/tutorials/exercises/resail/ mkdir sim-topo python3 resailgen.py ipv4.txt mv *.json sim-topo/ - Compile and run the P4 code
bash cd /home/p4/tutorials/exercises/bsic/ make runbash cd /home/p4/tutorials/exercises/resail/ make run (may take around 10 minutes) - Launch xterm windows for testing
bash xterm h1 h2 h3 h4 h5 - Send and receive packets
#### On h2, h3, h4, and h5:
bash ./receive.py#### On h1:bash ./send.py ip_address "data"
BSIC Additional Step (run between steps 6 and 7):
- Move updated utility files into their proper locations
bash cd ~ rm tutorials/utils/p4_mininet.py cp cram/p4_mininet.py tutorials/utils/ rm tutorials/utils/p4runtime_lib/convert.py cp cram/convert.py tutorials/utils/p4runtime_lib/
Owner
- Name: Robert Chang
- Login: rfchang
- Kind: user
- Repositories: 1
- Profile: https://github.com/rfchang
PhD CS at UCLA
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: CRAM Model Sample Implementations
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Anonymous
email: thecrammodel@gmail.com
affiliation: Anonymous
repository-code: 'https://github.com/ThePuriProdigy/cram'