question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: Schemas(management_security. ssl_profiles[x].tls_versions) can be a float type as well

See original GitHub issue

Issue Summary

management_security. ssl_profiles[x].tls_versions can be either str or float. Although the provided input is correct the schema was raising warnings because float type was missed in the supported types.

Also, the description should have info that the values can be float or a string (space separated values)

image

Which component(s) of AVD impacted

eos_cli_config_gen

How do you run AVD ?

Ansible CLI (with virtual-env or native python)

Steps to reproduce

management_security:
  ssl_profiles:
    - name: test_profile
      tls_versions: 1.2


The above data-model is a valid one, which is similar to the below.

```yaml
management_security:
  ssl_profiles:
    - name: test_profile
      tls_versions: "1.2"


### Relevant log output

_No response_

### Contributing Guide

- [X] I agree to follow this project's Code of Conduct

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
ClausHolbechAristacommented, Nov 2, 2022

@gmuloc I will hold back on the pattern, since we need to enhance that feature in the schemas first. But I added examples in #2247 to make it more clear. I also added automatic type-conversion from float to str.

0reactions
gmuloccommented, Nov 2, 2022

Adding to this we could add a pattern for the string in the schema while revisiting this to check that it is a space separated list of “float like” strings

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to disable SSL protocols or specific versions of TLS on ...
You may wish to disable all SSL protocol versions or a specific TLS protocol ... Click the Client SSL profile used in the...
Read more >
Common issues when enabling TLS 1.2 - Microsoft Learn
This article provides advice for common issues that occur when you enable TLS 1.2 support in Configuration Manager.
Read more >
Configure an SSL/TLS Service Profile - Palo Alto Networks
Palo Alto Networks firewalls and Panorama use SSL/TLS service profiles to specify a certificate and the allowed protocol versions for ...
Read more >
SSL policies for SSL and TLS protocols | Load Balancing
Discover how SSL policies let you control SSL and TLS protocol features for your load balancer with this Google Cloud guide.
Read more >
Configure TLS/SSL for Apache Ranger | CDP Private Cloud
In Cloudera Manager, select Ranger, then click the Configuration tab. Under Category, select Security. Set the following properties. Table 1. Apache Ranger TLS...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found