Skip to content

Commit

Permalink
Merge pull request #20 from ivcosla/fix/hypervisor-endpoints
Browse files Browse the repository at this point in the history
Fix/hypervisor endpoints
  • Loading branch information
ivcosla authored Oct 7, 2019
2 parents a7858b0 + 5b98467 commit 7950f74
Show file tree
Hide file tree
Showing 6 changed files with 626 additions and 193 deletions.
2 changes: 1 addition & 1 deletion cmd/hypervisor/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func init() {
rootCmd.Flags().StringVarP(&configPath, "config", "c", "./hypervisor-config.json", "hypervisor config path")
rootCmd.Flags().BoolVarP(&mock, "mock", "m", false, "whether to run hypervisor with mock data")
rootCmd.Flags().BoolVar(&mockEnableAuth, "mock-enable-auth", false, "whether to enable user management in mock mode")
rootCmd.Flags().IntVar(&mockNodes, "mock-nodes", 5, "number of app nodes to have in mock mode")
rootCmd.Flags().IntVar(&mockNodes, "mock-visors", 5, "number of app visors to have in mock mode")
rootCmd.Flags().IntVar(&mockMaxTps, "mock-max-tps", 10, "max number of transports per mock app node")
rootCmd.Flags().IntVar(&mockMaxRoutes, "mock-max-routes", 30, "max number of routes per node")
}
Expand Down
Loading

0 comments on commit 7950f74

Please sign in to comment.