</response>
<response status="503" xmlns="http://wadl.dev.java.net/2009/02">
<representation mediaType="application/xml" element="osapi:serviceUnavailable"/>
- <representation mediaType="applicaiton/json"/>
+ <representation mediaType="application/json"/>
</response>
<response status="401" xmlns="http://wadl.dev.java.net/2009/02">
<representation mediaType="application/xml" element="osapi:unauthorized"/>
- <representation mediaType="applicaiton/json"/>
+ <representation mediaType="application/json"/>
</response>
<response status="403" xmlns="http://wadl.dev.java.net/2009/02">
<representation mediaType="application/xml" element="osapi:forbidden"/>
- <representation mediaType="applicaiton/json"/>
+ <representation mediaType="application/json"/>
</response>
<response status="400" xmlns="http://wadl.dev.java.net/2009/02">
<representation mediaType="application/xml" element="osapi:badRequest"/>
- <representation mediaType="applicaiton/json"/>
+ <representation mediaType="application/json"/>
</response>
<response status="405" xmlns="http://wadl.dev.java.net/2009/02">
<representation mediaType="application/xml" element="osapi:badMethod"/>
- <representation mediaType="applicaiton/json"/>
+ <representation mediaType="application/json"/>
</response>
<response status="413" xmlns="http://wadl.dev.java.net/2009/02">
<representation mediaType="application/xml" element="osapi:overLimit"/>
- <representation mediaType="applicaiton/json"/>
+ <representation mediaType="application/json"/>
</response>
'>
<!--
'
<response status="404" xmlns="http://wadl.dev.java.net/2009/02">
<representation mediaType="application/xml" element="osapi:itemNotFound"/>
- <representation mediaType="applicaiton/json"/>
+ <representation mediaType="application/json"/>
</response>
'>
<!--
'
<response status="415" xmlns="http://wadl.dev.java.net/2009/02">
<representation mediaType="application/xml" element="osapi:badMediaType"/>
- <representation mediaType="applicaiton/json"/>
+ <representation mediaType="application/json"/>
</response>
'>
<!--
'
<response status="503" xmlns="http://wadl.dev.java.net/2009/02">
<representation mediaType="application/xml" element="osapi:serverCapacityUnavailable"/>
- <representation mediaType="applicaiton/json"/>
+ <representation mediaType="application/json"/>
</response>
'>
<!--
'
<response status="409" xmlns="http://wadl.dev.java.net/2009/02">
<representation mediaType="application/xml" element="osapi:buildInProgress"/>
- <representation mediaType="applicaiton/json"/>
+ <representation mediaType="application/json"/>
</response>
'>
self._defer_apply = True
def _remove_unused_security_group_info(self):
- """Remove any unnecesary local security group info or unused ipsets.
+ """Remove any unnecessary local security group info or unused ipsets.
This function has to be called after applying the last iptables
rules, so we're in a point where no iptable rule depends
def _determine_sg_rules_to_remove(self, filtered_ports):
"""Calculate which security groups need to be removed.
- We find out by substracting our previous sg group ids,
+ We find out by subtracting our previous sg group ids,
with the security groups associated to a set of ports.
"""
port_group_ids = self._get_sg_ids_set_for_ports(filtered_ports)