Comment 4 for bug 1858301

Submitter: Zuul
Branch: stable/train

commit 0f0608d4c56701d31a5356961e2e1b905d78a941
Author: Maysa Macedo <email address hidden>
Date: Sat Jan 4 23:11:05 2020 +0000

    Fix iteration over remote_ip_prefixes field

    The remote_ip_prefixes filed of a KuryrNetPolicy has the
    format: {'remote_ip_prefixes': {'pod_ip': 'np-namespace'}}.
    Right now, we're iterating over each remote_ip_prefixes
    dicts and retrieving its keys and values without fetching the
    dict items causing a ValueError. This commit fixes the
    issue by iterating over the dict items.

    Closes-bug: 1858301

    Change-Id: Ic40878a830bcc32da06c0ab2763f593595e81bf2
    (cherry picked from commit 674344b1826b4e2724b3fc397f20984fe6a8ad9c)