Sha256: 6b3476291d25a2863ba3b18f5b836f69e94019e544445c3fcb26f0df52f7dd57
Contents?: true
Size: 1.66 KB
Versions: 3
Compression:
Stored size: 1.66 KB
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>clear_interface (Mu::Netconfig)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre><span class="ruby-comment cmt"># File lib/mu/api/netconfig.rb, line 137</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clear_interface</span>(<span class="ruby-identifier">interface</span>) <span class="ruby-identifier">interface</span> = <span class="ruby-identifier">interface</span> <span class="ruby-identifier">json</span> = { <span class="ruby-value str">"v4_addrs"</span>=<span class="ruby-operator">></span>[], <span class="ruby-value str">"v4_mask"</span>=<span class="ruby-operator">></span><span class="ruby-value str">""</span>, <span class="ruby-value str">"v4_dhcp"</span>=<span class="ruby-operator">></span><span class="ruby-keyword kw">false</span>, <span class="ruby-value str">"v6_global_addrs"</span>=<span class="ruby-operator">></span>[], <span class="ruby-value str">"v6_global_mask"</span>=<span class="ruby-operator">></span><span class="ruby-value str">""</span>} <span class="ruby-identifier">modify</span> <span class="ruby-identifier">json</span>,<span class="ruby-node">"interfaces/#{interface}"</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mu-5.7.2.6 | rdoc/classes/Mu/Netconfig.src/M000226.html |
mu-5.7.2.5 | rdoc/classes/Mu/Netconfig.src/M000226.html |
mu-5.7.2.4 | rdoc/classes/Mu/Netconfig.src/M000226.html |