aci_fabric_node: Fix idempotency (with newer ACI ?) (#43848)

This commit is contained in:
Dag Wieers 2018-08-09 02:27:22 +02:00 committed by GitHub
parent 02b5057392
commit ddf3ba01d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -251,7 +251,10 @@ def main():
name=switch, name=switch,
nodeId=node_id, nodeId=node_id,
podId=pod_id, podId=pod_id,
rn='nodep-{0}'.format(serial), # NOTE: Originally we were sending 'rn', but now we need 'dn' for idempotency
# FIXME: Did this change with ACI version ?
dn='uni/controller/nodeidentpol/nodep-{0}'.format(serial),
# rn='nodep-{0}'.format(serial),
role=role, role=role,
serial=serial, serial=serial,
) )