We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd50060 commit 24f6a35Copy full SHA for 24f6a35
SoftLayer/CLI/firewall/detail.py
@@ -16,13 +16,20 @@
16
help="Display FortiGate username and FortiGate password to multi vlans.")
17
@environment.pass_env
18
def cli(env, identifier, credentials):
19
- """Detail firewall."""
+ """Detail firewall.
20
+
21
+ EXAMPLES:
22
23
+ slcli firewall detail vs:12345
24
25
+ slcli firewall detail --credentials true multiVlan:456789
26
+ """
27
28
mgr = SoftLayer.FirewallManager(env.client)
29
30
firewall_type, firewall_id = firewall.parse_id(identifier)
31
- if firewall_type == 'vs' or firewall_type == 'server' or firewall_type == 'vlan' or firewall_type == 'multiVlan':
32
+ if firewall_type in ('vs', 'server', 'vlan', 'multiVlan'):
33
34
if firewall_type == 'vlan':
35
_firewall = mgr.get_instance(firewall_id)
0 commit comments