Last active
August 29, 2015 14:12
-
-
Save libero18/6606debf050a07897c25 to your computer and use it in GitHub Desktop.
nwdiag を使って電源系統の管理
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"]; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='UTF-8'?> | |
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> | |
<svg viewBox="0 0 760 588" xmlns="http://www.w3.org/2000/svg" xmlns:inkspace="http://www.inkscape.org/namespaces/inkscape" xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<defs id="defs_block"> | |
<filter height="1.504" id="filter_blur" inkspace:collect="always" width="1.1575" x="-0.07875" y="-0.252"> | |
<feGaussianBlur id="feGaussianBlur3780" inkspace:collect="always" stdDeviation="4.2" /> | |
</filter> | |
</defs> | |
<title>blockdiag</title> | |
<desc>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"]; | |
} | |
} | |
</desc> | |
<rect fill="rgb(0,0,0)" height="40" stroke="rgb(0,0,0)" style="filter:url(#filter_blur);opacity:0.7;fill-opacity:1" width="104" x="155" y="162" /> | |
<rect fill="rgb(0,0,0)" height="40" stroke="rgb(0,0,0)" style="filter:url(#filter_blur);opacity:0.7;fill-opacity:1" width="104" x="307" y="162" /> | |
<rect fill="rgb(0,0,0)" height="40" stroke="rgb(0,0,0)" style="filter:url(#filter_blur);opacity:0.7;fill-opacity:1" width="104" x="459" y="306" /> | |
<rect fill="rgb(0,0,0)" height="40" stroke="rgb(0,0,0)" style="filter:url(#filter_blur);opacity:0.7;fill-opacity:1" width="104" x="611" y="306" /> | |
<rect fill="rgb(0,0,0)" height="40" stroke="rgb(0,0,0)" style="filter:url(#filter_blur);opacity:0.7;fill-opacity:1" width="104" x="155" y="450" /> | |
<rect fill="rgb(0,0,0)" height="40" stroke="rgb(0,0,0)" style="filter:url(#filter_blur);opacity:0.7;fill-opacity:1" width="104" x="459" y="450" /> | |
<path d="M 131 103 L 435 103 A2,4 0 0 1 435 111 L 131 111 A2,4 0 0 1 131 103" fill="rgb(0,0,0)" style="filter:url(#filter_blur)" /> | |
<path d="M 131 247 L 739 247 A2,4 0 0 1 739 255 L 131 255 A2,4 0 0 1 131 247" fill="rgb(0,0,0)" style="filter:url(#filter_blur)" /> | |
<path d="M 131 391 L 587 391 A2,4 0 0 1 587 399 L 131 399 A2,4 0 0 1 131 391" fill="rgb(0,0,0)" style="filter:url(#filter_blur)" /> | |
<path d="M 128 100 L 432 100 A2,4 0 0 1 432 108 L 128 108 A2,4 0 0 1 128 100" fill="rgb(185,203,228)" stroke="rgb(0,0,0)" /> | |
<path d="M 432 108 A2,4 0 0 1 432 100" fill="none" stroke="rgb(0,0,0)" /> | |
<path d="M 128 100 L 432 100" fill="none" stroke="none" /> | |
<path d="M 280 35 L 280 100" fill="none" stroke="rgb(0,0,0)" /> | |
<path d="M 128 244 L 736 244 A2,4 0 0 1 736 252 L 128 252 A2,4 0 0 1 128 244" fill="rgb(185,203,228)" stroke="rgb(0,0,0)" /> | |
<path d="M 736 252 A2,4 0 0 1 736 244" fill="none" stroke="rgb(0,0,0)" /> | |
<path d="M 128 244 L 736 244" fill="none" stroke="none" /> | |
<path d="M 128 388 L 584 388 A2,4 0 0 1 584 396 L 128 396 A2,4 0 0 1 128 388" fill="rgb(185,203,228)" stroke="rgb(0,0,0)" /> | |
<path d="M 584 396 A2,4 0 0 1 584 388" fill="none" stroke="rgb(0,0,0)" /> | |
<path d="M 128 388 L 584 388" fill="none" stroke="none" /> | |
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="33" x="103" y="103">主電源</text> | |
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="138" x="51" y="116">NEMA L5-30R 40A/100V</text> | |
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="38" x="101" y="247">PDU01</text> | |
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="138" x="51" y="260">NEMA L5-15R 30A/100V</text> | |
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="38" x="101" y="391">PDU02</text> | |
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="138" x="51" y="404">NEMA L5-15R 30A/100V</text> | |
<path d="M 204 108 L 204 156" fill="none" stroke="rgb(0,0,0)" /> | |
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="101" x="266" y="135">Rack Connector01</text> | |
<path d="M 204 196 L 204 244" fill="none" stroke="rgb(0,0,0)" /> | |
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="113" x="272" y="223">PDU01 Connector01</text> | |
<rect fill="rgb(255,255,255)" height="40" stroke="rgb(0,0,0)" width="104" x="152" y="156" /> | |
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="37" x="204" y="181">UPS01</text> | |
<path d="M 356 108 L 356 156" fill="none" stroke="rgb(0,0,0)" /> | |
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="102" x="419" y="135">Rack Connector04</text> | |
<path d="M 356 196 L 356 240" fill="none" stroke="rgb(0,0,0)" /> | |
<path d="M 356.0 240.0 A8,8 0 0 1 356.0 256.0" fill="none" stroke="rgb(0,0,0)" /> | |
<path d="M 356 256 L 356 388" fill="none" stroke="rgb(0,0,0)" /> | |
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="113" x="424" y="367">PDU02 Connector01</text> | |
<rect fill="rgb(255,255,255)" height="40" stroke="rgb(0,0,0)" width="104" x="304" y="156" /> | |
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="37" x="356" y="182">UPS02</text> | |
<path d="M 508 252 L 508 300" fill="none" stroke="rgb(0,0,0)" /> | |
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="113" x="576" y="279">PDU01 Connector02</text> | |
<rect fill="rgb(255,255,255)" height="40" stroke="rgb(0,0,0)" width="104" x="456" y="300" /> | |
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="35" x="508" y="325">web01</text> | |
<path d="M 660 252 L 660 300" fill="none" stroke="rgb(0,0,0)" /> | |
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="113" x="728" y="279">PDU01 Connector03</text> | |
<rect fill="rgb(255,255,255)" height="40" stroke="rgb(0,0,0)" width="104" x="608" y="300" /> | |
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="28" x="660" y="325">db01</text> | |
<path d="M 204 396 L 204 444" fill="none" stroke="rgb(0,0,0)" /> | |
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="113" x="272" y="424">PDU02 Connector03</text> | |
<rect fill="rgb(255,255,255)" height="40" stroke="rgb(0,0,0)" width="104" x="152" y="444" /> | |
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="35" x="204" y="470">web02</text> | |
<path d="M 508 396 L 508 444" fill="none" stroke="rgb(0,0,0)" /> | |
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="113" x="576" y="423">PDU02 Connector05</text> | |
<rect fill="rgb(255,255,255)" height="40" stroke="rgb(0,0,0)" width="104" x="456" y="444" /> | |
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="28" x="508" y="470">db02</text> | |
</svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
やれないことはないけど、テキストの内容だけ見たら違和感しかねーわw