Thanks for sharing your plan.I would like to create a Linux bond of all the NICs of my machine, create a Linux bridge on top of it, and copy my original mac/IP/routing to that bridge. Can you share a policy that would let me express this desired state?
--Regards,Dan.On Thu, Dec 16, 2021 at 11:24 AM Alona Paz <alkaplan@redhat.com> wrote:Hi all,The kubevirt networking team is working on a new cmd/lib tool to generate dynamic NMState configurations.When networking configuration for a cluster is needed and all the details are common between the nodes in the cluster a NMState yaml configuration is enough.
Problems arise when some of the network configuration details are different between nodes and depend on the current node network state.
For that a different NMState yaml configuration needs to be generated per node and that's not convenient for big clusters and also at scale up scenarios.
The NMPolicy goal is to solve this problem.
Given a node network state and a network configuration policy (common to the cluster), the NMPolicy tool will generate a node specific desired network state.
NMPolicy was already integrated to kubernetes-nmstate and a usage example can be found here.
CLI Usage example -
Simulated --help output
Creating a new bridge with the base interface as its port. The bridge will get the mac address of the base interface.
Output of - nmstatectl show | nmpolicyctl gen policy.yaml
--~/.cache/nmpolicy/cache.yaml (the default captured states output file)
Stdout (the desired state to be applied by nmstatectl)
For more details, please review the design doc and share your feedback about it.Thanks,Alona.
You received this message because you are subscribed to the Google Groups "kubevirt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubevirt-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubevirt-dev/CAJOMPacxNke2pJnjJ1PKxz0f%3Dmm%3DrNpnWqZwAMtNXf7f0HXL_Q%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "kubevirt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubevirt-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubevirt-dev/CAHOEP56e4zhHPtP8rZp%3D%3DZ_zf_XyTb-hOB%2BvVOiwMX%3DniqRNrg%40mail.gmail.com.
CNV networking Senior Software Engineer