Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions cmd/fake-openstack/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,12 @@ func main() {
rootCmd := &cobra.Command{
Use: "fake-openstack",
Short: "Fake OpenStack API server for integration tests",
Long: "Starts a mock OpenStack API (Keystone, Nova, Neutron, Cinder, Glance) for OS-to-OS and VMware-to-OS migration integration tests.",
Run: runServe,
Long: `Starts a mock OpenStack API (Keystone, Nova, Neutron, Cinder, Glance) for OS-to-OS and VMware-to-OS migration integration tests.

Use from CI or Ansible playbooks with: go run github.com/os-migrate/gostack/cmd/fake-openstack@latest --port 5000 --pid-file /tmp/fake_os_server.pid

Runs from any directory; no chdir required.`,
Run: runServe,
}

rootCmd.PersistentFlags().IntP("port", "p", 5000, "Port to listen on")
Expand Down
Loading