The old version, along with baseline.py in the same dir, were not working.
Customer and I were getting these errors:
python3 baseline.py
Baselining APIC Simulator for Learning Labs
Setting up Fabric Nodes
Traceback (most recent call last):
File "/home/xxxxx/xxxxx/ACI/ACI_labs/aci-learning-labs-code-samples/apic_fabric_setup/baseline.py", line 11, in
import startup_script
File "/home/xxxxx/xxxxx/ACI/ACI_labs/aci-learning-labs-code-samples/apic_fabric_setup/startup_script.py", line 43, in
md.commit(c)
File "/home/xxxxx/.venv/acivenv/lib/python3.11/site-packages/cobra/mit/access.py", line 66, in commit
return self._accessImpl.post(configObject)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxxxx/.venv/acivenv/lib/python3.11/site-packages/cobra/internal/rest/accessimpl.py", line 182, in post
return self.__parseError(rsp, CommitError, rsp.status_code)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxxxx/.venv/acivenv/lib/python3.11/site-packages/cobra/internal/rest/accessimpl.py", line 240, in __parseError
parseXMLError(rsp.text, errorClass, httpCode)
File "/home/xxxxx/.venv/acivenv/lib/python3.11/site-packages/cobra/mit/xmlcodec.py", line 20, in parseXMLError
raise errorClass(int(errorCode), errorStr, httpCode)
cobra.mit.request.CommitError: Create-only and naming props cannot be modified after creation, class=fabricNodeIdentP, prop=nodeId (acivenv)
The old version, along with baseline.py in the same dir, were not working.
Customer and I were getting these errors:
python3 baseline.py Baselining APIC Simulator for Learning Labs Setting up Fabric Nodes Traceback (most recent call last): File "/home/xxxxx/xxxxx/ACI/ACI_labs/aci-learning-labs-code-samples/apic_fabric_setup/baseline.py", line 11, in
import startup_script
File "/home/xxxxx/xxxxx/ACI/ACI_labs/aci-learning-labs-code-samples/apic_fabric_setup/startup_script.py", line 43, in
md.commit(c)
File "/home/xxxxx/.venv/acivenv/lib/python3.11/site-packages/cobra/mit/access.py", line 66, in commit
return self._accessImpl.post(configObject)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxxxx/.venv/acivenv/lib/python3.11/site-packages/cobra/internal/rest/accessimpl.py", line 182, in post
return self.__parseError(rsp, CommitError, rsp.status_code)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxxxx/.venv/acivenv/lib/python3.11/site-packages/cobra/internal/rest/accessimpl.py", line 240, in __parseError
parseXMLError(rsp.text, errorClass, httpCode)
File "/home/xxxxx/.venv/acivenv/lib/python3.11/site-packages/cobra/mit/xmlcodec.py", line 20, in parseXMLError
raise errorClass(int(errorCode), errorStr, httpCode)
cobra.mit.request.CommitError: Create-only and naming props cannot be modified after creation, class=fabricNodeIdentP, prop=nodeId (acivenv)