Page MenuHomeDevCentral

PythonTag
ActivePublic

Watchers

  • This project does not have any watchers.
  • View All

Details

Description

This is a project-as-a-tag.

Recent Activity

Yesterday

yousra updated the task description for T2319: Automate GRE tunnel failover on CARP PRIMARY router.
Wed, Apr 29, 17:56 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra added a revision to T2319: Automate GRE tunnel failover on CARP PRIMARY router: D4098: Add Salt reactor for GRE tunnel creation on CARP failover.
Wed, Apr 29, 17:55 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra updated the task description for T2319: Automate GRE tunnel failover on CARP PRIMARY router.
Wed, Apr 29, 12:39 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra updated the task description for T2319: Automate GRE tunnel failover on CARP PRIMARY router.
Wed, Apr 29, 12:37 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra updated the task description for T2319: Automate GRE tunnel failover on CARP PRIMARY router.
Wed, Apr 29, 12:36 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra updated the task description for T2319: Automate GRE tunnel failover on CARP PRIMARY router.
Wed, Apr 29, 12:35 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra updated the task description for T2319: Automate GRE tunnel failover on CARP PRIMARY router.
Wed, Apr 29, 12:34 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra updated the task description for T2319: Automate GRE tunnel failover on CARP PRIMARY router.
Wed, Apr 29, 12:19 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra renamed T2319: Automate GRE tunnel failover on CARP PRIMARY router from Automate GRE tunnel failover on CARP master switch to Automate GRE tunnel failover on CARP PRIMARY router.
Wed, Apr 29, 12:18 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels

Tue, Apr 28

yousra updated the task description for T2319: Automate GRE tunnel failover on CARP PRIMARY router.
Tue, Apr 28, 08:11 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra updated the task description for T2319: Automate GRE tunnel failover on CARP PRIMARY router.
Tue, Apr 28, 08:11 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra updated the task description for T2319: Automate GRE tunnel failover on CARP PRIMARY router.
Tue, Apr 28, 07:45 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels

Mon, Apr 27

Duranzed added a comment to T2319: Automate GRE tunnel failover on CARP PRIMARY router.

We noticed that Windriver is unable to ping the public IP addresses of router-002 and router-003. However, GRE tunnel creation is successful, and tunnel connectivity works with router-002, although pinging its public IP is still unsuccessful.

Mon, Apr 27, 15:10 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
Duranzed added a comment to T2319: Automate GRE tunnel failover on CARP PRIMARY router.

When creating a GRE tunnel to the alias IP of ysul as an endpoint the tunnel is unpingable however when creating the GRE tunnel using the public IP of ysul, GRE tunnel responds well to ping.
I suspect that the problem might come from using an alias IP as GRE endpoint that might cause this as it suggest encapsulation/decapsulation issues

Mon, Apr 27, 12:37 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels

Sun, Apr 26

yousra updated the task description for T2319: Automate GRE tunnel failover on CARP PRIMARY router.
Sun, Apr 26, 19:05 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra updated the task description for T2319: Automate GRE tunnel failover on CARP PRIMARY router.
Sun, Apr 26, 19:03 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra updated the task description for T2319: Automate GRE tunnel failover on CARP PRIMARY router.
Sun, Apr 26, 19:02 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra added a comment to T2319: Automate GRE tunnel failover on CARP PRIMARY router.

I created and tested a Salt reactor that listens for the carp/master event sent by the routers. For now, the reactor only runs a test command on Ysul and Windriver to confirm that the event is correctly received and that the master can trigger actions on those hosts.

Sun, Apr 26, 18:19 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra updated the task description for T2319: Automate GRE tunnel failover on CARP PRIMARY router.
Sun, Apr 26, 17:24 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra updated the task description for T2319: Automate GRE tunnel failover on CARP PRIMARY router.
Sun, Apr 26, 16:52 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra updated the task description for T2319: Automate GRE tunnel failover on CARP PRIMARY router.
Sun, Apr 26, 14:34 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra updated the task description for T2319: Automate GRE tunnel failover on CARP PRIMARY router.
Sun, Apr 26, 14:21 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra added a comment to T2319: Automate GRE tunnel failover on CARP PRIMARY router.

Test to validate Salt event emission and reception on the master :

Sun, Apr 26, 14:19 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra updated the task description for T2319: Automate GRE tunnel failover on CARP PRIMARY router.
Sun, Apr 26, 14:03 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra updated the task description for T2319: Automate GRE tunnel failover on CARP PRIMARY router.
Sun, Apr 26, 14:00 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra updated the task description for T2319: Automate GRE tunnel failover on CARP PRIMARY router.
Sun, Apr 26, 13:53 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra updated the task description for T2319: Automate GRE tunnel failover on CARP PRIMARY router.
Sun, Apr 26, 13:52 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels

Fri, Apr 24

yousra added a project to T2319: Automate GRE tunnel failover on CARP PRIMARY router: Monitoring and reporting.
Fri, Apr 24, 08:28 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels
yousra added a project to T2276: Automate CARP VIP MAC reassignment using devd and OVH API: Python.
Fri, Apr 24, 08:27 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra added projects to T2319: Automate GRE tunnel failover on CARP PRIMARY router: Drake network, Salt, Python.
Fri, Apr 24, 08:26 · Monitoring and reporting, Python, Salt, Drake network, Secure HA tunnels

Thu, Apr 16

dereckson moved T2266: Improve Python requirements for Operations repository from Backlog to Operations CI/CD on the Salt board.
Thu, Apr 16, 10:38 · Python, Servers, Regression, Salt

Mar 24 2026

yousra updated the task description for T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
Mar 24 2026, 16:26 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra updated the task description for T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
Mar 24 2026, 16:17 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels
dereckson added a subtask for T2276: Automate CARP VIP MAC reassignment using devd and OVH API: T2290: Installation of CARP switch Python dependencies via Salt.
Mar 24 2026, 15:27 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra updated the task description for T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
Mar 24 2026, 14:08 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels
dereckson added a revision to T2276: Automate CARP VIP MAC reassignment using devd and OVH API: D4027: Install dependencies to register MAC address to ISP.
Mar 24 2026, 13:42 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra updated the task description for T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
Mar 24 2026, 13:39 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels

Mar 23 2026

yousra updated the task description for T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
Mar 23 2026, 23:12 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra updated the task description for T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
Mar 23 2026, 23:12 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels

Mar 22 2026

dereckson updated the task description for T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
Mar 22 2026, 23:47 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels
dereckson added a comment to T2276: Automate CARP VIP MAC reassignment using devd and OVH API.

Ah, that's now what we need, nice for the script!

Mar 22 2026, 23:43 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra added a comment to T2276: Automate CARP VIP MAC reassignment using devd and OVH API.

The file /usr/local/etc/devd/carp.conf :

Mar 22 2026, 21:33 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels
dereckson added a comment to T2276: Automate CARP VIP MAC reassignment using devd and OVH API.

You can directly use variables in the action to pass interface and state with $subsystem and $type

Mar 22 2026, 21:13 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra added a comment to T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
notify 0 {
    match "system" "CARP";
    match "subsystem" "[0-9]+@[0-9a-z.]+";
    match "type" "(MASTER|BACKUP)";
    action "/usr/local/scripts/carp-test.sh";
};
Mar 22 2026, 20:24 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels
dereckson added a comment to T2276: Automate CARP VIP MAC reassignment using devd and OVH API.

For all CARP external documentation, I think I've found the threshold where information is outdated in that man page:

Mar 22 2026, 17:46 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels
dereckson added a comment to T2276: Automate CARP VIP MAC reassignment using devd and OVH API.

According carp(4) (man carp) examples section, the name has changed.

Mar 22 2026, 17:43 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra added a comment to T2276: Automate CARP VIP MAC reassignment using devd and OVH API.

@dereckson I first tried to redefine the devd rule by matching specific IFNET event types such as LINK_UP, LINK_DOWN, UP and DOWN, but none of them were triggered during CARP state changes in my tests.

Mar 22 2026, 17:11 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels
dereckson added a comment to T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
notify 0 {
    match "system" "IFNET";
    match "subsystem" "vmx1";
    action "logger CARP state change detected";
};
Mar 22 2026, 16:32 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra added a comment to T2276: Automate CARP VIP MAC reassignment using devd and OVH API.

A dedicated devd file was placed in /usr/local/etc/devd because this directory is usually used for custom configurations added by administrators, while /etc/devd contains the default system rules from FreeBSD. It makes the setup cleaner, avoids mixing custom logic with system configuration, and makes future maintenance or upgrades easier.

Mar 22 2026, 15:48 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra updated the task description for T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
Mar 22 2026, 15:28 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels