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

pull/43854/head
Dag Wieers 6 years ago committed by GitHub
parent 02b5057392
commit ddf3ba01d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,
) )

Loading…
Cancel
Save