05-10-2017 04:21 AM
I have read the acitoolkit documentation at http://acitoolkit.readthedocs.io/en/latest/ but unfortunately I couldn't find any information regarding creating a Virtual PortChannel.
Suggestions / tips are highly appreciated. Thanks!
06-26-2017 04:01 AM
Hi,
I also have the same problem, I found this:
https://github.com/datacenter/acitoolkit/blob/master/samples/aci-demo-portchannel.py
It works for standard PC but not for VPC and I also wasn't able to find how to create VPC that is associated to VMM domain.
Please help,
Arik
07-06-2017 01:28 PM
Yep.
saw this in the docs.
In the acitoolkit, VPCs are also represented by the PortChannel class.
however like you said, the PCs are created from this attribute but nothing on VPC.
07-07-2017 07:37 AM
I tried to use the API inspector,.
Using the GUI is does create VPC but trying to send the same API call creates PC and not VPC
06-30-2017 10:48 AM
Same here,
from the docs, its "seems" as if we use.. from acitoolkit.acitoolkit import interface, we should see it in (dir) I can create PCs all day long however missing that 1 little piece.
07-27-2017 02:05 AM
Hi,
Did you find an answer to this issue?
Thanks,
Arik
07-30-2017 06:01 PM
nope
02-02-2018 01:27 PM
I think I found the solution.
If you take the port channel example from the acitoolkit:
https://github.com/datacenter/acitoolkit/blob/master/samples/aci-demo-portchannel.py
And do in the end:
resp = session.push_to_apic(pc.get_url()[0],
pc.get_json()[0])
if not resp.ok:
print('%% Error: Could not push configuration to APIC')
print(resp.text)
resp = session.push_to_apic(pc.get_url()[1],
pc.get_json()[1])
if not resp.ok:
print('%% Error: Could not push configuration to APIC')
print(resp.text)
It works....
01-29-2018 01:08 PM
Hi,
Any news regarding this issue?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide