diff options
author | Chuck Short <chuck.short@canonical.com> | 2012-08-02 09:13:07 -0500 |
---|---|---|
committer | Chuck Short <chuck.short@canonical.com> | 2012-08-02 13:28:06 -0500 |
commit | 04a0bd690579a91b487b2865c52b6d073b25ad5d (patch) | |
tree | d3f01e9d9e7008e0e5f4c2f65eae4cd690e12113 /nova/notifications.py | |
parent | 8583ce6bc0a6184c7f866bfd1ebfa7443da4b5f6 (diff) | |
download | nova-04a0bd690579a91b487b2865c52b6d073b25ad5d.tar.gz nova-04a0bd690579a91b487b2865c52b6d073b25ad5d.tar.xz nova-04a0bd690579a91b487b2865c52b6d073b25ad5d.zip |
Update usage of 'ip' to handle more return codes
Make sure that ip raises an exception.ProcessExecutionError unless
'ip' exits with a 0, 2, or 254.
0 = command executed correctly
2/254 = command has already been executed.
Change-Id: I55dd63ca7fc22bc133ab5fe722df4141c332a819
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Diffstat (limited to 'nova/notifications.py')
0 files changed, 0 insertions, 0 deletions