Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/cloudstack
/ add_host
Method
add_host
systemvm/debian/opt/cloud/bin/cs/CsDhcp.py:239–240 ·
view source on GitHub ↗
(self, ip, hosts)
Source
from the content-addressed store, hash-verified
237
v[
'gateway'
] = entry[
'default_gateway'
]
238
239
def
add_host(self, ip, hosts):
240
self.hosts[ip] = hosts
241
242
def
del_host(self, ip):
243
if
ip in self.hosts:
Callers
3
configure_server
Method · 0.95
preseed
Method · 0.95
add
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected