Thanks, now is working.
To recap: These steps fix the issue.
git clone https://github.com/CiscoDevNet/ydk-gen.git -b 0.7.2
cd ydk-gen
pip install -r requirements.txt
./generate --libydk
sudo make -C gen-api/cpp/ydk/build install
# install ydk-py
sudo pip install ydk ydk-models-cisco-ios-xe
... View more
That make " ./generate.py --libydk" working"
But:
(venv27) Mochi$sudo make -C gen-api/cpp/ydk install
make: *** No rule to make target `install'. Stop.
... View more
ochi$virtualenv venv
Using base prefix '/Library/Frameworks/Python.framework/Versions/3.6'
New python executable in /YANG/venv/bin/python3.6
Also creating executable in /YANG/venv/bin/python
Installing setuptools, pip, wheel...done.
Mochi$source venv/bin/activate
(venv) Mochi$cd venv
(venv) Mochi$git clone https://github.com/CiscoDevNet/ydk-gen.git -b 0.7.2
Cloning into 'ydk-gen'...
remote: Counting objects: 15932, done.
remote: Compressing objects: 100% (87/87), done.
remote: Total 15932 (delta 42), reused 61 (delta 31), pack-reused 15813
Receiving objects: 100% (15932/15932), 6.57 MiB | 5.24 MiB/s, done.
Resolving deltas: 100% (11220/11220), done.
Note: checking out '55dccd546f93e588d08bd4a19ccc59b9a1a3db37'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
(venv) Mochi$cd ydk-gen
(venv) Mochi$./generate --libydk
-bash: ./generate: No such file or directory
(venv) Mochi$./generate.py --libydk
Traceback (most recent call last):
File "./generate.py", line 34, in <module>
from git import Repo
ModuleNotFoundError: No module named 'git'
(venv) Mochi$pip install git
Collecting git
Could not find a version that satisfies the requirement git (from versions: )
No matching distribution found for git
(venv) Mochi$
... View more
1. https://dnac.internaldomain/dna/intent/api/v1/network-health is not a valid URL
2. Even we have the right URL like - https://sandboxdnac.cisco.com/dna/intent/api/v1/network-health, we still need to have the right role to execute this API.
You can try APIs from DNAC platform:
https://sandboxdnac.cisco.com/dna/platform/app/consumer-portal?module-view=apis
... View more
Do you have any simple script to play your not working audio file to see if it works with other script ?
001049: *Aug 7 13:13:48.676: //5//MSM :/ms_associateDone: First Buf Play at 00:02:59.155 of 01.au 001050: *Aug 7 13:13:48.676: //5//MSM :/ms_associateDone: 00:02:59.155, Tstart(ply: iSndDly 0) 001051: *Aug 7 13:13:48.679: //5//MSM :/ms_handle_stream_timer: >>ms_start_play() 001052: *Aug 7 13:13:48.679: //5//MSM :/ms_start_play: 00:02:59.158, Tstart(ply: i_dly 4) 001053: *Aug 7 13:13:48.723: //5//MSM :/ms_cbf: (p 00:02:59.202 z) 001054: *Aug 7 13:13:48.723: //5//MSM :/ms_stop_play: mgdTstop at 00:02:59.202 (cause MS_STOP_COMPLETE) 001055: *Aug 7 13:13:48.723: //5//MSM :/ms_stop_play: Play Stopped at 00:02:59.202
Looks like file was played but start and stop immediately
... View more
I think this is something to do with connectivity, if we put the device under the same network with VPN that could work ? I was able to add but since my device is in my lab, Sandbox DNAC did add it but saying unreachable.
... View more
I think if you reserve hardware lab you maybe able to add device on APIC-EM or DNAC. Not sure about ACI. Why don't you just reserve one to try it out https://developer.cisco.com/site/sandbox/
... View more
please use the latest. The API key was updated after that and currently active key is “AKCp5bAt5nK9nJBeq1nFe3Ywntfokny8f1oHeTYpLrGCYG9iv9P3gkX9KFj6wzHcQoLkwP5Pa”
... View more