MCPcopy Create free account
hub / github.com/Community-VyProjects/VyManager / execute_batch

Method execute_batch

backend/vyos_service.py:244–277  ·  view source on GitHub ↗

Execute a batch of operations using configure_multiple_op. If commit-confirm is enabled for this instance (and the VyOS version supports it), the batch is executed with a rollback timer automatically. No router changes are needed — the feature is fully transparent.

(
        self,
        batch: Union[
            EthernetBatchBuilder,
            DummyBatchBuilder,
            InputBatchBuilder,
            FirewallGroupsBatchBuilder,
            NATBatchBuilder,
            DHCPBatchBuilder,
            WireGuardBatchBuilder,
            SystemPerformanceBatchBuilder,
            LoopbackBatchBuilder,
            MacsecBatchBuilder,
            OpenvpnBatchBuilder,
            PppoeBatchBuilder,
        ],
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 5

configure_multiple_opMethod · 0.80
emitMethod · 0.80
is_emptyMethod · 0.45
get_operationsMethod · 0.45

Tested by

no test coverage detected