It looks like there is an issue in the TransactionContextManager function used to wrap different rest calls into a transaction. When I attempt to modify an object that is created within a transaction an error message is returned.
From what I can tell when an object is updated the _meta_data['uri'] attribute incorrectly refers to the URI path of the transaction instead of the URI path of the object that will be created.
It looks like there is an issue in the TransactionContextManager function used to wrap different rest calls into a transaction. When I attempt to modify an object that is created within a transaction an error message is returned.
From what I can tell when an object is updated the _meta_data['uri'] attribute incorrectly refers to the URI path of the transaction instead of the URI path of the object that will be created.
Using the snippet below pool._meta_data['uri'] == 'https://10.10.1.202:80/mgmt/tm/transaction/1507766047230839/commands/1/' but in order to modify the object within the transaction the _meta_data['uri'] path is expected to be 'https://10.10.1.202:80/mgmt/tm/ltm/pool/pool_1/'
Code Snippet:
Error: