Skip to content

Commit

Permalink
Merge pull request #2 from alexax66/master
Browse files Browse the repository at this point in the history
  • Loading branch information
ericbsd authored Oct 13, 2022
2 parents d7193ca + 75d73dd commit d130409
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions bectl.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@ def rename_be(origBeName, newBeName):
assert bectl_process.returncode == 0


def mount_be(BeName):
cmd_list = ['bectl', 'mount', BeName]
bectl_process = run(cmd_list)
assert bectl_process.returncode == 0


def umount_be(BeName):
cmd_list = ['bectl', 'umount', BeName]
bectl_process = run(cmd_list)
assert bectl_process.returncode == 0


def get_be_list():
cmd_list = ['bectl', 'list']
bectl_output = Popen(
Expand Down

0 comments on commit d130409

Please sign in to comment.