-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
igmp: T5736: migrate "protocols igmp" to "protocols pim"
IGMP and PIM are two different but related things. FRR has both combined in pimd. As we use get_config_dict() and FRR reload it is better to have both centrally stored under the same CLI node (as FRR does, too) to just "fire and forget" the commit to the daemon. "set protocols igmp interface eth1" -> "set protocols pim interface eth1 igmp"
- Loading branch information
Showing
15 changed files
with
322 additions
and
303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
interface-definitions/include/source-address-ipv4-multi.xml.i
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!-- include start from source-address-ipv4-multi.xml.i --> | ||
<leafNode name="source-address"> | ||
<properties> | ||
<help>IPv4 source address used to initiate connection</help> | ||
<completionHelp> | ||
<script>${vyos_completion_dir}/list_local_ips.sh --ipv4</script> | ||
</completionHelp> | ||
<valueHelp> | ||
<format>ipv4</format> | ||
<description>IPv4 source address</description> | ||
</valueHelp> | ||
<constraint> | ||
<validator name="ipv4-address"/> | ||
</constraint> | ||
<multi/> | ||
</properties> | ||
</leafNode> | ||
<!-- include end --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<!-- include start from include/version/pim-version.xml.i --> | ||
<syntaxVersion component='pim' version='1'></syntaxVersion> | ||
<!-- include end --> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
set interfaces ethernet eth1 address '100.64.0.1/24' | ||
set interfaces ethernet eth2 address '172.16.0.2/24' | ||
set protocols pim interface eth1 igmp join 224.1.0.0 source-address '1.1.1.1' | ||
set protocols pim interface eth1 igmp join 224.1.0.0 source-address '1.1.1.2' | ||
set protocols pim interface eth1 igmp query-interval '1000' | ||
set protocols pim interface eth1 igmp query-max-response-time '30' | ||
set protocols pim interface eth1 igmp version '2' | ||
set protocols pim interface eth2 | ||
set protocols pim rp address 172.16.255.1 group '224.0.0.0/4' | ||
set service ntp server 0.pool.ntp.org | ||
set service ntp server 1.pool.ntp.org | ||
set service ntp server 2.pool.ntp.org | ||
set system domain-name 'vyos.io' | ||
set system host-name 'vyos' | ||
set system login user vyos authentication encrypted-password '$6$2Ta6TWHd/U$NmrX0x9kexCimeOcYK1MfhMpITF9ELxHcaBU/znBq.X2ukQOj61fVI2UYP/xBzP4QtiTcdkgs7WOQMHWsRymO/' | ||
set system login user vyos authentication plaintext-password '' | ||
set system console device ttyS0 speed '115200' |
Oops, something went wrong.