Skip to content

Commit 6da0c23

Browse files
committed
fixes #170 - expanding modes in which LLDP is ok
1 parent d8406b2 commit 6da0c23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandevice/network.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,10 +1009,10 @@ def _setup(self):
10091009
condition={'mode': 'layer3'}))
10101010
params.append(VersionedParamPath(
10111011
'lldp_enabled', path='{mode}/lldp/enable', vartype='yesno',
1012-
condition={'mode': 'layer2'}))
1012+
condition={'mode': ['layer2', 'layer3', 'virtual-wire']}))
10131013
params.append(VersionedParamPath(
10141014
'lldp_profile', path='{mode}/lldp/profile',
1015-
condition={'mode': 'layer2'}))
1015+
condition={'mode': ['layer2', 'layer3', 'virtual-wire']}))
10161016
params.append(VersionedParamPath(
10171017
'netflow_profile_l2', path='{mode}/netflow-profile',
10181018
condition={'mode': 'layer2'}))

0 commit comments

Comments
 (0)