ONVIF:...erfaces(3pm)

πŸ“¦
version 1.36.37 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

ONVIF::Device::Elements::SetNetworkInterfaces β€” that's the whole name bestie, and no, it is not short, but it is iconic. This page is ONVIF:...erfaces(3pm) from the User Contributed Perl Documentation, and it's all about this one little Perl class. πŸ¦‹


✨ DESCRIPTION ✨

Okay so, real talk: this is a Perl data type class. Not a whole framework, not a service, just a class. It exists to represent one specific XML Schema defined element, and that element is called SetNetworkInterfaces.

Which namespace does it live in? This one, exactly:

http://www.onvif.org/ver10/device/wsdl

That's it. That's the job. It's giving "I do one thing and I do it well." πŸ’…


πŸŽ€ PROPERTIES πŸŽ€

These are the properties you can reach with the get_PROPERTY / set_PROPERTY methods. Two of them, both cute:

  • InterfaceToken β€” get it and set it like this:
$element->set_InterfaceToken($data);
$element->get_InterfaceToken();
  • NetworkInterface β€” same energy, different property:
$element->set_NetworkInterface($data);
$element->get_NetworkInterface();

πŸ’… METHODS πŸ’…

new

Constructor time, bestie. You call it like this:

my $element = ONVIF::Device::Elements::SetNetworkInterfaces->new($data);

And here's the tea: you can pass it a data structure. This is what that structure may look like β€” every key, every nested thing, exactly as written, no cap:

        {
          InterfaceToken => $some_value, # ReferenceToken
          NetworkInterface =>  { # ONVIF::Device::Types::NetworkInterfaceSetConfiguration
            Enabled =>  $some_value, # boolean
            Link =>  { # ONVIF::Device::Types::NetworkInterfaceConnectionSetting
              AutoNegotiation =>  $some_value, # boolean
              Speed =>  $some_value, # int
              Duplex => $some_value, # Duplex
            },
            MTU =>  $some_value, # int
            IPv4 =>  { # ONVIF::Device::Types::IPv4NetworkInterfaceSetConfiguration
              Enabled =>  $some_value, # boolean
              Manual =>  { # ONVIF::Device::Types::PrefixedIPv4Address
                Address => $some_value, # IPv4Address
                PrefixLength =>  $some_value, # int
              },
              DHCP =>  $some_value, # boolean
            },
            IPv6 =>  { # ONVIF::Device::Types::IPv6NetworkInterfaceSetConfiguration
              Enabled =>  $some_value, # boolean
              AcceptRouterAdvert =>  $some_value, # boolean
              Manual =>  { # ONVIF::Device::Types::PrefixedIPv6Address
                Address => $some_value, # IPv6Address
                PrefixLength =>  $some_value, # int
              },
              DHCP => $some_value, # IPv6DHCPConfiguration
            },
            Extension =>  { # ONVIF::Device::Types::NetworkInterfaceSetConfigurationExtension
              Dot3 =>  { # ONVIF::Device::Types::Dot3Configuration
              },
              Dot11 =>  { # ONVIF::Device::Types::Dot11Configuration
                SSID => $some_value, # Dot11SSIDType
                Mode => $some_value, # Dot11StationMode
                Alias => $some_value, # Name
                Priority => $some_value, # NetworkInterfaceConfigPriority
                Security =>  { # ONVIF::Device::Types::Dot11SecurityConfiguration
                  Mode => $some_value, # Dot11SecurityMode
                  Algorithm => $some_value, # Dot11Cipher
                  PSK =>  { # ONVIF::Device::Types::Dot11PSKSet
                    Key => $some_value, # Dot11PSK
                    Passphrase => $some_value, # Dot11PSKPassphrase
                    Extension =>  { # ONVIF::Device::Types::Dot11PSKSetExtension
                    },
                  },
                  Dot1X => $some_value, # ReferenceToken
                  Extension =>  { # ONVIF::Device::Types::Dot11SecurityConfigurationExtension
                  },
                },
              },
              Extension =>  { # ONVIF::Device::Types::NetworkInterfaceSetConfigurationExtension2
              },
            },
          },
        },

Look at all those nested hashes. The way Extension shows up multiple times at different levels and they're all different types? Lowkey a serve. Copy it exactly when you use it, don't get creative. πŸ™ˆ


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL. That's the whole author credit, and honestly? Respect.


And that's the page, bestie!! 🫢 This one came to you from perl v5.40.1, dated 2026-02-01, living under the name ONVIF:...erfaces(3pm). Stan a manual page that knows what it is. Go forth and set those network interfaces, mwah πŸ’–βœ¨

πŸ“¦ where this page comes from