MitchDrage commented on code in PR #14841:
URL: https://github.com/apache/cloudstack/pull/14841#discussion_r4686870797


##########
systemvm/test/frr-bgppeers-ipv4-ipv6.conf:
##########
@@ -14,9 +14,12 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
+frr version 8.4.4
 frr defaults traditional
 hostname r-1001-VM
 service integrated-vtysh-config
+ip forwarding
+ipv6 forwarding

Review Comment:
   Yes, they're needed once changes go through frr-reload. zebra shows the 
kernel's forwarding state in the running config, so an IPv4-only router has no 
ipv6 forwarding there, and frr-reload deletes any running line the file doesn't 
state.
   When I reloaded main's file unchanged on 8.4.4, net.ipv6.conf.all.forwarding 
went from 0 to 1.
   The router already wrote the IPv6 line from the kernel's setting, and I've 
changed it to do the same for IPv4.
   This fixture is just the dual-stack snapshot for test_full_frr_conf. The 
behaviour itself is covered by two new tests in TestCsBgpPeersFrr, 
test_operator_states_forwarding_off_from_kernel and ..._on_from_kernel.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to