The hardcoded ovsdb port causes problems when hooking up xenserver to
different SDN stacks. Changing this to a variable at the start of the
script makes it easier to update this when needed (using chef/puppet/etc)
Signed-off-by: Sten Spans <sten@blinkenlights.nl>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Simon Horman simon.horman@netronome.com
Sorin Vinturis svinturis@cloudbasesolutions.com
Steffen Gebert steffen.gebert@informatik.uni-wuerzburg.de
+Sten Spans sten@blinkenlights.nl
Stephane A. Sezer sas@cd80.net
Stephen Finucane stephen.finucane@intel.com
SUGYO Kazushi sugyo.org@gmail.com
vsctl = '/usr/bin/ovs-vsctl'
ofctl = '/usr/bin/ovs-ofctl'
cacert_filename = '/etc/openvswitch/vswitchd.cacert'
+ovsdb_port = '6640'
# Delete the CA certificate, so that we go back to boot-strapping mode
'/etc/xensource/xapi-ssl.pem',
'/etc/xensource/xapi-ssl.pem',
cacert_filename,
- '--', 'set-manager', 'ssl:' + controller + ':6640'])
+ '--', 'set-manager', 'ssl:' + controller + ':' + ovsdb_port])
def vswitchCfgQuery(action_args):