def update_subnet_postcommit(self, context): entity_path = 'subnets/' + context.current['id'] resource = context.current.copy() onos_utils.send_msg(self.onos_path, self.onos_auth, 'put', entity_path, {'subnet': resource})
def delete_flow_classifier(self, context): entity_path = 'flow_classifiers/' + context.current['id'] onos_utils.send_msg(self.onos_path, self.onos_auth, 'delete', entity_path)
def send_router_msg(self, msg_type, entity_path, entity): onos_utils.send_msg(self.onos_path, self.onos_auth, msg_type, entity_path, entity)
def create_security_group_rule_postcommit(self, context, ops, res_type, res_id, res): entity_path = 'security-group-rules' onos_utils.send_msg(self.onos_path, self.onos_auth, ops, entity_path, {'security_group_rule': res})
def update_flow_classifier(self, context): entity_path = 'flow_classifiers/' + context.current['id'] resource = context.current.copy() onos_utils.send_msg(self.onos_path, self.onos_auth, 'put', entity_path, {'flow_classifier': resource})
def create_flow_classifier(self, context): entity_path = 'flow_classifiers' resource = context.current.copy() onos_utils.send_msg(self.onos_path, self.onos_auth, 'post', entity_path, {'flow_classifier': resource})
def create_port_pair_group(self, context): entity_path = 'port_pair_groups' resource = context.current.copy() onos_utils.send_msg(self.onos_path, self.onos_auth, 'post', entity_path, {'port_pair_group': resource})
def delete_subnet_postcommit(self, context): entity_path = 'subnets/' + context.current['id'] onos_utils.send_msg(self.onos_path, self.onos_auth, 'delete', entity_path)
def create_subnet_postcommit(self, context): entity_path = 'subnets' resource = context.current.copy() onos_utils.send_msg(self.onos_path, self.onos_auth, 'post', entity_path, {'subnet': resource})
def create_network_postcommit(self, context): entity_path = 'networks' resource = context.current.copy() onos_utils.send_msg(self.onos_path, self.onos_auth, 'post', entity_path, {'network': resource})
def delete_security_group_rule_postcommit(self, context, ops, res_type, res_id, res): entity_path = 'security-group-rules/' + res_id onos_utils.send_msg(self.onos_path, self.onos_auth, ops, entity_path)
def update_port_pair_group(self, context): entity_path = 'port_pair_groups/' + context.current['id'] resource = context.current.copy() onos_utils.send_msg(self.onos_path, self.onos_auth, 'put', entity_path, {'port_pair_group': resource})
def create_port_postcommit(self, context): entity_path = 'ports' resource = context.current.copy() onos_utils.send_msg(self.onos_path, self.onos_auth, 'post', entity_path, {'port': resource})
def delete_port_pair_group(self, context): entity_path = 'port_pair_groups/' + context.current['id'] onos_utils.send_msg(self.onos_path, self.onos_auth, 'delete', entity_path)
def send_floatingip_msg(self, msg_type, entity_path, entity): onos_utils.send_msg(self.onos_path, self.onos_auth, msg_type, entity_path, entity)
def update_security_group_postcommit(self, context, ops, res_type, res_id, res): entity_path = 'security-groups/' + res_id onos_utils.send_msg(self.onos_path, self.onos_auth, ops, entity_path, {'security_group': res})