Salt configuration for nftables prerouting

I’m trying to configure a nftables-rule for forwarding traffic from my server to a LXC container, however, the way that the salt states module for dport renders the given value is not accepted by nftables. How should I proceed? Salt configuration: kevin-container-web-port-http: nftables.append: – family: ip – table: nat – chain: PREROUTING – priority: 100…

Details

How to insert an array into a nested JavaScript Object

The object i am currently using looks like this const data = { periods: [ { decisions: [ { bank: { name: “Team1” }, bSPositionDecisions: [ { totalInputRate: 1.0, balanceSheetPosition: { name: “asset_bc_lombard_a_onsight”, category: “LOMBARD_LOANS”, type: “ASSET” } }, { totalInputRate: 2.0, balanceSheetPosition: { name: “asset_bc_lombard_a_lt1m”, category: “LOMBARD_LOANS”, type: “ASSET” } } ] }, {…

Details