@portrayal/juniper-mx10008 0.0.0-stage → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/NOTICE +36 -0
- package/README.md +4 -2
- package/mx10008.base.bottom.elements.json +1 -0
- package/mx10008.base.bottom.svg +49 -0
- package/mx10008.base.front.elements.json +1 -0
- package/mx10008.base.front.svg +8106 -0
- package/mx10008.base.left.elements.json +1 -0
- package/mx10008.base.left.svg +48 -0
- package/mx10008.base.rear.elements.json +1 -0
- package/mx10008.base.rear.svg +4726 -0
- package/mx10008.base.right.elements.json +1 -0
- package/mx10008.base.right.svg +48 -0
- package/mx10008.base.top.elements.json +1 -0
- package/mx10008.base.top.svg +49 -0
- package/mx10008.configs.json +538 -0
- package/mx10008.source.json +969 -0
- package/package.json +19 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"components":{},"config":"base","configs":["base"],"device":"mx10008","device-version":"2.0.6","elements":[{"box":{"h":574.0,"w":813.0,"x":0.0,"y":0.0},"class":"chassis","id":"chassis-faceplate","parent":null,"path":"chassis"}],"generator":{"tool":"portrayal-render","version":"0.2.0"},"source-sha256":"0066dead80241c9eb625f615afee0980e7871b4ff9bff8bbf0a2ae8a6c905532","view":"left","viewBox":[0.0,0.0,813.0,574.0]}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="813.0mm" height="574.0mm" viewBox="0 0 813.0 574.0" data-device="mx10008" data-view="left" data-weight-empty-kg="65.86" data-weight-base-kg="133" data-power-typical-w="12000" data-power-envelope="fully-configured" data-power-typical-scope="datasheet - typical, fully loaded (MX10000 and MX10008/MX10016 datasheets); no ambient or side named">
|
|
3
|
+
<style>
|
|
4
|
+
[data-path] { cursor: pointer; }
|
|
5
|
+
.state-on { --led-color: #22c55e; }
|
|
6
|
+
.state-up { --led-color: #22c55e; }
|
|
7
|
+
/* link and up are the same fact on an Ethernet lamp; see docs/rj45-family-design.md */
|
|
8
|
+
.state-link { --led-color: #22c55e; }
|
|
9
|
+
.state-activity { --led-color: #86efac; }
|
|
10
|
+
.state-ok { --led-color: #22c55e; }
|
|
11
|
+
.state-fault { --led-color: #ef4444; }
|
|
12
|
+
.state-fail { --led-color: #ef4444; }
|
|
13
|
+
.state-locate { --led-color: #3b82f6; }
|
|
14
|
+
.state-absent { opacity: 0.35; }
|
|
15
|
+
/* A SWITCHED OUTLET WITH NO LAMP is dimmed when it is off, as absent is but
|
|
16
|
+
less (docs/pdu-model-design.md section 3.2): every switched PDU in the
|
|
17
|
+
library has a lamp per outlet, and this is the fallback so the first one
|
|
18
|
+
without does not invent a lamp. An outlet a lamp is bound to by `for:`
|
|
19
|
+
carries data-lamped (mark_lamped) and is never dimmed: its lamp says it. */
|
|
20
|
+
[data-class='inlet'][data-states~='off'].state-off:not([data-lamped]) { opacity: 0.55; }
|
|
21
|
+
/* A state is a colour AND a behaviour. Solid and blinking of the same colour
|
|
22
|
+
are different facts on real hardware: on the S9510-28DC a solid green PWR
|
|
23
|
+
is "system power good" and a blinking green PWR is "power good but BMC
|
|
24
|
+
power fail". A blinking state that renders solid is the same failure as a
|
|
25
|
+
state class nothing paints - it looks modelled and is not.
|
|
26
|
+
blink animates opacity rather than fill, because each skin carries its own
|
|
27
|
+
unlit colour in the fill fallback and a keyframe cannot name it. alternate
|
|
28
|
+
animates fill, because two colours is the whole point, and takes its first
|
|
29
|
+
value from the element's own fill. */
|
|
30
|
+
@keyframes portrayal-blink {
|
|
31
|
+
0%, 49.9% { opacity: 1; }
|
|
32
|
+
50%, 100% { opacity: 0; }
|
|
33
|
+
}
|
|
34
|
+
@keyframes portrayal-alternate {
|
|
35
|
+
0%, 49.9% { fill: var(--led-color, #3a3f44); }
|
|
36
|
+
50%, 100% { fill: var(--led-color-alt, #3a3f44); }
|
|
37
|
+
}
|
|
38
|
+
.portrayal-highlight { filter: drop-shadow(0 0 1.2px #f59e0b) drop-shadow(0 0 0.5px #f59e0b); }
|
|
39
|
+
.portrayal-dim { opacity: 0.25; }
|
|
40
|
+
[data-class='region'].portrayal-highlight { stroke: #f59e0b; stroke-width: 0.7; filter: none; }
|
|
41
|
+
.state-fail[data-class='psu'], .state-fail[data-class='fan'] { filter: drop-shadow(0 0 1.4px #ef4444); }
|
|
42
|
+
</style>
|
|
43
|
+
<metadata>{"device":"Juniper MX10008","device-version":"2.0.6","generator":{"tool":"portrayal-render","version":"0.2.0"},"resolved-components":{},"source-sha256":"0066dead80241c9eb625f615afee0980e7871b4ff9bff8bbf0a2ae8a6c905532","view":"left"}</metadata>
|
|
44
|
+
<rect id="chassis-faceplate" data-path="chassis" data-class="chassis" data-model="MX10008" x="0" y="0" width="813" height="574" rx="1.2" fill="#565b61" stroke="#22262a" stroke-width="0.5" />
|
|
45
|
+
<g id="--decor" data-class="decor">
|
|
46
|
+
<rect id="plate-0" data-kind="plate" x="0" y="270" width="813" height="30" rx="0.6" fill="#4a4f55" />
|
|
47
|
+
</g>
|
|
48
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"components":{"juniper/jnp10008-fan@1":"1.0.0","juniper/jnp10k-pwr-ac2@1":"1.1.0","std/c20-inlet@1":"1.4.0"},"config":"base","configs":["base"],"device":"mx10008","device-version":"2.0.6","elements":[{"box":{"h":574.0,"w":442.0,"x":0.0,"y":0.0},"class":"chassis","id":"chassis-faceplate","parent":null,"path":"chassis"},{"box":{"h":97.0,"w":84.0,"x":3.0,"y":4.25},"class":"bay","group":"psus","group-role":"service","id":"psu0","parent":null,"path":"psu0","rel-pos":"0"},{"box":{"h":97.0,"w":84.0,"x":3.0,"y":4.25},"class":"psu","id":"psu0--module","parent":"psu0","path":"psu0/module","ref":"juniper/jnp10k-pwr-ac2@1:1.1.0","seat":"psu0","states":["ok","fault","absent"]},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":20.25},"class":"inlet","connection-points":{"mate":{"at":[16.2,12.2],"dir":"front","face":[61.2,32.45]}},"id":"psu0--module--inp2","media":"ac","parent":"psu0/module","path":"psu0/module/inp2","ref":"std/c20-inlet@1:1.4.0","seat":"psu0"},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":20.25},"class":"cutout","id":"psu0--module--inp2--opening","parent":"psu0/module/inp2","path":"psu0/module/inp2/opening","seat":"psu0"},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":68.25},"class":"inlet","connection-points":{"mate":{"at":[16.2,12.2],"dir":"front","face":[61.2,80.45]}},"id":"psu0--module--inp1","media":"ac","parent":"psu0/module","path":"psu0/module/inp1","ref":"std/c20-inlet@1:1.4.0","seat":"psu0"},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":68.25},"class":"cutout","id":"psu0--module--inp1--opening","parent":"psu0/module/inp1","path":"psu0/module/inp1/opening","seat":"psu0"},{"box":{"h":97.0,"w":84.0,"x":3.0,"y":98.75},"class":"bay","group":"psus","group-role":"service","id":"psu1","parent":null,"path":"psu1","rel-pos":"1"},{"box":{"h":97.0,"w":84.0,"x":3.0,"y":98.75},"class":"psu","id":"psu1--module","parent":"psu1","path":"psu1/module","ref":"juniper/jnp10k-pwr-ac2@1:1.1.0","seat":"psu1","states":["ok","fault","absent"]},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":114.75},"class":"inlet","connection-points":{"mate":{"at":[16.2,12.2],"dir":"front","face":[61.2,126.95]}},"id":"psu1--module--inp2","media":"ac","parent":"psu1/module","path":"psu1/module/inp2","ref":"std/c20-inlet@1:1.4.0","seat":"psu1"},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":114.75},"class":"cutout","id":"psu1--module--inp2--opening","parent":"psu1/module/inp2","path":"psu1/module/inp2/opening","seat":"psu1"},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":162.75},"class":"inlet","connection-points":{"mate":{"at":[16.2,12.2],"dir":"front","face":[61.2,174.95]}},"id":"psu1--module--inp1","media":"ac","parent":"psu1/module","path":"psu1/module/inp1","ref":"std/c20-inlet@1:1.4.0","seat":"psu1"},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":162.75},"class":"cutout","id":"psu1--module--inp1--opening","parent":"psu1/module/inp1","path":"psu1/module/inp1/opening","seat":"psu1"},{"box":{"h":97.0,"w":84.0,"x":3.0,"y":193.25},"class":"bay","group":"psus","group-role":"service","id":"psu2","parent":null,"path":"psu2","rel-pos":"2"},{"box":{"h":97.0,"w":84.0,"x":3.0,"y":193.25},"class":"psu","id":"psu2--module","parent":"psu2","path":"psu2/module","ref":"juniper/jnp10k-pwr-ac2@1:1.1.0","seat":"psu2","states":["ok","fault","absent"]},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":209.25},"class":"inlet","connection-points":{"mate":{"at":[16.2,12.2],"dir":"front","face":[61.2,221.45]}},"id":"psu2--module--inp2","media":"ac","parent":"psu2/module","path":"psu2/module/inp2","ref":"std/c20-inlet@1:1.4.0","seat":"psu2"},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":209.25},"class":"cutout","id":"psu2--module--inp2--opening","parent":"psu2/module/inp2","path":"psu2/module/inp2/opening","seat":"psu2"},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":257.25},"class":"inlet","connection-points":{"mate":{"at":[16.2,12.2],"dir":"front","face":[61.2,269.45]}},"id":"psu2--module--inp1","media":"ac","parent":"psu2/module","path":"psu2/module/inp1","ref":"std/c20-inlet@1:1.4.0","seat":"psu2"},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":257.25},"class":"cutout","id":"psu2--module--inp1--opening","parent":"psu2/module/inp1","path":"psu2/module/inp1/opening","seat":"psu2"},{"box":{"h":97.0,"w":84.0,"x":3.0,"y":287.75},"class":"bay","group":"psus","group-role":"service","id":"psu3","parent":null,"path":"psu3","rel-pos":"3"},{"box":{"h":97.0,"w":84.0,"x":3.0,"y":287.75},"class":"psu","id":"psu3--module","parent":"psu3","path":"psu3/module","ref":"juniper/jnp10k-pwr-ac2@1:1.1.0","seat":"psu3","states":["ok","fault","absent"]},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":303.75},"class":"inlet","connection-points":{"mate":{"at":[16.2,12.2],"dir":"front","face":[61.2,315.95]}},"id":"psu3--module--inp2","media":"ac","parent":"psu3/module","path":"psu3/module/inp2","ref":"std/c20-inlet@1:1.4.0","seat":"psu3"},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":303.75},"class":"cutout","id":"psu3--module--inp2--opening","parent":"psu3/module/inp2","path":"psu3/module/inp2/opening","seat":"psu3"},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":351.75},"class":"inlet","connection-points":{"mate":{"at":[16.2,12.2],"dir":"front","face":[61.2,363.95]}},"id":"psu3--module--inp1","media":"ac","parent":"psu3/module","path":"psu3/module/inp1","ref":"std/c20-inlet@1:1.4.0","seat":"psu3"},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":351.75},"class":"cutout","id":"psu3--module--inp1--opening","parent":"psu3/module/inp1","path":"psu3/module/inp1/opening","seat":"psu3"},{"box":{"h":97.0,"w":84.0,"x":3.0,"y":382.25},"class":"bay","group":"psus","group-role":"service","id":"psu4","parent":null,"path":"psu4","rel-pos":"4"},{"box":{"h":97.0,"w":84.0,"x":3.0,"y":382.25},"class":"psu","id":"psu4--module","parent":"psu4","path":"psu4/module","ref":"juniper/jnp10k-pwr-ac2@1:1.1.0","seat":"psu4","states":["ok","fault","absent"]},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":398.25},"class":"inlet","connection-points":{"mate":{"at":[16.2,12.2],"dir":"front","face":[61.2,410.45]}},"id":"psu4--module--inp2","media":"ac","parent":"psu4/module","path":"psu4/module/inp2","ref":"std/c20-inlet@1:1.4.0","seat":"psu4"},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":398.25},"class":"cutout","id":"psu4--module--inp2--opening","parent":"psu4/module/inp2","path":"psu4/module/inp2/opening","seat":"psu4"},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":446.25},"class":"inlet","connection-points":{"mate":{"at":[16.2,12.2],"dir":"front","face":[61.2,458.45]}},"id":"psu4--module--inp1","media":"ac","parent":"psu4/module","path":"psu4/module/inp1","ref":"std/c20-inlet@1:1.4.0","seat":"psu4"},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":446.25},"class":"cutout","id":"psu4--module--inp1--opening","parent":"psu4/module/inp1","path":"psu4/module/inp1/opening","seat":"psu4"},{"box":{"h":97.0,"w":84.0,"x":3.0,"y":476.75},"class":"bay","group":"psus","group-role":"service","id":"psu5","parent":null,"path":"psu5","rel-pos":"5"},{"box":{"h":97.0,"w":84.0,"x":3.0,"y":476.75},"class":"psu","id":"psu5--module","parent":"psu5","path":"psu5/module","ref":"juniper/jnp10k-pwr-ac2@1:1.1.0","seat":"psu5","states":["ok","fault","absent"]},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":492.75},"class":"inlet","connection-points":{"mate":{"at":[16.2,12.2],"dir":"front","face":[61.2,504.95]}},"id":"psu5--module--inp2","media":"ac","parent":"psu5/module","path":"psu5/module/inp2","ref":"std/c20-inlet@1:1.4.0","seat":"psu5"},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":492.75},"class":"cutout","id":"psu5--module--inp2--opening","parent":"psu5/module/inp2","path":"psu5/module/inp2/opening","seat":"psu5"},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":540.75},"class":"inlet","connection-points":{"mate":{"at":[16.2,12.2],"dir":"front","face":[61.2,552.95]}},"id":"psu5--module--inp1","media":"ac","parent":"psu5/module","path":"psu5/module/inp1","ref":"std/c20-inlet@1:1.4.0","seat":"psu5"},{"box":{"h":24.4,"w":32.4,"x":45.0,"y":540.75},"class":"cutout","id":"psu5--module--inp1--opening","parent":"psu5/module/inp1","path":"psu5/module/inp1/opening","seat":"psu5"},{"box":{"h":560.0,"w":176.0,"x":89.0,"y":7.0},"class":"bay","group":"cooling","group-role":"service","id":"fan0","parent":null,"path":"fan0","rel-pos":"0"},{"box":{"h":560.0,"w":176.0,"x":89.0,"y":7.0},"class":"fan","id":"fan0--module","parent":"fan0","path":"fan0/module","ref":"juniper/jnp10008-fan@1:1.0.0","seat":"fan0","states":["ok","fail","absent"]},{"box":{"h":560.0,"w":176.0,"x":266.0,"y":7.0},"class":"bay","group":"cooling","group-role":"service","id":"fan1","parent":null,"path":"fan1","rel-pos":"1"},{"box":{"h":560.0,"w":176.0,"x":266.0,"y":7.0},"class":"fan","id":"fan1--module","parent":"fan1","path":"fan1/module","ref":"juniper/jnp10008-fan@1:1.0.0","seat":"fan1","states":["ok","fail","absent"]}],"generator":{"tool":"portrayal-render","version":"0.2.0"},"source-sha256":"0066dead80241c9eb625f615afee0980e7871b4ff9bff8bbf0a2ae8a6c905532","view":"rear","viewBox":[0.0,0.0,442.0,574.0]}
|