Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 996 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 996 Bytes

"DSL" for subnets

It is more like a programmatic way of creating the IP documentation.

Example

import Data.Subnet
import IP.Documentation

subnets = [ Subnet "172.18.128.0" 20 2000 "Wireless"
          , SubnetSlash "172.18.144.0/22" 600 "Technical"
          ]
          
main :: IO ()
main = printCsvSubnets subnets

The source code above should generate a CSV content that can be imported into Google's Sheets or Microsoft's Excel for the following result.

imported result

Experimental Features

Generate subnet labels for Draw.io

imported result

Other ideas

Feel free to implement these.

  • Connect to Google Drive and generate the Sheets directly.
  • Write this in Google Apps Script for Sheets, so user can just click the button to get a new sheet with the IP documentation from data in the current sheet.
  • Work with the xlsx format directly to pre-apply the style for each subnet.