Skip to content

Instantly share code, notes, and snippets.

@tsekiyama
tsekiyama / attach-volume.py
Last active August 29, 2015 14:22
Attach a Cinder volume to the host
#!/usr/bin/python
import os
import socket
import sys
import logging
from cinderclient import client as cinder_client
from os_brick.initiator import connector