flowt

module
v0.0.0-...-9c779f9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2023 License: Apache-2.0

README

flowt

Debugging tools for openflow/OVN/OVS

Commands

kni@rhos-nfv-01 flowt]$ go run cmd/schema/main.go 
Generate an ./ovn_nortbound.go or ./ovn_southbound.go file depending on
the type of database contained in the file_to_parse.  The ***.go file
contains go structures that map the database data contents.

Usage: main [options] file_to_parse
       file_to_parse  -- Path to flow rules.
  -h Print usage information.
  -o string
     Go Schema file output file (Defaults to name in schema in current directory)
  -pkg string
     Target package for schema. (default "dbtypes")
  -v Print extra runtime information.
[kni@rhos-nfv-01 flowt]$ go run cmd/db/main.go -h
Read an OVN NB or SB database, generate a json file of just the data,
and generate a .dot file that represents the schema of the database.

Usage: main [options] db_to_parse
       db_to_parse  -- Path to NB or SB database.
  -c string
     Name of chart to generate.
  -chart string
     Name of chart to generate.
  -help
     Print usage information.
  -o string
     Directory to place the results (Defaults to local directory) (default ".")
  -v Print extra runtime information.

Directories

Path Synopsis
cmd
app
db
dp
gen
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL