-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues for changing node_id for stratum, how to fix it? #987
Comments
It seems that it can not change node id for stratum, how to fix it? |
Hi linhil, The nodeID in the switch should be 0 or 1, I think that is a design choiche is defined in the P4 standard. You can change the deviceID in ONOS changing the string in the netcfg file, more precisely here https://github.com/stratum/fabric-tna/blob/fd3c3f0989ae6c2bb2384bdd1b5b7755168ba886/tofino-netcfg.json#L3 |
I confirmed that the node ID can be picked at users discretion. chassis_config.pb.txt description: "Default Chassis Config for Edgecore Wedge100BF-32x"
chassis {
platform: PLT_GENERIC_BAREFOOT_TOFINO
name: "Edgecore Wedge100BF-32x"
}
nodes {
id: 2
slot: 1
index: 1
}
singleton_ports {
id: 1
name: "1/3"
slot: 1
port: 1
channel: 4
speed_bps: 10000000000
config_params {
admin_state: ADMIN_STATE_ENABLED
autoneg: TRI_STATE_FALSE
}
node: 2
}
Then connect with device ID 2: Logs:
|
On the ONOS end, I need to identify different deviceID of stratum-based switch. I only changed the nodeID in the chassis_config_pb.txt file to 96.
When starting stratum, I found error logs, how should I solve this problem,
This seems that nodeID cannot be changed, but I did it successfully on earlier versions of stratum (corresponding to stratum of BF-SDE-9.2.0).
Does someone know this? too much thx!
The text was updated successfully, but these errors were encountered: