Skip to content
Snippets Groups Projects
main.go 579 B
Newer Older
  • Learn to ignore specific revisions
  • package main
    
    import (
    
    Martin Stiemerling's avatar
    x  
    Martin Stiemerling committed
    	"gosdn/nucleus"
    
    )
    
    // Generate the code out of the yang modules
    //go:generate go run $GOPATH/src/github.com/openconfig/ygot/generator/generator.go -path=yang -output_file=goSDN/goSDNgo.go -package_name=gosdn -generate_fakeroot -fakeroot_name=device -compress_paths=true -shorten_enum_leaf_names -exclude_modules=ietf-interfaces yang/openconfig-interfaces.yang yang/openconfig-if-ip.yang
    
    func main() {
    	println("This is the network superintendent...")
    
    	// hand off to cmd for further processing
    	cmd.Execute()
    
    	// nothing to see here, please move on!
    }