System
{
zfcp: {
allowLunScan: true,
controllers: [
{
channel: "0.0.0100",
active: true,
lunScan: true,
wwpns: ["0x500507630300c562", ...]
}
],
devices: [
{
channel: "",
wwpn: "",
lun: "",
deviceName: "",
active: true
}
]
}
}
Config
{
zfcp: {
devices: [
{
channel: "",
wwpn: "",
lun: "",
active: true
}
]
}
}
- A controller cannot be deactivated.
- Activating a device from a controller with autoscan implies to activate all de devices from that controller.
- A device from a controller with autoscan cannot be dactivated.
Questions
- Remove the "locked" concept? If we want to keep the currently connected entries, then we need to add them to the config. Otherwise there is no way to disconnect a locked device.
- Add "active" property and only disconnect a device if active = false.
{
zfcp: {
allowLunScan: true,
controllers: [
{
channel: "0.0.0100",
active: true,
lunScan: true,
wwpns: [
{
wwpn: "0x332323",
luns: ["222", "333"]
}
]
}
],
devices: [
{
channel: "",
wwpn: "",
lun: "",
deviceName: "",
}
]
}
}
Config
{
zfcp: {
controllers: ["0.0.211"],
devices: [
{
channel: "",
wwpn: "",
lun: "",
active: true
}
]
}
}
- Probe: find wwpns and luns for activated controllers?