quattor / configuration-modules-core

Node Configuration Manager Components for Everyone
www.quattor.org
Other
7 stars 56 forks source link

ncm-network: nmstate backend bonding option 'arp_ip_target' needs to be a string. #1639

Closed aka7 closed 10 months ago

aka7 commented 11 months ago

currently arp_ip_target is a list, nmstate doesn't like this, throws following error Provide file is not valid NetworkState or NetworkPolicy: invalid type: sequence, expected a string arp_ip_target in nmstate appears to be string, looks like nmstate accepts comma separated ip as string. so instead of

  link-aggregation:
    mode: active-backup
    options:
      arp_ip_target:
      - 1.1.1.1

it should be

  link-aggregation:
    mode: active-backup
    options:
      arp_interval: '8000'
      arp_ip_target:  '1.1.1.1, 1.1.2.1'
etc.
  link-aggregation:
    mode: active-backup
    options:
      arp_ip_target:
      - 1.1.1.1