Skip to content

Commit

Permalink
README.md lists available packages (#52)
Browse files Browse the repository at this point in the history
Signed-off-by: Ziv Nevo <[email protected]>
  • Loading branch information
zivnevo authored Jun 24, 2024
1 parent ce4b9f5 commit 668e216
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# models
Models for connectivity and network resources
A collection of Golang packages with models for connectivity and network resources

## Packages
* **interval** - A canonical representation of a set of intervals defined over integers
* **ipblock** - A canonical representation of a set of IP ranges. Currently limited to IPv4
* **hypercube** - A canonical representation of a set of n-dimensional hypercubes. All dimensions are defined over integers.
* **netp** - Various structs for representing and handling common network protocols (TCP, UDP, ICMP)
* **connection** - A canonical representation of a set of connections. E.g., for representing all protocols/ports/codes permitted by a given firewall, given a specific source and destination.
* **spec** - A collection of structs for defining required connectivity. Automatically generated from a JSON schema (see below).

## Code generation
`spec_schema.json` is the JSON schema for the input to VPC-synthesis. The data model in `pkg/spec` is auto-generated from this file using the below procedure.

Expand Down

0 comments on commit 668e216

Please sign in to comment.