def run(self):
    uuid = self.get_argument('node_uuid')
    node = self.ironic_client.get_node(uuid)
    command = self.get_argument('command')
    if (command == 'add'):
        self.neutron_client.add_decom_port(node)
    elif (command == 'remove'):
        self.neutron_client.remove_decom_port(node)
def run(self):
    uuid = self.get_argument('node_uuid')
    node = self.ironic_client.get_node(uuid)
    command = self.get_argument('command')
    if (command == 'add'):
        self.neutron_client.add_decom_port(node)
    elif (command == 'remove'):
        self.neutron_client.remove_decom_port(node)