Files
01702231fc0e1c64aa2f57d9573d5311a26e1ee2
Thomas Morin
01702231fc
Devstack plugin: create neutron policy.d
Need to create neutron/policy.d directory before copying our policy file there. Change-Id: I8ffc6950f21163e03ac80633579eb14e3ff56b32
30 lines
647 B
Bash
30 lines
647 B
Bash
#!/bin/bash
# Save trace setting
XTRACE=$(set +o | grep xtrace)
set +o xtrace
if [[ "1ドル" == "source" ]]; then
# no-op
:
elif [[ "1ドル" == "stack" && "2ドル" == "install" ]]; then
setup_develop $NETWORKING_BGPVPN_DIR
mkdir -p $NEUTRON_CONF_DIR/policy.d && cp $NETWORKING_BGPVPN_DIR/etc/neutron/policy.d/bgpvpn.conf $NEUTRON_CONF_DIR/policy.d
elif [[ "1ドル" == "stack" && "2ドル" == "post-config" ]]; then
if is_service_enabled q-svc; then
bgpvpn-db-manage --config-file $NEUTRON_CONF --config-file /$Q_PLUGIN_CONF_FILE upgrade head
fi
fi
if [[ "1ドル" == "unstack" ]]; then
#no-op
:
fi
if [[ "1ドル" == "clean" ]]; then
#no-op
:
fi
set +x
$xtrace