Skip to content

Commit

Permalink
Merge pull request #4247 from sever-sever/T6936
Browse files Browse the repository at this point in the history
T6936: PPPoE-server add option combined to interface
  • Loading branch information
dmbaturin authored Dec 23, 2024
2 parents 3168305 + 8f61e42 commit 1258853
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data/templates/accel-ppp/pppoe.config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ interface={{ iface }}
{% for vlan in iface_config.vlan %}
interface=re:^{{ iface }}\.{{ vlan | range_to_regex }}$
{% endfor %}
{% if iface_config.combined is vyos_defined %}
interface={{ iface }}
{% endif %}
{% if iface_config.vlan_mon is vyos_defined %}
vlan-mon={{ iface }},{{ iface_config.vlan | join(',') }}
{% endif %}
Expand Down
6 changes: 6 additions & 0 deletions interface-definitions/service_pppoe-server.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@
</completionHelp>
</properties>
<children>
<leafNode name="combined">
<properties>
<help>Listen on both VLANs and the base interface</help>
<valueless/>
</properties>
</leafNode>
#include <include/accel-ppp/vlan.xml.i>
#include <include/accel-ppp/vlan-mon.xml.i>
</children>
Expand Down

0 comments on commit 1258853

Please sign in to comment.