# Class VirtualWire

© 2019 Palo Alto Networks, Inc. All rights reserved.

Licensed under SCRIPT SOFTWARE AGREEMENT, Palo Alto Networks, Inc., at https://www.paloaltonetworks.com/legal/script-software-license-1-0.pdf

  VirtualWire uses XmlConvertible, PathableName, ReferenceableObject

Located at network-classes/VirtualWire.php

Methods summary
`public` | # `__construct( mixed $name, mixed $owner )` #### Parameters $name `mixed` $name string $owner `mixed` $owner VirtualWireStore
`public` | # `load_from_domxml( `DOMElement` $xml )` #### Parameters $xml ``DOMElement`` $xml
`public `VirtualSystem[]` &` | # `findConcernedVsys( )` #### Returns ``VirtualSystem[]``
`public boolean` | # `setName( string $name )` return true if change was successful false if not return true if change was successful false if not #### Parameters $name `string` $name new name for the VirtualWire #### Returns `boolean`
`public boolean` | # `setInterface( string $int_num, ethernetInterface $if )` /** return true if change was successful false if not /** return true if change was successful false if not #### Parameters $int_num `string` $int_num name for the VirtualWire interface $if `ethernetInterface` $if interface for the VirtualWire interface #### Returns `boolean`
`public boolean` | # `API_setInterface( `Address` $int_num, mixed $if )` Add a ip to this interface, it must be passed as an object or string Add a ip to this interface, it must be passed as an object or string #### Parameters $int_num ``Address`` $ip Object to be added, or String $if #### Returns `boolean`
`public string &` | # `getXPath( )` #### Returns `string`

Methods used from XmlConvertible
`(), (), (), (), ()`

Methods used from PathableName
`(), (), ()`

Methods used from ReferenceableObject
`(), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ()`

Properties summary
`public `VirtualWireStore`` | $owner | `` | #
`public `InterfaceContainer`` | $attachedInterface1 | `` | #
`public `InterfaceContainer`` | $attachedInterface2 | `` | #
`public static string` | $templatexml | `'<entry name="**temporarynamechangeme**"></entry>'` | #

Properties used from XmlConvertible
`$xmlroot`

Properties used from ReferenceableObject
`$name, $refcomphash, $refrules`

Magic properties used from PathableName
`$name, $owner`