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

Fri, Apr 24

yousra added a project to T2319: Automate GRE tunnel failover on CARP master switch: 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 master switch: 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
yousra updated the task description for T2276: Automate CARP VIP MAC reassignment using devd and OVH API.
Mar 22 2026, 15: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 22 2026, 15:25 · 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:24 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels

Mar 20 2026

dereckson added a comment to T2276: Automate CARP VIP MAC reassignment using devd and OVH API.

OVH API credentials published to apps/network/carp-hyper-001-switch path,
under application_key, application_secret, consumer_key keys.

Mar 20 2026, 23:11 · 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: D4016: Provision Vault policy for routers.
Mar 20 2026, 22:54 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels
dereckson moved T1695: Write a Terminator plugin to resolve hashes from Finished to WIP on the User-Duranzed board.

@Duranzed Can you open the issue with Terminator maintainers, so we can determine the best course of action for the plugin to load our resolve-hash library?

Mar 20 2026, 21:22 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash
dereckson moved T1695: Write a Terminator plugin to resolve hashes from Backlog to To report on the upstream board.
Mar 20 2026, 18:27 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash
dereckson added a project to T1695: Write a Terminator plugin to resolve hashes: upstream.

Discussion to have with the upstream to understand how to safely load a Python library.

Mar 20 2026, 18:27 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash
dereckson reopened T1695: Write a Terminator plugin to resolve hashes as "Open".
Mar 20 2026, 17:44 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash

Mar 17 2026

dereckson added a comment to T2276: Automate CARP VIP MAC reassignment using devd and OVH API.

If we trigger the script through devd, we can provide a .conf configuration file in /usr/local/etc/devd.

Mar 17 2026, 20:30 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels
yousra added projects to T2276: Automate CARP VIP MAC reassignment using devd and OVH API: Python, Monitoring and reporting.
Mar 17 2026, 13:40 · Python, Drake network, Servers, Monitoring and reporting, Secure HA tunnels

Mar 4 2026

dereckson edited the content of Python track.
Mar 4 2026, 07:32 · Python

Mar 3 2026

Duranzed moved T1695: Write a Terminator plugin to resolve hashes from WIP to Finished on the User-Duranzed board.
Mar 3 2026, 13:11 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash
Duranzed closed T1695: Write a Terminator plugin to resolve hashes as Resolved.

resolved here
Ref T1695

Mar 3 2026, 13:11 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash

Mar 2 2026

yousra added a comment to T2266: Improve Python requirements for Operations repository.

I tried pip install salt==3006.8, but it brings the same strange issue : AttributeError: cannot access submodule 'cmdmod' of module 'salt.modules' (most likely due to a circular import)
(same in WindRiver)

Mar 2 2026, 19:39 · Python, Servers, Regression, Salt

Feb 26 2026

dereckson added a comment to T2266: Improve Python requirements for Operations repository.

@yousra I think pip install salt==3006.8 should work, with dependencies.

Feb 26 2026, 00:45 · Python, Servers, Regression, Salt
dereckson added a comment to T2266: Improve Python requirements for Operations repository.

Salt dependencies are reasonable enough to add to requirements.txt:

Feb 26 2026, 00:11 · Python, Servers, Regression, Salt

Feb 25 2026

dereckson moved T1695: Write a Terminator plugin to resolve hashes from Next to In progress on the Resolve hash board.
Feb 25 2026, 23:44 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash
dereckson added a comment to T2266: Improve Python requirements for Operations repository.

If Salt dependencies are the issue, a possibility is to define requirements from https://github.com/saltstack/salt/tree/master/requirements

Feb 25 2026, 23:37 · Python, Servers, Regression, Salt
dereckson claimed T2266: Improve Python requirements for Operations repository.
Feb 25 2026, 23:35 · Python, Servers, Regression, Salt
dereckson raised the priority of T2266: Improve Python requirements for Operations repository from Normal to High.
Feb 25 2026, 17:28 · Python, Servers, Regression, Salt
dereckson triaged T2266: Improve Python requirements for Operations repository as Normal priority.
Feb 25 2026, 17:28 · Python, Servers, Regression, Salt

Feb 23 2026

dereckson added a revision to T1695: Write a Terminator plugin to resolve hashes: D3976: [WIP] Add plugin for terminator to resolve hashes.
Feb 23 2026, 18:14 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash
Duranzed added a comment to T1695: Write a Terminator plugin to resolve hashes.

I came up with this solution which seems to work as intended :

Feb 23 2026, 15:45 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash

Feb 20 2026

Duranzed moved T1695: Write a Terminator plugin to resolve hashes from Backlog to WIP on the User-Duranzed board.
Feb 20 2026, 13:48 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash
Duranzed added a project to T1695: Write a Terminator plugin to resolve hashes: User-Duranzed.
Feb 20 2026, 13:48 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash

Feb 19 2026

Duranzed claimed T1695: Write a Terminator plugin to resolve hashes.
Feb 19 2026, 09:21 · upstream, User-Duranzed, Python, good-first-issue, Resolve hash