F5Networks / f5-appsvcs-templates

F5 BIG-IP Application Service Templates (FAST)
Apache License 2.0
32 stars 13 forks source link

radius-accounting monitor type not supported #137

Open AnthonyF5 opened 10 months ago

AnthonyF5 commented 10 months ago

Is your feature request related to a problem? Please describe.

Problem creating a monitor of the type radius-monitoring. This is supported in the UI and TMSH but not in the AS3 schema.

Error from AS3 curl, only radius is supported:

monitorType: should be equal to one of the allowed values 
[\"dns\",\"external\",\"ftp\",\"http\",\"https\",\"http2\",\"icmp\",\"inband\",\"ldap\",\"mysql\",\"postgresql\",\"radius\",\"sip\",\"smtp\",\"tcp\",\"tcp-half-open\",\"udp\"]"]

Describe the solution you'd like

Ability to create a radius-accounting monitor type with AS3.

Example of the monitor type radius-accounting:

ltm monitor radius-accounting /Common/radisu_monitor { 
    debug no
    defaults-from /Common/radius_accounting
    description "some description"
    interval 30
    nas-ip-address 10.10.10.10
    secret <removed>
    time-until-up 0
    timeout 31
    username any
 }

Wanted syntax:

        "monitorRADIUS_nonDefault1": {
          "class": "Monitor",
          "monitorType": "radius-accounting",
          "targetAddress": "192.0.2.17",
          "targetPort": 1812,
          "interval": 10,
          "upInterval": 15,
          "timeUntilUp": 20,
          "timeout": 46,
          "username": "Adm-nM+nkey",
          "passphrase": {
            "ciphertext": "ZjVmNQ==",
            "protected": "eyJhbGciOiJkaXIiLCJlbmMiOiJub25lIn0",
            "ignoreChanges": true
          },
          "secret": {
            "ciphertext": "ZjVmNQ==",
            "protected": "eyJhbGciOiJkaXIiLCJlbmMiOiJub25lIn0",
            "ignoreChanges": true
          },
          "nasIpAddress": "198.0.2.20"
        },

Describe alternatives you've considered

The two options are TMSH and UI to create. The client wants to use DO and AS3 as the standard automation.

Additional context

AS3 Version: v3.41.0