Skip to content

Instantly share code, notes, and snippets.

@freyes
Last active December 21, 2016 17:16
Show Gist options
  • Select an option

  • Save freyes/ccf4e81500c72f0412ed52c10d76e4a4 to your computer and use it in GitHub Desktop.

Select an option

Save freyes/ccf4e81500c72f0412ed52c10d76e4a4 to your computer and use it in GitHub Desktop.
#!/bin/bash
ROUTER=$1
neutron l3-agent-list-hosting-router ${ROUTER}
neutron router-update ${ROUTER} --admin-state-up=False
neutron router-update ${ROUTER} --admin-state-up=True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment