From 5acbec452913ac4ad05a358a5692197a4484fea0 Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Wed, 22 Apr 2020 17:11:44 +0800 Subject: [PATCH] hostman: options: add allow_xx_vms --- pkg/hostman/options/options.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/hostman/options/options.go b/pkg/hostman/options/options.go index 0d115dc1ea..64c5471111 100644 --- a/pkg/hostman/options/options.go +++ b/pkg/hostman/options/options.go @@ -111,6 +111,9 @@ type SHostOptions struct { ExecutorSocketPath string `help:"Executor socket path" default:"/var/run/exec.sock"` CommonConfigFile string `help:"common config file for container"` + AllowSwitchVMs bool `help:"allow machines run as switch (spoof mac)" default:"true"` + AllowRouterVMs bool `help:"allow machines run as router (spoof ip)" default:"true"` + OvnSouthDatabase string `help:"address for accessing ovn south database" default:"$HOST_OVN_SOUTH_DATABASE|unix:/var/run/openvswitch/ovnsb_db.sock"` OvnIntegrationBridge string `help:"name of integration bridge for logical ports" default:"brvpc" default:"$HOST_OVN_INTEGRATION_BRIDGE|brvpc"` OvnEncapIp string `help:"encap ip for ovn datapath. Default to output src address of default route" default:"$HOST_OVN_ENCAP_IP"`