nm-setting-bond: only validate '[up|down]delay' option when miimon is enabled

Just looking at the hashtable entry of 'updelay' and 'downdelay' options
is wrong, we have to inspect their values to check if they're actually enabled
or not.

Otherwise bond connections with valid settings will fail when created:

$ nmcli c add type bond ifname bond99 bond.options miimon=0,updelay=0,mode=0
Error: Failed to add 'bond-bond99' connection: bond.options: 'updelay' option requires 'miimon' option to be set

Also add unit test for bond options when miimon=0 and [up|down]delay=0

https://bugzilla.redhat.com/show_bug.cgi?id=1805184

Fixes: d595f784 ('libnm: add libnm/libnm-core (part 1)')
19 jobs for ac/fix_miimon_updelay in 0 seconds (queued for 9 seconds)
Status Job ID Name Coverage
  Test
canceled #1700128
allowed to fail
checkpatch

manual #1700134
allowed to fail manual
t_centos:7.5.1804
manual #1700135
allowed to fail manual
t_centos:7.6.1810
manual #1700141
allowed to fail manual
t_debian:10
manual #1700140
allowed to fail manual
t_debian:9
manual #1700143
allowed to fail manual
t_debian:sid
manual #1700142
allowed to fail manual
t_debian:testing
manual #1700129
allowed to fail manual
t_fedora:28
manual #1700130
allowed to fail manual
t_fedora:29
canceled #1700131
t_fedora:30

manual #1700132
allowed to fail manual
t_fedora:31
manual #1700133
allowed to fail manual
t_fedora:rawhide
manual #1700136
allowed to fail manual
t_ubuntu:16.04
manual #1700137
allowed to fail manual
t_ubuntu:18.04
manual #1700139
allowed to fail manual
t_ubuntu:devel
manual #1700138
allowed to fail manual
t_ubuntu:rolling
 
  External
failed https://desktopqe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/beaker-NetworkManager-gitlab-trigger-code-upstream/1170/

canceled https://desktopqe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/beaker-NetworkManager-gitlab-trigger-code-upstream/1170/

00:09:03

failed https://desktopqe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/beaker-NetworkManager-gitlab-trigger-code-upstream/1170/