Comments (2)
Hi, we have been intending to remove Bazel support but haven't gotten around to it.
Please use the following workflow to build and run the server:
-
Enter the server/emulator directory in a terminal
-
Build with:
go build main.go -
Run with:
./main
You can use the flag -alsologtostderr to easily view logs for the workflow.
To test against the emulated client provided:
- Open a second terminal and enter the client directory
- Build with: go build client.go
- Run with: ./client -alsologtostderr
Please let me know if I can help with anything else :)
from bootz.
Hi, thanks for the reply. I was using go build before, but I thought I might be missing something due to the many instances of bazel files. Thanks for clearing that up!
I'm now trying to run the built-in dhcp server locally by passing the dhcp option in emulator, and adding the virtual network interface's mac address to the inventory_local.prototxt file.
When I run the client (used the dhcp client from this and integrated in bootz/client) I'm getting:
2024/03/07 17:33:14 [eth0.2] sending Discover
2024/03/07 17:33:19 [eth0.2] error: resource temporarily unavailable
using tcp dump and pcap I have checked that the interface running the server is successfully receiving the requests, but no reponse is being sent by the server.
I'd be grateful you can point out what I'm doing wrong or if you can guide me to a better way to test the dhcp server and client locally(maybe using docker containers for each one), so i can move to the next stage of the boot process.
EDIT: nvm figured out how to run the dhcp server and client on different docker containers and actually get a valid response back by putting the dhcp on host network and client on a custom one. thanks regardless, I'll probably annoy you guys with further questions and issues down the line anyways.
from bootz.
Related Issues (20)
- Re-create TLS session when reporting progress
- proto.Marshal() is not a stable form of serialization HOT 1
- Client does not verifyTLSCert by default HOT 1
- Fix misc nits
- Field should be byte instead of string
- testdata/generate.go consider using os.WriteFile instead
- Signature.go should match Verify implementation and use crypto.PrivateKey HOT 1
- entitymanager_test should use signature.go functions instead of calling crypto/rsa directly HOT 1
- owner certificate should be CMS struct HOT 6
- datetime format in the ownership voucher HOT 1
- Response signature should be CMS signed data
- Need clarification on Control Board numbering HOT 5
- ControlCard slot id HOT 1
- De-duplicate protos HOT 2
- gnsi test data should be directly included in prototext, not as a separate file
- Chassis message should not live in Bootz proto
- DHCP Option encoding HOT 3
- How does Switch Owner creates oIAK and oIDevID, based on the public keys?
- Unknown
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootz.