Send netdisco-users mailing list submissions to
netdisco-users@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
netdisco-users-requ...@lists.sourceforge.net
You can reach the person managing the list at
netdisco-users-ow...@lists.sourceforge.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:
1. Re: Interface Type information through API (Oliver Gorwits)
2. Re: Limiting port control to Desciption only not available
(Oliver Gorwits)
--- Begin Message ---
Hi Saurabh
The "mode" or type of the interface as you describe it is specific to the
vendor, e.g. Cisco.
However there are some fields and API methods which can help you to work it
out.
On the /api/v1/object/device/{ip}/ports method, the "type" field will tell
you if the port is layer2 or layer3 (routed), e.g. values like "l3ipvlan"
or "l2vlan" or "ieee8023adLag" or "propVirtual" are all different modes.
On the /api/v1/object/device/{ip}/port/{port}/vlans method you can get the
list of VLANs on the port, and there is a "native" field. If there are rows
where "native" is "false" for a port, it is likely to be a "trunk" for
VLANs.
regards
Oliver.
On Fri, 1 Dec 2023 at 10:27, Saurabh Suman via netdisco-users <
netdisco-users@lists.sourceforge.net> wrote:
> Hi Team,
>
>
>
> I would like to know the interface type(ACCESS, ROUTED, TRUNK) for network
> devices.
>
>
>
> I tried the API : /api/v1/object/device/{ip}/ports.
>
>
>
> Help me to get this info
>
>
>
> Regards,
>
> Saurabh
> _______________________________________________
> Netdisco mailing list
> netdisco-users@lists.sourceforge.net
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
>
--- End Message ---
--- Begin Message ---
I have opened issue https://github.com/netdisco/netdisco/issues/1150 for
this one, it is definitely a bug.
(there is also issue https://github.com/netdisco/netdisco/issues/1145 but I
think that's a separate thing relating to discovered info from device)
On Sat, 6 Jan 2024 at 10:05, Oliver Gorwits <oli...@cpan.org> wrote:
> Hi Koen, there may well be a bug here, I'll take a look and let you know.
> Thanks for your patience!
>
> regards
> oliver.
>
> On Fri, 5 Jan 2024 at 14:34, Koen Dooms <drhn...@gmail.com> wrote:
>
>> Any one able to help me out?
>>
>> In the mean time I've worked out that for Cisco devices one just needs a
>> community string or SNMPv3 user with write capabilities to update stuff
>> thru the web GUI.
>>
>> I also noticed that writing location and contact *IS* possible when I
>> have portctl_nameonly set to true.
>>
>> Help is appreciated.
>>
>> regards,
>> Koen
>>
>>
>>
>> Op wo 20 dec 2023 om 09:58 schreef Oliver Gorwits <oli...@cpan.org>:
>>
>>> Hi alien
>>>
>>> Sorry, I guess folks are a bit busy this time of year. His smells like a
>>> bug to me. I should b able to take a look in the next two weeks
>>>
>>> Oliver.
>>>
>>> On Wed, 20 Dec 2023 at 08:35, Koen Dooms <drhn...@gmail.com> wrote:
>>>
>>>> No suggestions what might be wrong?
>>>> Much appreciated if someone could help me out.
>>>>
>>>> Regards,
>>>> Koen
>>>>
>>>> Op za 16 dec 2023 om 13:37 schreef Koen Dooms <drhn...@gmail.com>:
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm trying to limit port control via Web GUI to just change the port
>>>>> decription.
>>>>> Als per documentation, I should just add
>>>>> portctl_nameonly: true
>>>>> to the deployment.yml.
>>>>>
>>>>> When I do that, no editing icon is visible on any of the port fields
>>>>> that have the port controls feature.
>>>>>
>>>>> Also, when setting
>>>>> vlanctl: false
>>>>> does not remove the capability from the Native VLAN field.
>>>>>
>>>>> Any suggestions fixing this?
>>>>>
>>>>> Running latest NetDisco version. Never tried this on prior version.
>>>>>
>>>>> PS. Does port control require SNMP Write community or ssh credentials
>>>>> to be set?
>>>>>
>>>>> Regards,
>>>>> Koen D
>>>>>
>>>>
>>>>
>>>> --
>>>> mvg,
>>>> Koen
>>>> _______________________________________________
>>>> Netdisco mailing list
>>>> netdisco-users@lists.sourceforge.net
>>>> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
>>>
>>>
>>
>> --
>> mvg,
>> Koen
>> _______________________________________________
>> Netdisco mailing list
>> netdisco-users@lists.sourceforge.net
>> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
>
>
--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users