Skip to content

Instantly share code, notes, and snippets.

@libero18
Last active August 29, 2015 14:12
Show Gist options
  • Save libero18/6606debf050a07897c25 to your computer and use it in GitHub Desktop.
Save libero18/6606debf050a07897c25 to your computer and use it in GitHub Desktop.
nwdiag を使って電源系統の管理
nwdiag {
network 主電源 {
address = "NEMA L5-30R 40A/100V";
UPS01 [address = "Rack Connector01"];
UPS02 [address = "Rack Connector04"];
}
network PDU01 {
address = "NEMA L5-15R 30A/100V";
UPS01 [address = "PDU01 Connector01"];
web01 [address = "PDU01 Connector02"];
db01 [address = "PDU01 Connector03"];
}
network PDU02 {
address = "NEMA L5-15R 30A/100V";
UPS02 [address = "PDU02 Connector01"];
web02 [address = "PDU02 Connector03"];
db02 [address = "PDU02 Connector05"];
}
}
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@libero18
Copy link
Author

libero18 commented Jan 6, 2015

やれないことはないけど、テキストの内容だけ見たら違和感しかねーわw

@libero18
Copy link
Author

libero18 commented Jan 6, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment