GithubHelp home page GithubHelp logo

add get_endpoint_byname about pyise-ers HOT 4 OPEN

falkowich avatar falkowich commented on July 3, 2024
add get_endpoint_byname

from pyise-ers.

Comments (4)

E-ThanG avatar E-ThanG commented on July 3, 2024 1

I can do that. I have a TAC case open for the behavior of the portalUser attribute though, it seems to lose the value for reasons that I haven't yet determined. So its usefulness may be limited.

Regarding GET by name, I just tested (Correctly this time). That works fine.

However, if you wanted to modify that value you're out of luck. Attempting a PUT to the name attribute returns 200, but the value isn't actually updated.

https://{{ise_ers_api_host}}:9060/ers/config/endpoint/endpoint-id
Body:
'{ "ERSEndPoint": { "name": "name2" } }'

Response:
'{ "UpdatedFieldsList": { "updatedField": [] } }'

from pyise-ers.

E-ThanG avatar E-ThanG commented on July 3, 2024

I did a little tinkering with this a while ago. For some reason the name attribute worked oddly for me, maybe I should do more testing. IIRC get by name was fine, but the attribute wouldn't take assigned values and remained the same as the MAC address.

I added a function to get endpoints filtered by the portalUser attribute and use that instead. Maybe add that to the library too?

from pyise-ers.

falkowich avatar falkowich commented on July 3, 2024

I will check this out as soon as #164 is done

--
Falk

from pyise-ers.

falkowich avatar falkowich commented on July 3, 2024

Hi,

I added a function to get endpoints filtered by the portalUser attribute and use that instead. Maybe add that to the library too?

That seems like it would be a great addition, I would be really happy with a PR. Specially now when I have "chilled up with the changes" :)

--
Regads Falk

from pyise-ers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.