Comments (2)
We use the word "station" to describe one or more things that are connected together in some way - or things that we want to use together.
So in your boardfarm config JSON file here is how to describe one "station" that has two things you want to connect to:
{
"station1": {
"board_type": "rpi3",
"conn_cmd": "telnet 192.0.0.5 2001",
"connection_type": "local_cmd",
"devices": [
{
"cmd": "telnet 192.0.0.5 2005",
"color": "cyan",
"name": "lan",
"type": "debian"
}
]
}
}
board_type
is the model of the device-under-test (DUT) which is calledboard
in the tests. (grep throughdevices/
formodel =
to see available list of types).conn_cmd
is how to connect to the DUT.devices
is a list of things that you want to use with the DUT.cmd
is how to connect to this devicename
is how it is referenced in the tests. grep through tests to find examples that use alan
device.type
is what kind of device this is, in this case just some linux box.
Then to connect to this station just do: bft -x connect -n station1
and you'll be able to run commands on the console of the DUT and other devices.
from boardfarm.
Thanks for the information.
from boardfarm.
Related Issues (20)
- pyflake issues in tests/lib directory HOT 2
- Exceptions raised within tests.linux_boot.testWrapper() are silent
- On terminals with black backgrounds a message looks empty
- Run Test from interact has issues
- The "whatchanged.sh" script is picking things that aren't actually tests HOT 2
- Find testcases that use a function
- BFT option to run something during tests (like tcpdump on wan device)
- Check connectivity, routes, pings, etc between devices on failure HOT 2
- Have "whatchanged.py" select child tests as well HOT 1
- use whatchanged.py in travisci yml
- SnmpHelper.py throws an exception - maybe if BFT_OVERLAY isn't set correctly? HOT 2
- SnmpHelper.py make code more robust HOT 5
- when using multiple consoles, distingish between on on debug output
- Add option to send mails for pipeline jobs in automation/ dir
- Test case not failing HOT 3
- Issue with accessing the webgui through Boardfarm HOT 3
- Question regarding boardfarm qemu network setup
- ubuntu / debian version?
- Add Fedora instructions HOT 1
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 boardfarm.