This patch adds a shell test for net, which creates a dummy interface and runs mgmt to bring it up and assign it with an address. It then checks if the state was applied correctly. Finally, it runs mgmt again to bring the interface down, and tests that it comes down and stays down.
4 lines
37 B
Plaintext
4 lines
37 B
Plaintext
net "mgmtnet0" {
|
|
state => "down",
|
|
}
|