Repository navigation
Portrayal 0.1.0 #714
roc-ops
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Portrayal is network hardware as data. Each device is a declarative YAML manifest, versioned in Git, that places reusable component contracts. The compiler turns it into one SVG in real millimetres, where every port, PSU, fan, LED, bay and label is an addressable element with a stable id. Then drive it: colour a port from telemetry, highlight a failed supply, route a cable, open it in 3D, or export the device to NetBox or Nautobot.
This is the first public release.
What's in it
library/exports/): one device type per manufacturer that sells a box.kit/): browse the library, inspect any part, swap modules and optics into bays and cages, and view any device extruded in 3D with its cables routed.@portrayal/kit, the JavaScript consumer: draw, inspect, swap and export from the compiled artifacts, with no YAML reading.Getting started
For DCIM, the NetBox and Nautobot types are already built under
library/exports/, and nothing needs compiling. For JavaScript, usenpm install @portrayal/kit. To add a device, seeCONTRIBUTING.mdanddocs/modelling-a-device.md.What 0.1.0 promises
Read
docs/format-stability.mdfor the full text. The short version:format: 1. The schemas are published athttps://portrayal.dev/schemas/v1/.contract: 2. The contract number goes up when a field a consumer reads is removed, renamed or changes meaning. Adding a field does not raise it.CHANGELOG.md, with a minor version bump.name@1when@2exists) may be removed at 0.x, and every removal is listed in the changelog with the ref that replaces it. From 1.0, a retired major is deprecated for at least one release first.Known limits
draft:dell/r740xdandcelestica/ds6001. Servers are supported but not the current focus.Thanks
Portrayal is sponsored by RocNet Supply. Vendor and product names belong to their owners, and Portrayal is not affiliated with any vendor it models; see
NOTICE.Apache-2.0. Contributions are welcome under the Developer Certificate of Origin (
git commit -s). The full pre-release history is inCHANGELOG.md.This discussion was created from the release Portrayal 0.1.0.
All reactions