1
## Cheetah template for cli output
2
#if $cmd == 'list_nets'
3
Virtual Networks for Tenant $tenant_id
4
#for $network in $networks
5
Network ID: $network.id
7
#elif $cmd == 'create_net'
8
Created a new Virtual Network with ID: $network_id
10
#elif $cmd == 'delete_net'
11
Deleted Virtual Network with ID: $network_id
13
#elif $cmd == 'show_net'
14
Network ID: $network.id
15
Network Name: $network.name
16
for Tenant: $tenant_id
17
#elif $cmd == 'rename_net'
18
Renamed Virtual Network with ID: $network.id
19
New name is: $network.name
20
for Tenant $tenant_id,
21
#elif $cmd == 'list_ports'
22
Ports on Virtual Network: $network_id
23
for Tenant: $tenant_id
25
Logical Port: $port.id
27
#elif $cmd == 'create_port'
28
Created new Logical Port with ID: $port_id
29
on Virtual Network: $network_id
30
for Tenant: $tenant_id
31
#elif $cmd == 'delete_port'
32
Deleted Logical Port with ID: $port_id
33
on Virtual Network: $network_id
34
for Tenant: $tenant_id
35
#elif $cmd == 'set_port_state'
36
Updated state for Logical Port with ID: $port.id
37
new state is: $port.state
38
on Virtual Network: $network_id
39
for tenant: $tenant_id
40
#elif $cmd == 'show_port'
41
Logical Port ID: $port.id
42
administrative State: $port.state
43
interface: $port.attachment
44
on Virtual Network: $network_id
45
for Tenant: $tenant_id
46
#elif $cmd == 'plug_iface'
47
Plugged interface $attachment
48
into Logical Port: $port_id
49
on Virtual Network: $network_id
50
for Tenant: $tenant_id
51
#elif $cmd == 'unplug_iface'
52
Unplugged interface from Logical Port: $port_id
53
on Virtual Network: $network_id
54
for Tenant: $tenant_id