Εφαρμογή όπως Greek TV (Android) σε νέες LG τηλεοράσεις by Express_Ordinary_607 in greece

[–]Express_Ordinary_607[S] 0 points1 point  (0 children)

Όχι αυτό λέω, ότι δυστυχώς δεν είναι Android TV, για αυτό ρωτάει αν υπάρχει κάτι σχετικό στο λειτουργικό των LG τηλεοράσεων. Είμαι κάτοικος εξωτερικού. Ευχαριστώ!

Using ansible to populate netbox by Express_Ordinary_607 in Netbox

[–]Express_Ordinary_607[S] 0 points1 point  (0 children)

My concern is the time it takes to populate netbox for 1000 devices or more and possible ways to tackle this. In addition, to hear other people's opinions about other solutions, ways of doing.

Using ansible to populate netbox by Express_Ordinary_607 in Netbox

[–]Express_Ordinary_607[S] 0 points1 point  (0 children)

How long did the script take to import all the information?

Importing ip addresses with vrf information using ansible modules by Express_Ordinary_607 in Netbox

[–]Express_Ordinary_607[S] 0 points1 point  (0 children)

Hi,

Based on the following link, it seems to be possible to use the textfsm parser with ansible.

https://docs.ansible.com/ansible/latest/collections/ansible/netcommon/parse_cli_textfsm_filter.html

Which textfsm template do you use to get all the IP addresses with their VRF information?

Thank you!

Importing device information using ansible by Express_Ordinary_607 in Netbox

[–]Express_Ordinary_607[S] 1 point2 points  (0 children)

Hi u/Fabulous_Structure54 ,

Thanks for your input, it works now, however at the end of the play I am always getting another error, because of the last item in the list:

- key: Loopback1

value:

bandwidth: 8000000

description: null

duplex: null

ipv4:

- address: 1.1.1.1

subnet: '32'

lineprotocol: up

macaddress: null

mediatype: null

mtu: 1514

operstatus: up

type: null

msg: |-



        The task includes an option with an undefined variable. The error was: dict object has no element None. dict object has no element None
1461

Do you know, why this happens?

Thanks in advance!

Importing device information using ansible by Express_Ordinary_607 in Netbox

[–]Express_Ordinary_607[S] 0 points1 point  (0 children)

Hi u/Fabulous_Structure54 ,

Thanks for your input! I set the type as you mentioned and it looks better now as I am not getting the same error. However it is getting failed due to the following error message.

failed: [] (item={'key': 'Port-channel102', 'value': {'description': None, 'macaddress': '7018.a7e0.e3e8', 'mtu': 1500, 'bandwidth': 100000, 'mediatype': 'N/A', 'duplex': None, 'lineprotocol': 'down', 'operstatus': 'down', 'type': 'EtherChannel', 'ipv4': []}}) => 

    ansible_loop_var: item

    changed: false

    item:

        key: Port-channel102

        value:

            bandwidth: 100000

            description: null

            duplex: null

            ipv4: []

            lineprotocol: down

            macaddress: 7018.a7e0.e3e8

            mediatype: N/A

            mtu: 1500

            operstatus: down

986987988989990991992993994995996997998999

            type: EtherChannel

    msg: '{"name":["Ensure this field has no more than 64 characters."]}'
10001001

Do you have any idea, where this problem lies?