Revision a4c589d2 qa/qa_network.py
b/qa/qa_network.py | ||
---|---|---|
24 | 24 |
""" |
25 | 25 |
|
26 | 26 |
import qa_config |
27 |
import qa_tags |
|
27 | 28 |
import qa_utils |
28 | 29 |
|
29 | 30 |
from qa_utils import AssertCommand |
... | ... | |
56 | 57 |
AssertCommand(["gnt-network", "remove", network2]) |
57 | 58 |
|
58 | 59 |
|
60 |
def TestNetworkTags(): |
|
61 |
"""gnt-network tags""" |
|
62 |
(network, ) = GetNonexistentNetworks(1) |
|
63 |
AssertCommand(["gnt-network", "add", "--network", "192.0.2.0/30", network]) |
|
64 |
qa_tags.TestNetworkTags(network) |
|
65 |
AssertCommand(["gnt-network", "remove", network]) |
|
66 |
|
|
67 |
|
|
59 | 68 |
def TestNetworkConnect(): |
60 | 69 |
"""gnt-network connect/disconnect""" |
61 | 70 |
(group1, ) = qa_utils.GetNonexistentGroups(1) |
Also available in: Unified diff